-
Notifications
You must be signed in to change notification settings - Fork 28k
/
XORShiftRandomBenchmark-jdk21-results.txt
44 lines (35 loc) · 3.13 KB
/
XORShiftRandomBenchmark-jdk21-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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
================================================================================================
Pseudo random
================================================================================================
OpenJDK 64-Bit Server VM 21.0.3+9-LTS on Linux 6.5.0-1018-azure
AMD EPYC 7763 64-Core Processor
nextInt: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
------------------------------------------------------------------------------------------------------------------------
java.util.Random 451 451 0 221.9 4.5 1.0X
XORShiftRandom 185 185 0 539.4 1.9 2.4X
OpenJDK 64-Bit Server VM 21.0.3+9-LTS on Linux 6.5.0-1018-azure
AMD EPYC 7763 64-Core Processor
nextLong: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
------------------------------------------------------------------------------------------------------------------------
java.util.Random 894 899 7 111.8 8.9 1.0X
XORShiftRandom 371 372 2 269.4 3.7 2.4X
OpenJDK 64-Bit Server VM 21.0.3+9-LTS on Linux 6.5.0-1018-azure
AMD EPYC 7763 64-Core Processor
nextDouble: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
------------------------------------------------------------------------------------------------------------------------
java.util.Random 900 900 0 111.1 9.0 1.0X
XORShiftRandom 371 371 0 269.6 3.7 2.4X
OpenJDK 64-Bit Server VM 21.0.3+9-LTS on Linux 6.5.0-1018-azure
AMD EPYC 7763 64-Core Processor
nextGaussian: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
------------------------------------------------------------------------------------------------------------------------
java.util.Random 3373 3374 2 29.7 33.7 1.0X
XORShiftRandom 2454 2460 11 40.8 24.5 1.4X
================================================================================================
hash seed
================================================================================================
OpenJDK 64-Bit Server VM 21.0.3+9-LTS on Linux 6.5.0-1018-azure
AMD EPYC 7763 64-Core Processor
Hash seed: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
------------------------------------------------------------------------------------------------------------------------
XORShiftRandom.hashSeed 1 1 0 12974.9 0.1 1.0X