Skip to content

Commit

Permalink
Use more correct seed for benchmark.
Browse files Browse the repository at this point in the history
  • Loading branch information
sunoru committed Aug 29, 2016
1 parent 4e19d1b commit fe244e0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion benchmark/pcg_rxs_m_xs_64_64.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ include("common.jl")

using RNG.PCG

r = PCGStateSetseq(UInt64, PCG_RXS_M_XS, (123, 456))
r = PCGStateSetseq(UInt64, PCG_RXS_M_XS, (0x018cd83e277674ac, 0x436cd6f2434be066))

test_all(r, 100_000_000)
3 changes: 2 additions & 1 deletion benchmark/pcg_xsh_rs_128_64.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ include("common.jl")

using RNG.PCG

r = PCGStateSetseq(UInt64, PCG_XSH_RS, (123, 456))
r = PCGStateSetseq(UInt64, PCG_XSH_RS,
(0x4e17a5abd5d47402ce332459f69eacfd, 0x96856028d0dc791c176537f21a77ab67))

test_all(r, 100_000_000)
2 changes: 1 addition & 1 deletion benchmark/pcg_xsh_rs_64_32.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ include("common.jl")

using RNG.PCG

r = PCGStateSetseq(UInt64, PCG_XSH_RS, 123 % UInt64, 456 % UInt64)
r = PCGStateSetseq(UInt64, PCG_XSH_RS, (0x018cd83e277674ac, 0x436cd6f2434be066))

test_all(r, 100_000_000)
4 changes: 2 additions & 2 deletions docs/src/man/benchmark.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ and detailed in the table (sorted by speed):
|ARS1x128|17.081|04:13:27.54|55 SampleCorr, k = 1 p-value = 7.0e-4|
|BaseMT19937|1.971|03:18:23.47| |
|MT19937|4.229|03:32:59.06|36 Gap, r = 0 p-value = eps<br>80LinearComp, r = 0 p-value = 1-eps1<br>81 LinearComp, r = 29 p-value = 1-eps1|
|PCG\_RXS\_M\_XS\_64\_64|1.522|03:23:44.44|21 BirthdaySpacings, t = 16 0.9994|
|PCG\_XSH\_RS\_128\_64`|3.373|03:40:54.73|73 GCD 8.4e-4|
|PCG\_RXS\_M\_XS\_64\_64|1.522|03:20:07.97| |
|PCG\_XSH\_RS\_128\_64`|3.373|03:24:57.54|54 SampleMean, r = 10 0.9991|
|Philox2x64|5.737|03:28:52.27|35 Gap, r = 25 3.4e-4|
|Threefry2x64|5.965|03:37:53.53| |
|Xoroshiro128Plus|1.393|03:33:16.51| |
Expand Down

0 comments on commit fe244e0

Please sign in to comment.