================================================================================================ Extract components ================================================================================================ Java HotSpot(TM) 64-Bit Server VM 1.8.0_202-b08 on Mac OS X 10.14.3 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz cast to timestamp: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative ------------------------------------------------------------------------------------------------ cast to timestamp wholestage off 275 / 287 36.4 27.5 1.0X cast to timestamp wholestage on 243 / 253 41.2 24.3 1.1X Java HotSpot(TM) 64-Bit Server VM 1.8.0_202-b08 on Mac OS X 10.14.3 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz year of timestamp: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative ------------------------------------------------------------------------------------------------ year of timestamp wholestage off 661 / 667 15.1 66.1 1.0X year of timestamp wholestage on 659 / 669 15.2 65.9 1.0X Java HotSpot(TM) 64-Bit Server VM 1.8.0_202-b08 on Mac OS X 10.14.3 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz quarter of timestamp: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative ------------------------------------------------------------------------------------------------ quarter of timestamp wholestage off 820 / 822 12.2 82.0 1.0X quarter of timestamp wholestage on 768 / 776 13.0 76.8 1.1X Java HotSpot(TM) 64-Bit Server VM 1.8.0_202-b08 on Mac OS X 10.14.3 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz month of timestamp: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative ------------------------------------------------------------------------------------------------ month of timestamp wholestage off 636 / 638 15.7 63.6 1.0X month of timestamp wholestage on 648 / 654 15.4 64.8 1.0X Java HotSpot(TM) 64-Bit Server VM 1.8.0_202-b08 on Mac OS X 10.14.3 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz weekofyear of timestamp: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative ------------------------------------------------------------------------------------------------ weekofyear of timestamp wholestage off 1093 / 1097 9.2 109.3 1.0X weekofyear of timestamp wholestage on 1101 / 1107 9.1 110.1 1.0X Java HotSpot(TM) 64-Bit Server VM 1.8.0_202-b08 on Mac OS X 10.14.3 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz day of timestamp: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative ------------------------------------------------------------------------------------------------ day of timestamp wholestage off 643 / 644 15.6 64.3 1.0X day of timestamp wholestage on 655 / 657 15.3 65.5 1.0X Java HotSpot(TM) 64-Bit Server VM 1.8.0_202-b08 on Mac OS X 10.14.3 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz dayofyear of timestamp: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative ------------------------------------------------------------------------------------------------ dayofyear of timestamp wholestage off 681 / 692 14.7 68.1 1.0X dayofyear of timestamp wholestage on 675 / 680 14.8 67.5 1.0X Java HotSpot(TM) 64-Bit Server VM 1.8.0_202-b08 on Mac OS X 10.14.3 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz dayofmonth of timestamp: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative ------------------------------------------------------------------------------------------------ dayofmonth of timestamp wholestage off 656 / 657 15.2 65.6 1.0X dayofmonth of timestamp wholestage on 651 / 658 15.4 65.1 1.0X Java HotSpot(TM) 64-Bit Server VM 1.8.0_202-b08 on Mac OS X 10.14.3 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz dayofweek of timestamp: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative ------------------------------------------------------------------------------------------------ dayofweek of timestamp wholestage off 775 / 776 12.9 77.5 1.0X dayofweek of timestamp wholestage on 777 / 781 12.9 77.7 1.0X Java HotSpot(TM) 64-Bit Server VM 1.8.0_202-b08 on Mac OS X 10.14.3 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz weekday of timestamp: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative ------------------------------------------------------------------------------------------------ weekday of timestamp wholestage off 737 / 737 13.6 73.7 1.0X weekday of timestamp wholestage on 737 / 739 13.6 73.7 1.0X Java HotSpot(TM) 64-Bit Server VM 1.8.0_202-b08 on Mac OS X 10.14.3 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz hour of timestamp: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative ------------------------------------------------------------------------------------------------ hour of timestamp wholestage off 425 / 426 23.5 42.5 1.0X hour of timestamp wholestage on 430 / 434 23.2 43.0 1.0X Java HotSpot(TM) 64-Bit Server VM 1.8.0_202-b08 on Mac OS X 10.14.3 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz minute of timestamp: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative ------------------------------------------------------------------------------------------------ minute of timestamp wholestage off 430 / 439 23.3 43.0 1.0X minute of timestamp wholestage on 436 / 438 23.0 43.6 1.0X Java HotSpot(TM) 64-Bit Server VM 1.8.0_202-b08 on Mac OS X 10.14.3 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz second of timestamp: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative ------------------------------------------------------------------------------------------------ second of timestamp wholestage off 413 / 413 24.2 41.3 1.0X second of timestamp wholestage on 413 / 425 24.2 41.3 1.0X ================================================================================================ Current date and time ================================================================================================ Java HotSpot(TM) 64-Bit Server VM 1.8.0_202-b08 on Mac OS X 10.14.3 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz current_date: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative ------------------------------------------------------------------------------------------------ current_date wholestage off 205 / 206 48.7 20.5 1.0X current_date wholestage on 219 / 224 45.8 21.9 0.9X Java HotSpot(TM) 64-Bit Server VM 1.8.0_202-b08 on Mac OS X 10.14.3 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz current_timestamp: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative ------------------------------------------------------------------------------------------------ current_timestamp wholestage off 212 / 213 47.3 21.2 1.0X current_timestamp wholestage on 202 / 205 49.6 20.2 1.0X ================================================================================================ Date arithmetic ================================================================================================ Java HotSpot(TM) 64-Bit Server VM 1.8.0_202-b08 on Mac OS X 10.14.3 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz cast to date: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative ------------------------------------------------------------------------------------------------ cast to date wholestage off 459 / 462 21.8 45.9 1.0X cast to date wholestage on 493 / 500 20.3 49.3 0.9X Java HotSpot(TM) 64-Bit Server VM 1.8.0_202-b08 on Mac OS X 10.14.3 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz last_day: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative ------------------------------------------------------------------------------------------------ last_day wholestage off 680 / 686 14.7 68.0 1.0X last_day wholestage on 671 / 681 14.9 67.1 1.0X Java HotSpot(TM) 64-Bit Server VM 1.8.0_202-b08 on Mac OS X 10.14.3 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz next_day: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative ------------------------------------------------------------------------------------------------ next_day wholestage off 532 / 533 18.8 53.2 1.0X next_day wholestage on 576 / 580 17.4 57.6 0.9X Java HotSpot(TM) 64-Bit Server VM 1.8.0_202-b08 on Mac OS X 10.14.3 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz date_add: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative ------------------------------------------------------------------------------------------------ date_add wholestage off 445 / 446 22.5 44.5 1.0X date_add wholestage on 455 / 457 22.0 45.5 1.0X Java HotSpot(TM) 64-Bit Server VM 1.8.0_202-b08 on Mac OS X 10.14.3 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz date_sub: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative ------------------------------------------------------------------------------------------------ date_sub wholestage off 454 / 457 22.0 45.4 1.0X date_sub wholestage on 455 / 458 22.0 45.5 1.0X Java HotSpot(TM) 64-Bit Server VM 1.8.0_202-b08 on Mac OS X 10.14.3 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz add_months: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative ------------------------------------------------------------------------------------------------ add_months wholestage off 898 / 900 11.1 89.8 1.0X add_months wholestage on 894 / 909 11.2 89.4 1.0X ================================================================================================ Formatting dates ================================================================================================ Java HotSpot(TM) 64-Bit Server VM 1.8.0_202-b08 on Mac OS X 10.14.3 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz format date: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative ------------------------------------------------------------------------------------------------ format date wholestage off 7180 / 7181 1.4 718.0 1.0X format date wholestage on 7051 / 7194 1.4 705.1 1.0X ================================================================================================ Formatting timestamps ================================================================================================ Java HotSpot(TM) 64-Bit Server VM 1.8.0_202-b08 on Mac OS X 10.14.3 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz from_unixtime: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative ------------------------------------------------------------------------------------------------ from_unixtime wholestage off 7136 / 7163 1.4 713.6 1.0X from_unixtime wholestage on 7144 / 7174 1.4 714.4 1.0X ================================================================================================ Convert timestamps ================================================================================================ Java HotSpot(TM) 64-Bit Server VM 1.8.0_202-b08 on Mac OS X 10.14.3 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz from_utc_timestamp: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative ------------------------------------------------------------------------------------------------ from_utc_timestamp wholestage off 880 / 888 11.4 88.0 1.0X from_utc_timestamp wholestage on 841 / 854 11.9 84.1 1.0X Java HotSpot(TM) 64-Bit Server VM 1.8.0_202-b08 on Mac OS X 10.14.3 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz to_utc_timestamp: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative ------------------------------------------------------------------------------------------------ to_utc_timestamp wholestage off 879 / 884 11.4 87.9 1.0X to_utc_timestamp wholestage on 862 / 876 11.6 86.2 1.0X ================================================================================================ Intervals ================================================================================================ Java HotSpot(TM) 64-Bit Server VM 1.8.0_202-b08 on Mac OS X 10.14.3 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz cast interval: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative ------------------------------------------------------------------------------------------------ cast interval wholestage off 242 / 250 41.3 24.2 1.0X cast interval wholestage on 221 / 223 45.3 22.1 1.1X Java HotSpot(TM) 64-Bit Server VM 1.8.0_202-b08 on Mac OS X 10.14.3 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz datediff: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative ------------------------------------------------------------------------------------------------ datediff wholestage off 697 / 698 14.3 69.7 1.0X datediff wholestage on 680 / 683 14.7 68.0 1.0X Java HotSpot(TM) 64-Bit Server VM 1.8.0_202-b08 on Mac OS X 10.14.3 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz months_between: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative ------------------------------------------------------------------------------------------------ months_between wholestage off 1675 / 1677 6.0 167.5 1.0X months_between wholestage on 1636 / 1649 6.1 163.6 1.0X Java HotSpot(TM) 64-Bit Server VM 1.8.0_202-b08 on Mac OS X 10.14.3 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz window: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative ------------------------------------------------------------------------------------------------ window wholestage off 1600 / 1627 0.6 1599.7 1.0X window wholestage on 19480 / 19530 0.1 19479.6 0.1X ================================================================================================ Truncation ================================================================================================ Java HotSpot(TM) 64-Bit Server VM 1.8.0_202-b08 on Mac OS X 10.14.3 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz date_trunc YEAR: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative ------------------------------------------------------------------------------------------------ date_trunc YEAR wholestage off 863 / 864 11.6 86.3 1.0X date_trunc YEAR wholestage on 812 / 814 12.3 81.2 1.1X Java HotSpot(TM) 64-Bit Server VM 1.8.0_202-b08 on Mac OS X 10.14.3 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz date_trunc YYYY: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative ------------------------------------------------------------------------------------------------ date_trunc YYYY wholestage off 865 / 926 11.6 86.5 1.0X date_trunc YYYY wholestage on 811 / 820 12.3 81.1 1.1X Java HotSpot(TM) 64-Bit Server VM 1.8.0_202-b08 on Mac OS X 10.14.3 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz date_trunc YY: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative ------------------------------------------------------------------------------------------------ date_trunc YY wholestage off 863 / 867 11.6 86.3 1.0X date_trunc YY wholestage on 810 / 822 12.3 81.0 1.1X Java HotSpot(TM) 64-Bit Server VM 1.8.0_202-b08 on Mac OS X 10.14.3 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz date_trunc MON: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative ------------------------------------------------------------------------------------------------ date_trunc MON wholestage off 917 / 921 10.9 91.7 1.0X date_trunc MON wholestage on 857 / 860 11.7 85.7 1.1X Java HotSpot(TM) 64-Bit Server VM 1.8.0_202-b08 on Mac OS X 10.14.3 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz date_trunc MONTH: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative ------------------------------------------------------------------------------------------------ date_trunc MONTH wholestage off 919 / 919 10.9 91.9 1.0X date_trunc MONTH wholestage on 862 / 863 11.6 86.2 1.1X Java HotSpot(TM) 64-Bit Server VM 1.8.0_202-b08 on Mac OS X 10.14.3 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz date_trunc MM: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative ------------------------------------------------------------------------------------------------ date_trunc MM wholestage off 923 / 924 10.8 92.3 1.0X date_trunc MM wholestage on 855 / 859 11.7 85.5 1.1X Java HotSpot(TM) 64-Bit Server VM 1.8.0_202-b08 on Mac OS X 10.14.3 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz date_trunc DAY: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative ------------------------------------------------------------------------------------------------ date_trunc DAY wholestage off 444 / 444 22.5 44.4 1.0X date_trunc DAY wholestage on 404 / 406 24.7 40.4 1.1X Java HotSpot(TM) 64-Bit Server VM 1.8.0_202-b08 on Mac OS X 10.14.3 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz date_trunc DD: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative ------------------------------------------------------------------------------------------------ date_trunc DD wholestage off 445 / 446 22.5 44.5 1.0X date_trunc DD wholestage on 404 / 406 24.7 40.4 1.1X Java HotSpot(TM) 64-Bit Server VM 1.8.0_202-b08 on Mac OS X 10.14.3 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz date_trunc HOUR: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative ------------------------------------------------------------------------------------------------ date_trunc HOUR wholestage off 462 / 464 21.6 46.2 1.0X date_trunc HOUR wholestage on 416 / 422 24.1 41.6 1.1X Java HotSpot(TM) 64-Bit Server VM 1.8.0_202-b08 on Mac OS X 10.14.3 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz date_trunc MINUTE: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative ------------------------------------------------------------------------------------------------ date_trunc MINUTE wholestage off 294 / 294 34.0 29.4 1.0X date_trunc MINUTE wholestage on 258 / 266 38.8 25.8 1.1X Java HotSpot(TM) 64-Bit Server VM 1.8.0_202-b08 on Mac OS X 10.14.3 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz date_trunc SECOND: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative ------------------------------------------------------------------------------------------------ date_trunc SECOND wholestage off 292 / 295 34.2 29.2 1.0X date_trunc SECOND wholestage on 271 / 276 36.9 27.1 1.1X Java HotSpot(TM) 64-Bit Server VM 1.8.0_202-b08 on Mac OS X 10.14.3 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz date_trunc WEEK: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative ------------------------------------------------------------------------------------------------ date_trunc WEEK wholestage off 739 / 740 13.5 73.9 1.0X date_trunc WEEK wholestage on 712 / 715 14.0 71.2 1.0X Java HotSpot(TM) 64-Bit Server VM 1.8.0_202-b08 on Mac OS X 10.14.3 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz date_trunc QUARTER: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative ------------------------------------------------------------------------------------------------ date_trunc QUARTER wholestage off 1465 / 1467 6.8 146.5 1.0X date_trunc QUARTER wholestage on 1419 / 1423 7.0 141.9 1.0X Java HotSpot(TM) 64-Bit Server VM 1.8.0_202-b08 on Mac OS X 10.14.3 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz trunc year: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative ------------------------------------------------------------------------------------------------ trunc year wholestage off 222 / 222 45.0 22.2 1.0X trunc year wholestage on 207 / 214 48.3 20.7 1.1X Java HotSpot(TM) 64-Bit Server VM 1.8.0_202-b08 on Mac OS X 10.14.3 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz trunc yyyy: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative ------------------------------------------------------------------------------------------------ trunc yyyy wholestage off 221 / 225 45.2 22.1 1.0X trunc yyyy wholestage on 208 / 212 48.0 20.8 1.1X Java HotSpot(TM) 64-Bit Server VM 1.8.0_202-b08 on Mac OS X 10.14.3 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz trunc yy: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative ------------------------------------------------------------------------------------------------ trunc yy wholestage off 221 / 222 45.3 22.1 1.0X trunc yy wholestage on 208 / 210 48.0 20.8 1.1X Java HotSpot(TM) 64-Bit Server VM 1.8.0_202-b08 on Mac OS X 10.14.3 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz trunc mon: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative ------------------------------------------------------------------------------------------------ trunc mon wholestage off 231 / 239 43.3 23.1 1.0X trunc mon wholestage on 208 / 214 48.0 20.8 1.1X Java HotSpot(TM) 64-Bit Server VM 1.8.0_202-b08 on Mac OS X 10.14.3 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz trunc month: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative ------------------------------------------------------------------------------------------------ trunc month wholestage off 222 / 222 45.1 22.2 1.0X trunc month wholestage on 208 / 224 48.1 20.8 1.1X Java HotSpot(TM) 64-Bit Server VM 1.8.0_202-b08 on Mac OS X 10.14.3 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz trunc mm: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative ------------------------------------------------------------------------------------------------ trunc mm wholestage off 222 / 226 45.1 22.2 1.0X trunc mm wholestage on 208 / 216 48.0 20.8 1.1X ================================================================================================ Parsing ================================================================================================ Java HotSpot(TM) 64-Bit Server VM 1.8.0_202-b08 on Mac OS X 10.14.3 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz to timestamp str: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative ------------------------------------------------------------------------------------------------ to timestamp str wholestage off 165 / 166 6.1 164.7 1.0X to timestamp str wholestage on 160 / 163 6.2 160.5 1.0X Java HotSpot(TM) 64-Bit Server VM 1.8.0_202-b08 on Mac OS X 10.14.4 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz to_timestamp: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative ------------------------------------------------------------------------------------------------------------------------ to_timestamp wholestage off 1308 1353 64 0.8 1307.9 1.0X to_timestamp wholestage on 1197 1230 21 0.8 1197.0 1.1X Java HotSpot(TM) 64-Bit Server VM 1.8.0_202-b08 on Mac OS X 10.14.4 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz to_unix_timestamp: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative ------------------------------------------------------------------------------------------------------------------------ to_unix_timestamp wholestage off 1221 1224 4 0.8 1221.0 1.0X to_unix_timestamp wholestage on 1224 1228 4 0.8 1223.8 1.0X Java HotSpot(TM) 64-Bit Server VM 1.8.0_202-b08 on Mac OS X 10.14.3 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz to date str: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative ------------------------------------------------------------------------------------------------ to date str wholestage off 155 / 157 6.4 155.4 1.0X to date str wholestage on 154 / 156 6.5 154.3 1.0X Java HotSpot(TM) 64-Bit Server VM 1.8.0_202-b08 on Mac OS X 10.14.3 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz to_date: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative ------------------------------------------------------------------------------------------------ to_date wholestage off 1477 / 1479 0.7 1477.3 1.0X to_date wholestage on 1468 / 1473 0.7 1468.2 1.0X Java HotSpot(TM) 64-Bit Server VM 1.8.0_202-b08 on Mac OS X 10.14.4 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz To/from java.sql.Timestamp: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative ------------------------------------------------------------------------------------------------------------------------ From java.sql.Timestamp 283 301 19 17.7 56.6 1.0X Collect longs 1048 1087 36 4.8 209.6 0.3X Collect timestamps 1425 1479 56 3.5 285.1 0.2X