Skip to content

Conversation

@Jan-Frase
Copy link
Owner

No description provided.

@Jan-Frase Jan-Frase linked an issue Oct 12, 2025 that may be closed by this pull request
@Jan-Frase
Copy link
Owner Author

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/main.rs (target/release/deps/Mouse-7bc9c0b43172c6b4)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running benches/criterion_perft.rs (target/release/deps/criterion_perft-b6a3841c7b9f1fec)
Gnuplot not found, using plotters backend
Benchmarking starting pos, depth: 3/starting pos, depth: 3: Collecting 100 samples in estimated 5.8599 s (10k istarting pos, depth: 3/starting pos, depth: 3
                        time:   [582.23 µs 586.67 µs 591.82 µs]
                        thrpt:  [15.042 Melem/s 15.174 Melem/s 15.289 Melem/s]
                 change:
                        time:   [−58.767% −57.992% −57.235%] (p = 0.00 < 0.05)
                        thrpt:  [+133.84% +138.05% +142.53%]
                        Performance has improved.
Found 8 outliers among 100 measurements (8.00%)
  2 (2.00%) high mild
  6 (6.00%) high severe

Benchmarking position 2, depth: 3/position 2, depth: 3: Collecting 100 samples in estimated 5.3130 s (900 iteraposition 2, depth: 3/position 2, depth: 3
                        time:   [5.7671 ms 5.7896 ms 5.8139 ms]
                        thrpt:  [16.832 Melem/s 16.903 Melem/s 16.969 Melem/s]
                 change:
                        time:   [−60.001% −59.651% −59.339%] (p = 0.00 < 0.05)
                        thrpt:  [+145.93% +147.84% +150.01%]
                        Performance has improved.
Found 12 outliers among 100 measurements (12.00%)
  7 (7.00%) high mild
  5 (5.00%) high severe

Benchmarking position 3, depth: 4/position 3, depth: 4: Collecting 100 samples in estimated 5.1620 s (1700 iterposition 3, depth: 4/position 3, depth: 4
                        time:   [3.0010 ms 3.0227 ms 3.0518 ms]
                        thrpt:  [14.168 Melem/s 14.305 Melem/s 14.408 Melem/s]
                 change:
                        time:   [−65.286% −64.815% −64.331%] (p = 0.00 < 0.05)
                        thrpt:  [+180.35% +184.21% +188.07%]
                        Performance has improved.
Found 12 outliers among 100 measurements (12.00%)
  7 (7.00%) high mild
  5 (5.00%) high severe

Benchmarking position 4, depth: 3/position 4, depth: 3: Collecting 100 samples in estimated 6.0540 s (10k iteraposition 4, depth: 3/position 4, depth: 3
                        time:   [590.64 µs 593.70 µs 597.41 µs]
                        thrpt:  [15.847 Melem/s 15.946 Melem/s 16.028 Melem/s]
                 change:
                        time:   [−56.063% −55.337% −54.482%] (p = 0.00 < 0.05)
                        thrpt:  [+119.69% +123.90% +127.60%]
                        Performance has improved.
Found 11 outliers among 100 measurements (11.00%)
  3 (3.00%) high mild
  8 (8.00%) high severe

Benchmarking position 5, depth: 3/position 5, depth: 3: Collecting 100 samples in estimated 5.2592 s (1400 iterposition 5, depth: 3/position 5, depth: 3
                        time:   [3.7201 ms 3.7379 ms 3.7583 ms]
                        thrpt:  [16.598 Melem/s 16.688 Melem/s 16.768 Melem/s]
                 change:
                        time:   [−63.152% −62.885% −62.609%] (p = 0.00 < 0.05)
                        thrpt:  [+167.44% +169.43% +171.38%]
                        Performance has improved.
Found 11 outliers among 100 measurements (11.00%)
  1 (1.00%) high mild
  10 (10.00%) high severe

Benchmarking position 6, depth: 3/position 6, depth: 3: Collecting 100 samples in estimated 5.0665 s (1000 iterposition 6, depth: 3/position 6, depth: 3
                        time:   [5.0220 ms 5.0745 ms 5.1397 ms]
                        thrpt:  [17.489 Melem/s 17.714 Melem/s 17.899 Melem/s]
                 change:
                        time:   [−54.823% −54.214% −53.613%] (p = 0.00 < 0.05)
                        thrpt:  [+115.58% +118.41% +121.35%]
                        Performance has improved.
Found 12 outliers among 100 measurements (12.00%)
  3 (3.00%) high mild
  9 (9.00%) high severe

Benchmarking General make unmake/General make unmake: Collecting 100 samples in estimated 5.0015 s (6.2M iteratGeneral make unmake/General make unmake
                        time:   [802.53 ns 805.92 ns 810.20 ns]
                        thrpt:  [59.245 Melem/s 59.559 Melem/s 59.811 Melem/s]
                 change:
                        time:   [−0.6531% −0.2016% +0.1878%] (p = 0.37 > 0.05)
                        thrpt:  [−0.1874% +0.2020% +0.6574%]
                        No change in performance detected.
Found 8 outliers among 100 measurements (8.00%)
  1 (1.00%) high mild
  7 (7.00%) high severe

Move gen/Move gen       time:   [1.1262 µs 1.1317 µs 1.1383 µs]
                        thrpt:  [42.168 Melem/s 42.415 Melem/s 42.620 Melem/s]
                 change:
                        time:   [−32.382% −31.018% −29.526%] (p = 0.00 < 0.05)
                        thrpt:  [+41.897% +44.965% +47.889%]
                        Performance has improved.
Found 15 outliers among 100 measurements (15.00%)
  1 (1.00%) low mild
  4 (4.00%) high mild
  10 (10.00%) high severe

     Running benches/iai_perft.rs (target/release/deps/iai_perft-e7acfa1cdcbb5816)
starting_perft
  Instructions:             7411278 (-57.70228%)
  L1 Accesses:             10530294 (-55.24242%)
  L2 Accesses:                  767 (+266.9856%)
  RAM Accesses:                 880 (+36.01236%)
  Estimated Cycles:        10564929 (-55.14037%)

position_2_perft
  Instructions:            65555713 (-61.76719%)
  L1 Accesses:             93588420 (-58.95581%)
  L2 Accesses:                 1183 (+576.0000%)
  RAM Accesses:                1283 (+75.75342%)
  Estimated Cycles:        93639240 (-58.93828%)

position_3_perft
  Instructions:            35805558 (-62.01868%)
  L1 Accesses:             51225648 (-58.62048%)
  L2 Accesses:                 2579 (+1264.550%)
  RAM Accesses:                1090 (+83.19328%)
  Estimated Cycles:        51276693 (-58.58653%)

position_4_perft
  Instructions:             7012432 (-57.30340%)
  L1 Accesses:             10012583 (-54.57429%)
  L2 Accesses:                  261 (+78.76712%)
  RAM Accesses:                 780 (+39.53488%)
  Estimated Cycles:        10041188 (-54.48642%)

position_5_perft
  Instructions:            44731005 (-62.32156%)
  L1 Accesses:             63864003 (-59.40038%)
  L2 Accesses:                 1564 (+804.0462%)
  RAM Accesses:                1223 (+86.43293%)
  Estimated Cycles:        63914628 (-59.37435%)

position_6_perft
  Instructions:            60642649 (-56.01338%)
  L1 Accesses:             86552309 (-53.44607%)
  L2 Accesses:                  488 (+165.2174%)
  RAM Accesses:                1130 (+58.70787%)
  Estimated Cycles:        86594299 (-53.42996%)

     Running benches/manual_perft.rs (target/release/deps/manual_perft-9567a8160fedb079)
Name: "starting pos", Nps: 14695200.
Name: "position 2", Nps: 15716556.
Name: "position 3", Nps: 13952408.
Name: "position 4", Nps: 15538944.
Name: "position 5", Nps: 15337489.
Name: "position 6", Nps: 16777736.

Total nodes: 16046250
Total time: 1.0s
Total nodes per second: 15489802

From ~7Mnps to ~15Mnps

@Jan-Frase Jan-Frase merged commit 1de058a into master Oct 13, 2025
2 checks passed
@Jan-Frase Jan-Frase deleted the 34-lazy-magics branch October 13, 2025 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Lazy Magics

2 participants