spark-instrumented-optimizer/core/benchmarks/KryoBenchmark-results.txt
Dongjoon Hyun 989b0c773f [SPARK-29297][TESTS] Compare core/mllib module benchmarks in JDK8/11
### What changes were proposed in this pull request?

This PR regenerate the benchmark results in `core` and `mllib` module in order to compare JDK8/JDK11 result.

### Why are the changes needed?

According to the result, For `PropertiesCloneBenchmark` and `UDTSerializationBenchmark`, JDK11 is slightly faster. In general, there is no regression in JDK11.

### Does this PR introduce any user-facing change?

No.

### How was this patch tested?

This is a test-only PR. Manually run the benchmark.

Closes #25969 from dongjoon-hyun/SPARK-29297.

Authored-by: Dongjoon Hyun <dhyun@apple.com>
Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
2019-09-29 21:43:58 -07:00

29 lines
2.7 KiB
Plaintext

================================================================================================
Benchmark Kryo Unsafe vs safe Serialization
================================================================================================
OpenJDK 64-Bit Server VM 1.8.0_222-b10 on Linux 3.10.0-862.3.2.el7.x86_64
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
Benchmark Kryo Unsafe vs safe Serialization: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
------------------------------------------------------------------------------------------------------------------------
basicTypes: Int with unsafe:true 269 290 23 3.7 269.0 1.0X
basicTypes: Long with unsafe:true 294 295 1 3.4 293.8 0.9X
basicTypes: Float with unsafe:true 300 301 1 3.3 300.4 0.9X
basicTypes: Double with unsafe:true 304 305 1 3.3 304.0 0.9X
Array: Int with unsafe:true 5 6 1 193.5 5.2 52.0X
Array: Long with unsafe:true 8 9 1 131.2 7.6 35.3X
Array: Float with unsafe:true 6 6 0 163.5 6.1 44.0X
Array: Double with unsafe:true 9 10 0 108.8 9.2 29.3X
Map of string->Double with unsafe:true 54 54 1 18.7 53.6 5.0X
basicTypes: Int with unsafe:false 326 327 1 3.1 326.2 0.8X
basicTypes: Long with unsafe:false 353 354 1 2.8 353.3 0.8X
basicTypes: Float with unsafe:false 325 327 1 3.1 325.1 0.8X
basicTypes: Double with unsafe:false 335 336 1 3.0 335.0 0.8X
Array: Int with unsafe:false 27 28 1 36.7 27.2 9.9X
Array: Long with unsafe:false 40 41 1 25.0 40.0 6.7X
Array: Float with unsafe:false 12 13 1 80.8 12.4 21.7X
Array: Double with unsafe:false 21 21 1 48.6 20.6 13.1X
Map of string->Double with unsafe:false 56 57 1 17.8 56.1 4.8X