/
KryoBenchmark-jdk11-results.txt
28 lines (25 loc) · 2.76 KB
/
KryoBenchmark-jdk11-results.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
================================================================================================
Benchmark Kryo Unsafe vs safe Serialization
================================================================================================
OpenJDK 64-Bit Server VM 11.0.18+10 on Linux 5.15.0-1036-azure
Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz
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 272 2 3.7 269.0 1.0X
basicTypes: Long with unsafe:true 296 301 9 3.4 295.8 0.9X
basicTypes: Float with unsafe:true 300 301 1 3.3 299.6 0.9X
basicTypes: Double with unsafe:true 291 292 1 3.4 291.3 0.9X
Array: Int with unsafe:true 3 3 0 325.9 3.1 87.7X
Array: Long with unsafe:true 5 5 0 216.1 4.6 58.1X
Array: Float with unsafe:true 3 3 0 319.8 3.1 86.0X
Array: Double with unsafe:true 5 5 0 219.1 4.6 58.9X
Map of string->Double with unsafe:true 38 38 0 26.2 38.1 7.1X
basicTypes: Int with unsafe:false 314 319 9 3.2 313.8 0.9X
basicTypes: Long with unsafe:false 335 337 1 3.0 335.4 0.8X
basicTypes: Float with unsafe:false 309 310 1 3.2 309.2 0.9X
basicTypes: Double with unsafe:false 320 323 2 3.1 320.0 0.8X
Array: Int with unsafe:false 18 19 0 54.2 18.4 14.6X
Array: Long with unsafe:false 30 30 1 33.8 29.5 9.1X
Array: Float with unsafe:false 8 8 0 126.0 7.9 33.9X
Array: Double with unsafe:false 14 14 0 72.5 13.8 19.5X
Map of string->Double with unsafe:false 40 40 1 24.9 40.1 6.7X