Skip to content

Commit f1fde0c

Browse files
MaxGekkcloud-fan
authored andcommitted
[SPARK-31490][SQL][TESTS] Benchmark conversions to/from Java 8 datetime types
### What changes were proposed in this pull request? - Add benchmark cases for **parallelizing** `java.time.LocalDate` and `java.time.Instant` column values. - Add benchmark cases for **collecting** `java.time.LocalDate` and `java.time.Instant` column values. ### Why are the changes needed? - To detect perf regression in the future - To compare parallelization/collection of Java 8 date-time types with Java 7 date-time types `java.sql.Date` & `java.sql.Timestamp`. ### Does this PR introduce any user-facing change? No ### How was this patch tested? By running the modified benchmarks in the environment: | Item | Description | | ---- | ----| | Region | us-west-2 (Oregon) | | Instance | r3.xlarge | | AMI | ubuntu/images/hvm-ssd/ubuntu-bionic-18.04-amd64-server-20190722.1 (ami-06f2f779464715dc5) | | Java | OpenJDK 64-Bit Server VM 1.8.0_242 and OpenJDK 64-Bit Server VM 11.0.6+10 | Closes #28263 from MaxGekk/java8-datetime-collect-benchmark. Authored-by: Max Gekk <[email protected]> Signed-off-by: Wenchen Fan <[email protected]>
1 parent 88d39e5 commit f1fde0c

File tree

3 files changed

+259
-237
lines changed

3 files changed

+259
-237
lines changed

0 commit comments

Comments
 (0)