/
KryoBenchmark-jdk17-results.txt
28 lines (25 loc) · 2.76 KB
/
KryoBenchmark-jdk17-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 17.0.6+10 on Linux 5.15.0-1036-azure
Intel(R) Xeon(R) Platinum 8272CL CPU @ 2.60GHz
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 268 270 2 3.7 267.8 1.0X
basicTypes: Long with unsafe:true 292 294 2 3.4 291.6 0.9X
basicTypes: Float with unsafe:true 290 294 3 3.5 289.7 0.9X
basicTypes: Double with unsafe:true 297 300 2 3.4 297.1 0.9X
Array: Int with unsafe:true 3 3 0 365.5 2.7 97.9X
Array: Long with unsafe:true 4 5 0 242.5 4.1 64.9X
Array: Float with unsafe:true 3 3 0 364.5 2.7 97.6X
Array: Double with unsafe:true 4 5 0 238.0 4.2 63.7X
Map of string->Double with unsafe:true 37 38 1 26.9 37.2 7.2X
basicTypes: Int with unsafe:false 304 306 1 3.3 304.4 0.9X
basicTypes: Long with unsafe:false 332 335 2 3.0 332.4 0.8X
basicTypes: Float with unsafe:false 301 305 3 3.3 301.0 0.9X
basicTypes: Double with unsafe:false 308 310 2 3.2 308.2 0.9X
Array: Int with unsafe:false 20 21 0 49.7 20.1 13.3X
Array: Long with unsafe:false 31 31 1 32.2 31.1 8.6X
Array: Float with unsafe:false 8 8 0 122.6 8.2 32.8X
Array: Double with unsafe:false 13 14 0 74.5 13.4 20.0X
Map of string->Double with unsafe:false 39 39 1 25.8 38.8 6.9X