From 010ff1033e5eba28505e9b76f6bb4e7a48ea8012 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Sun, 29 Nov 2026 17:14:47 +0100 Subject: Update H48 and egg benchmarks --- benchmarks/benchmarks.md | 192 +++++++++++------------ benchmarks/img/17moves1thread.png | Bin 125398 -> 124754 bytes benchmarks/img/17movesallsolutions16threads.png | Bin 102082 -> 102067 bytes benchmarks/img/18moves1thread.png | Bin 125863 -> 125905 bytes benchmarks/img/18movesallsolutions16threads.png | Bin 111102 -> 110887 bytes benchmarks/img/19moves1thread.png | Bin 131732 -> 132071 bytes benchmarks/img/19movesallsolutions16threads.png | Bin 115928 -> 114875 bytes benchmarks/img/20moves1thread.png | Bin 120506 -> 122582 bytes benchmarks/img/20movesallsolutions16threads.png | Bin 128612 -> 116920 bytes benchmarks/img/H48_16_threads_speedup_factor.png | Bin 79032 -> 78629 bytes benchmarks/img/H48_4_threads_speedup_factor.png | Bin 86172 -> 88097 bytes benchmarks/img/egg_16_threads_speedup_factor.png | Bin 85239 -> 94332 bytes benchmarks/img/egg_4_threads_speedup_factor.png | Bin 84136 -> 83564 bytes benchmarks/results_egg.py | 48 +++--- benchmarks/results_h48.py | 48 +++--- benchmarks/tables_16_threads.md | 46 +++--- benchmarks/tables_1_thread.md | 48 +++--- benchmarks/tables_4_threads.md | 44 +++--- benchmarks/tables_all_solutions.md | 48 +++--- 19 files changed, 236 insertions(+), 238 deletions(-) (limited to 'benchmarks') diff --git a/benchmarks/benchmarks.md b/benchmarks/benchmarks.md index d6ec328..148ce1d 100644 --- a/benchmarks/benchmarks.md +++ b/benchmarks/benchmarks.md @@ -12,7 +12,7 @@ include similar measurements for two other optimal solvers: by different pruning tables. * Arhan Chaudhary's [egg-solver](https://github.com/ArhanChaudhary/egg-solver) (commit - c3eb909), which is an AI-generated implementation of the H48 method + ed726e2), which is an AI-generated implementation of the H48 method with highly-optimized microthreading. Similar benchmarks can be found: @@ -85,44 +85,44 @@ Time per cube (in seconds, lower is better). |Solver|Size|17 moves|18 moves|19 moves|20 moves|Superflip| |:-----|:---|-------:|-------:|-------:|-------:|--------:| |vcube 212 |58.2 GiB| 0.11| 0.75| 3.43| 27.28| 19.30| -|egg h11 |58.0 GiB| 0.01| 0.06| 0.24| 2.14| 0.14| -|H48 h11 |56.5 GiB| 0.08| 0.43| 1.86| 12.20| 15.39| +|egg h11 |58.0 GiB| 0.01| 0.06| 0.24| 2.13| 0.14| +|H48 h11 |56.5 GiB| 0.08| 0.41| 1.80| 11.96| 15.28| |vcube 404 |31.8 GiB| 0.23| 1.24| 6.10| 59.33| 268.26| -|egg h10 |29.0 GiB| 0.02| 0.10| 0.46| 3.96| 0.24| -|H48 h10 |28.3 GiB| 0.13| 0.69| 3.37| 23.15| 38.00| +|egg h10 |29.0 GiB| 0.02| 0.10| 0.45| 3.96| 0.24| +|H48 h10 |28.3 GiB| 0.12| 0.69| 3.31| 24.85| 38.18| |vcube 308 |21.2 GiB| 0.17| 1.02| 6.20| 58.70| 604.35| -|egg h9 |14.5 GiB| 0.03| 0.21| 0.98| | | -|H48 h9 |14.1 GiB| 0.22| 1.43| 6.56| | | +|egg h9 |14.5 GiB| 0.03| 0.18| 0.87| | | +|H48 h9 |14.1 GiB| 0.22| 1.43| 6.53| | | |vcube 208 | 7.3 GiB| 0.56| 4.36| 20.58| | | -|egg h8 | 7.2 GiB| 0.06| 0.36| 1.69| | | -|H48 h8 | 7.1 GiB| 0.46| 3.43| 14.18| | | -|egg h7 | 3.6 GiB| 0.10| 0.74| 3.88| | | -|H48 h7 | 3.5 GiB| 0.63| 4.84| 23.31| | | +|egg h8 | 7.2 GiB| 0.06| 0.36| 1.64| | | +|H48 h8 | 7.1 GiB| 0.46| 3.41| 14.23| | | +|egg h7 | 3.6 GiB| 0.10| 0.74| 4.00| | | +|H48 h7 | 3.5 GiB| 0.63| 4.87| 23.39| | | |vcube 112 | 2.4 GiB| 0.96| 9.29| 40.52| | | -|egg h6 | 1.8 GiB| 0.21| 1.60| 8.62| | | -|H48 h6 | 1.8 GiB| 1.26| 9.51| 47.14| | | +|egg h6 | 1.8 GiB| 0.18| 1.40| 7.69| | | +|H48 h6 | 1.8 GiB| 1.26| 9.47| 46.81| | | Time per cube adjusted for table size (in seconds \* GiB, lower is better). |Solver|Size|17 moves|18 moves|19 moves|20 moves|Superflip| |:-----|:---|-------:|-------:|-------:|-------:|--------:| |vcube 212 |58.2 GiB| 6.43| 43.80| 199.38| 1587.43| 1122.73| -|egg h11 |58.0 GiB| 0.55| 3.32| 13.97| 124.06| 7.93| -|H48 h11 |56.5 GiB| 4.56| 24.55| 104.96| 689.22| 869.37| +|egg h11 |58.0 GiB| 0.55| 3.30| 14.11| 123.79| 7.94| +|H48 h11 |56.5 GiB| 4.31| 23.34| 101.61| 675.65| 863.48| |vcube 404 |31.8 GiB| 7.40| 39.47| 194.01| 1887.94| 8535.87| -|egg h10 |29.0 GiB| 0.48| 2.85| 13.48| 114.83| 7.08| -|H48 h10 |28.3 GiB| 3.62| 19.45| 95.15| 654.05| 1073.69| +|egg h10 |29.0 GiB| 0.49| 2.84| 12.91| 114.83| 6.92| +|H48 h10 |28.3 GiB| 3.50| 19.36| 93.65| 702.04| 1078.64| |vcube 308 |21.2 GiB| 3.51| 21.71| 131.50| 1245.26| 12819.94| -|egg h9 |14.5 GiB| 0.50| 3.00| 14.22| | | -|H48 h9 |14.1 GiB| 3.11| 20.18| 92.68| | | +|egg h9 |14.5 GiB| 0.46| 2.64| 12.61| | | +|H48 h9 |14.1 GiB| 3.10| 20.21| 92.31| | | |vcube 208 | 7.3 GiB| 4.08| 31.74| 149.68| | | -|egg h8 | 7.2 GiB| 0.45| 2.63| 12.27| | | -|H48 h8 | 7.1 GiB| 3.23| 24.26| 100.15| | | -|egg h7 | 3.6 GiB| 0.36| 2.69| 14.05| | | -|H48 h7 | 3.5 GiB| 2.22| 17.12| 82.35| | | +|egg h8 | 7.2 GiB| 0.44| 2.62| 11.88| | | +|H48 h8 | 7.1 GiB| 3.22| 24.11| 100.55| | | +|egg h7 | 3.6 GiB| 0.36| 2.69| 14.48| | | +|H48 h7 | 3.5 GiB| 2.23| 17.22| 82.63| | | |vcube 112 | 2.4 GiB| 2.33| 22.53| 98.23| | | -|egg h6 | 1.8 GiB| 0.37| 2.89| 15.62| | | -|H48 h6 | 1.8 GiB| 2.24| 16.80| 83.33| | | +|egg h6 | 1.8 GiB| 0.33| 2.54| 13.94| | | +|H48 h6 | 1.8 GiB| 2.23| 16.75| 82.75| | | @@ -149,6 +149,7 @@ For the reasons mentioned above, in this section we will only compare H48 and egg-solver; for the latter with enable per-cube parallelization using the `-c 1` option. +
Results: Single solution, 4 threads @@ -156,35 +157,35 @@ Time per cube (in seconds, lower is better). |Solver|Size|17 moves|18 moves|19 moves|20 moves|Superflip| |:-----|:---|-------:|-------:|-------:|-------:|--------:| -|egg h11 |58.0 GiB| 0.00| 0.01| 0.06| 0.55| 0.03| -|H48 h11 |56.5 GiB| 0.03| 0.13| 0.50| 3.24| 4.17| +|egg h11 |58.0 GiB| 0.00| 0.02| 0.06| 0.55| 0.03| +|H48 h11 |56.5 GiB| 0.03| 0.12| 0.48| 3.15| 4.15| |egg h10 |29.0 GiB| 0.00| 0.02| 0.12| 1.02| 0.09| -|H48 h10 |28.3 GiB| 0.05| 0.18| 0.90| 6.21| 9.85| -|egg h9 |14.5 GiB| 0.01| 0.05| 0.25| | | -|H48 h9 |14.1 GiB| 0.07| 0.39| 1.73| 12.50| 18.97| +|H48 h10 |28.3 GiB| 0.04| 0.17| 0.89| 6.14| 9.81| +|egg h9 |14.5 GiB| 0.01| 0.05| 0.23| | | +|H48 h9 |14.1 GiB| 0.07| 0.39| 1.71| 12.55| 18.81| |egg h8 | 7.2 GiB| 0.02| 0.09| 0.43| | | -|H48 h8 | 7.1 GiB| 0.13| 0.91| 3.71| | | -|egg h7 | 3.6 GiB| 0.03| 0.19| 1.08| | | -|H48 h7 | 3.5 GiB| 0.18| 1.29| 6.19| | | -|egg h6 | 1.8 GiB| 0.05| 0.39| 2.23| | | -|H48 h6 | 1.8 GiB| 0.34| 2.48| 12.33| | | +|H48 h8 | 7.1 GiB| 0.13| 0.90| 3.72| | | +|egg h7 | 3.6 GiB| 0.03| 0.19| 1.09| | | +|H48 h7 | 3.5 GiB| 0.17| 1.28| 6.13| | | +|egg h6 | 1.8 GiB| 0.05| 0.36| 2.01| | | +|H48 h6 | 1.8 GiB| 0.34| 2.48| 12.25| | | Speed-up factor (higher is better). |Solver|Size|17 moves|18 moves|19 moves|20 moves|Superflip| |:-----|:---|-------:|-------:|-------:|-------:|--------:| -|egg h11 |58.0 GiB| 3.57| 3.85| 3.72| 3.90| 5.41| -|H48 h11 |56.5 GiB| 2.51| 3.44| 3.75| 3.77| 3.69| -|egg h10 |29.0 GiB| 3.68| 4.03| 3.92| 3.89| 2.78| -|H48 h10 |28.3 GiB| 2.79| 3.91| 3.75| 3.73| 3.86| -|egg h9 |14.5 GiB| 3.80| 4.20| 3.91| | | -|H48 h9 |14.1 GiB| 3.18| 3.66| 3.79| | | -|egg h8 | 7.2 GiB| 3.81| 4.01| 3.91| | | -|H48 h8 | 7.1 GiB| 3.48| 3.78| 3.82| | | -|egg h7 | 3.6 GiB| 3.81| 3.88| 3.59| | | -|H48 h7 | 3.5 GiB| 3.43| 3.75| 3.77| | | -|egg h6 | 1.8 GiB| 3.93| 4.09| 3.87| | | -|H48 h6 | 1.8 GiB| 3.73| 3.84| 3.82| | | +|egg h11 |58.0 GiB| 3.47| 3.78| 3.90| 3.88| 5.40| +|H48 h11 |56.5 GiB| 2.44| 3.40| 3.72| 3.79| 3.69| +|egg h10 |29.0 GiB| 3.68| 4.04| 3.78| 3.90| 2.72| +|H48 h10 |28.3 GiB| 2.80| 4.00| 3.72| 4.05| 3.89| +|egg h9 |14.5 GiB| 3.78| 3.95| 3.75| | | +|H48 h9 |14.1 GiB| 3.17| 3.70| 3.82| | | +|egg h8 | 7.2 GiB| 3.66| 3.97| 3.78| | | +|H48 h8 | 7.1 GiB| 3.52| 3.80| 3.83| | | +|egg h7 | 3.6 GiB| 3.78| 3.86| 3.68| | | +|H48 h7 | 3.5 GiB| 3.61| 3.82| 3.82| | | +|egg h6 | 1.8 GiB| 3.83| 3.92| 3.82| | | +|H48 h6 | 1.8 GiB| 3.74| 3.82| 3.82| | | @@ -198,35 +199,35 @@ Time per cube (in seconds, lower is better). |Solver|Size|17 moves|18 moves|19 moves|20 moves|Superflip| |:-----|:---|-------:|-------:|-------:|-------:|--------:| -|egg h11 |58.0 GiB| 0.00| 0.01| 0.03| 0.28| 0.02| -|H48 h11 |56.5 GiB| 0.02| 0.06| 0.21| 1.16| 1.84| -|egg h10 |29.0 GiB| 0.00| 0.01| 0.06| 0.50| 0.03| -|H48 h10 |28.3 GiB| 0.03| 0.08| 0.34| 2.24| 4.21| +|egg h11 |58.0 GiB| 0.00| 0.01| 0.03| 0.26| 0.02| +|H48 h11 |56.5 GiB| 0.02| 0.05| 0.19| 1.13| 1.87| +|egg h10 |29.0 GiB| 0.00| 0.01| 0.06| 0.48| 0.05| +|H48 h10 |28.3 GiB| 0.02| 0.07| 0.33| 2.21| 4.17| |egg h9 |14.5 GiB| 0.00| 0.02| 0.11| | | -|H48 h9 |14.1 GiB| 0.03| 0.14| 0.64| 4.43| 8.04| -|egg h8 | 7.2 GiB| 0.01| 0.04| 0.21| | | -|H48 h8 | 7.1 GiB| 0.06| 0.30| 1.36| | | -|egg h7 | 3.6 GiB| 0.01| 0.09| 0.53| | | -|H48 h7 | 3.5 GiB| 0.08| 0.41| 2.20| | | -|egg h6 | 1.8 GiB| 0.02| 0.18| 0.97| | | -|H48 h6 | 1.8 GiB| 0.13| 0.77| 4.37| | | +|H48 h9 |14.1 GiB| 0.03| 0.14| 0.63| 4.39| 8.01| +|egg h8 | 7.2 GiB| 0.01| 0.04| 0.20| | | +|H48 h8 | 7.1 GiB| 0.06| 0.29| 1.36| | | +|egg h7 | 3.6 GiB| 0.01| 0.09| 0.52| | | +|H48 h7 | 3.5 GiB| 0.07| 0.40| 2.18| | | +|egg h6 | 1.8 GiB| 0.02| 0.16| 0.94| | | +|H48 h6 | 1.8 GiB| 0.13| 0.76| 4.33| | | Speed-up factor (higher is better). |Solver|Size|17 moves|18 moves|19 moves|20 moves|Superflip| |:-----|:---|-------:|-------:|-------:|-------:|--------:| -|egg h11 |58.0 GiB| 6.27| 7.35| 7.59| 7.76| 7.61| -|H48 h11 |56.5 GiB| 3.73| 7.32| 8.87| 10.54| 8.35| -|egg h10 |29.0 GiB| 6.86| 8.10| 8.02| 7.92| 7.13| -|H48 h10 |28.3 GiB| 4.76| 8.60| 9.84| 10.34| 9.03| -|egg h9 |14.5 GiB| 7.84| 9.10| 8.56| | | -|H48 h9 |14.1 GiB| 6.34| 10.07| 10.19| | | -|egg h8 | 7.2 GiB| 7.71| 8.36| 8.04| | | -|H48 h8 | 7.1 GiB| 7.51| 11.36| 10.43| | | -|egg h7 | 3.6 GiB| 8.00| 8.15| 7.32| | | -|H48 h7 | 3.5 GiB| 8.21| 11.75| 10.61| | | -|egg h6 | 1.8 GiB| 8.62| 8.96| 8.89| | | -|H48 h6 | 1.8 GiB| 9.38| 12.31| 10.80| | | +|egg h11 |58.0 GiB| 6.70| 7.77| 8.08| 8.10| 9.07| +|H48 h11 |56.5 GiB| 3.72| 7.58| 9.52| 10.55| 8.19| +|egg h10 |29.0 GiB| 7.33| 8.53| 8.04| 8.27| 5.14| +|H48 h10 |28.3 GiB| 5.01| 9.25| 10.09| 11.22| 9.15| +|egg h9 |14.5 GiB| 7.65| 8.33| 7.96| | | +|H48 h9 |14.1 GiB| 6.48| 10.56| 10.37| | | +|egg h8 | 7.2 GiB| 7.78| 8.48| 8.04| | | +|H48 h8 | 7.1 GiB| 8.02| 11.69| 10.49| | | +|egg h7 | 3.6 GiB| 7.90| 8.22| 7.70| | | +|H48 h7 | 3.5 GiB| 8.78| 12.24| 10.73| | | +|egg h6 | 1.8 GiB| 8.16| 8.55| 8.21| | | +|H48 h6 | 1.8 GiB| 9.75| 12.48| 10.80| | | @@ -259,35 +260,35 @@ Time per cube (in seconds, lower is better). |Solver|Size|17 moves|18 moves|19 moves|20 moves|Superflip| |:-----|:---|-------:|-------:|-------:|-------:|--------:| -|egg h11 |58.0 GiB| 0.00| 0.05| 0.54| 5.08| 15.38| -|H48 h11 |56.5 GiB| 0.04| 0.24| 1.88| 3.88| 1.86| -|egg h10 |29.0 GiB| 0.01| 0.09| 1.00| 9.42| 31.05| -|H48 h10 |28.3 GiB| 0.05| 0.39| 3.51| 7.54| 4.29| -|egg h9 |14.5 GiB| 0.01| 0.17| 1.97| | | -|H48 h9 |14.1 GiB| 0.08| 0.73| 6.92| | | -|egg h8 | 7.2 GiB| 0.03| 0.31| 3.49| | | -|H48 h8 | 7.1 GiB| 0.16| 1.54| 14.78| | | -|egg h7 | 3.6 GiB| 0.04| 0.57| 6.38| | | -|H48 h7 | 3.5 GiB| 0.22| 2.37| 25.35| | | -|egg h6 | 1.8 GiB| 0.10| 1.27| 14.93| | | -|H48 h6 | 1.8 GiB| 0.40| 4.58| 50.17| | | +|egg h11 |58.0 GiB| 0.00| 0.04| 0.41| 3.91| 0.30| +|H48 h11 |56.5 GiB| 0.03| 0.22| 1.89| 16.01| 17.02| +|egg h10 |29.0 GiB| 0.01| 0.07| 0.74| 7.08| 0.60| +|H48 h10 |28.3 GiB| 0.05| 0.38| 3.60| 30.97| 36.41| +|egg h9 |14.5 GiB| 0.01| 0.13| 1.43| | | +|H48 h9 |14.1 GiB| 0.07| 0.71| 7.14| | | +|egg h8 | 7.2 GiB| 0.02| 0.25| 2.78| | | +|H48 h8 | 7.1 GiB| 0.14| 1.52| 15.20| | | +|egg h7 | 3.6 GiB| 0.04| 0.49| 5.83| | | +|H48 h7 | 3.5 GiB| 0.21| 2.33| 26.16| | | +|egg h6 | 1.8 GiB| 0.07| 0.91| 10.96| | | +|H48 h6 | 1.8 GiB| 0.39| 4.60| 52.07| | | Time per cube adjusted for table size (in seconds \* GiB, lower is better). |Solver|Size|17 moves|18 moves|19 moves|20 moves|Superflip| |:-----|:---|-------:|-------:|-------:|-------:|--------:| -|egg h11 |58.0 GiB| 0.25| 2.88| 31.12| 294.67| 892.07| -|H48 h11 |56.5 GiB| 2.00| 13.40| 106.21| 219.43| 105.10| -|egg h10 |29.0 GiB| 0.22| 2.58| 28.89| 273.08| 900.34| -|H48 h10 |28.3 GiB| 1.45| 11.13| 99.17| 212.94| 121.20| -|egg h9 |14.5 GiB| 0.21| 2.51| 28.49| | | -|H48 h9 |14.1 GiB| 1.13| 10.25| 97.80| | | -|egg h8 | 7.2 GiB| 0.18| 2.25| 25.30| | | -|H48 h8 | 7.1 GiB| 1.10| 10.85| 104.41| | | -|egg h7 | 3.6 GiB| 0.16| 2.05| 23.11| | | -|H48 h7 | 3.5 GiB| 0.79| 8.38| 89.57| | | -|egg h6 | 1.8 GiB| 0.18| 2.29| 27.06| | | -|H48 h6 | 1.8 GiB| 0.71| 8.10| 88.68| | | +|egg h11 |58.0 GiB| 0.20| 2.21| 23.79| 226.71| 17.30| +|H48 h11 |56.5 GiB| 1.81| 12.50| 107.05| 904.39| 961.58| +|egg h10 |29.0 GiB| 0.17| 1.94| 21.32| 205.40| 17.50| +|H48 h10 |28.3 GiB| 1.29| 10.85| 101.62| 874.93| 1028.73| +|egg h9 |14.5 GiB| 0.15| 1.83| 20.75| | | +|H48 h9 |14.1 GiB| 1.04| 10.03| 100.84| | | +|egg h8 | 7.2 GiB| 0.15| 1.78| 20.16| | | +|H48 h8 | 7.1 GiB| 1.01| 10.77| 107.38| | | +|egg h7 | 3.6 GiB| 0.14| 1.78| 21.14| | | +|H48 h7 | 3.5 GiB| 0.73| 8.25| 92.42| | | +|egg h6 | 1.8 GiB| 0.13| 1.66| 19.86| | | +|H48 h6 | 1.8 GiB| 0.69| 8.13| 92.04| | | @@ -296,9 +297,6 @@ Time per cube adjusted for table size (in seconds \* GiB, lower is better).
-For all-solutions egg-solver's advantage reduces to 3x-4x, and for -20 moves scrambles it appears to be even slower than H48. - ## Other notes * To repeat the benchmarks for H48, use `./benchmarks/run-h48-benchmarks.sh`. diff --git a/benchmarks/img/17moves1thread.png b/benchmarks/img/17moves1thread.png index c5a4db0..4e94beb 100644 Binary files a/benchmarks/img/17moves1thread.png and b/benchmarks/img/17moves1thread.png differ diff --git a/benchmarks/img/17movesallsolutions16threads.png b/benchmarks/img/17movesallsolutions16threads.png index b28595f..74ce993 100644 Binary files a/benchmarks/img/17movesallsolutions16threads.png and b/benchmarks/img/17movesallsolutions16threads.png differ diff --git a/benchmarks/img/18moves1thread.png b/benchmarks/img/18moves1thread.png index 71e41cc..2b23c47 100644 Binary files a/benchmarks/img/18moves1thread.png and b/benchmarks/img/18moves1thread.png differ diff --git a/benchmarks/img/18movesallsolutions16threads.png b/benchmarks/img/18movesallsolutions16threads.png index d7b4779..865917f 100644 Binary files a/benchmarks/img/18movesallsolutions16threads.png and b/benchmarks/img/18movesallsolutions16threads.png differ diff --git a/benchmarks/img/19moves1thread.png b/benchmarks/img/19moves1thread.png index b70eb9e..282d2a2 100644 Binary files a/benchmarks/img/19moves1thread.png and b/benchmarks/img/19moves1thread.png differ diff --git a/benchmarks/img/19movesallsolutions16threads.png b/benchmarks/img/19movesallsolutions16threads.png index ba0ebea..13c1de1 100644 Binary files a/benchmarks/img/19movesallsolutions16threads.png and b/benchmarks/img/19movesallsolutions16threads.png differ diff --git a/benchmarks/img/20moves1thread.png b/benchmarks/img/20moves1thread.png index 6f058a0..fdc1074 100644 Binary files a/benchmarks/img/20moves1thread.png and b/benchmarks/img/20moves1thread.png differ diff --git a/benchmarks/img/20movesallsolutions16threads.png b/benchmarks/img/20movesallsolutions16threads.png index 6058304..4d1ce4b 100644 Binary files a/benchmarks/img/20movesallsolutions16threads.png and b/benchmarks/img/20movesallsolutions16threads.png differ diff --git a/benchmarks/img/H48_16_threads_speedup_factor.png b/benchmarks/img/H48_16_threads_speedup_factor.png index 1bbd2f8..4b64f3c 100644 Binary files a/benchmarks/img/H48_16_threads_speedup_factor.png and b/benchmarks/img/H48_16_threads_speedup_factor.png differ diff --git a/benchmarks/img/H48_4_threads_speedup_factor.png b/benchmarks/img/H48_4_threads_speedup_factor.png index 40cf8ec..b7efef0 100644 Binary files a/benchmarks/img/H48_4_threads_speedup_factor.png and b/benchmarks/img/H48_4_threads_speedup_factor.png differ diff --git a/benchmarks/img/egg_16_threads_speedup_factor.png b/benchmarks/img/egg_16_threads_speedup_factor.png index 4977092..ed01b10 100644 Binary files a/benchmarks/img/egg_16_threads_speedup_factor.png and b/benchmarks/img/egg_16_threads_speedup_factor.png differ diff --git a/benchmarks/img/egg_4_threads_speedup_factor.png b/benchmarks/img/egg_4_threads_speedup_factor.png index 648ce55..3f30ee1 100644 Binary files a/benchmarks/img/egg_4_threads_speedup_factor.png and b/benchmarks/img/egg_4_threads_speedup_factor.png differ diff --git a/benchmarks/results_egg.py b/benchmarks/results_egg.py index 57251f2..3df6f51 100644 --- a/benchmarks/results_egg.py +++ b/benchmarks/results_egg.py @@ -1,36 +1,36 @@ egg_single_thread = { - 6: {17: 5.139311, 18: 39.910660, 19: 215.513895}, - 7: {17: 2.504008, 18: 18.529593, 19: 96.897878}, - 8: {17: 1.549367, 18: 9.064201, 19: 42.325193}, - 9: {17: 0.858265, 18: 5.172505, 19: 24.518997}, - 10: {17: 0.417568, 18: 2.459152, 19: 11.623105, 20: 99.011990, "superflip": 0.244296}, - 11: {17: 0.238193, 18: 1.432498, 19: 6.021714, 20: 53.487854, "superflip": 0.136739}, + 6: {17: 4.609876, 18: 35.089534, 19: 192.268849}, + 7: {17: 2.471547, 18: 18.584586, 19: 99.915456}, + 8: {17: 1.528595, 18: 9.025466, 19: 40.961597}, + 9: {17: 0.786750, 18: 4.546150, 19: 21.748202}, + 10: {17: 0.418535, 18: 2.451250, 19: 11.130237, 20: 99.017656, "superflip": 0.238771}, + 11: {17: 0.235210, 18: 1.422167, 19: 6.084730, 20: 53.370538, "superflip": 0.136872}, } egg_4_threads = { - 6: {17: 1.306705, 18: 9.759825, 19: 55.629836}, - 7: {17: 0.656651, 18: 4.781186, 19: 26.968132}, - 8: {17: 0.406570, 18: 2.262452, 19: 10.828606}, - 9: {17: 0.225972, 18: 1.230342, 19: 6.270499}, - 10: {17: 0.113393, 18: 0.610004, 19: 2.963694, 20: 25.467137, "superflip": 0.087832}, - 11: {17: 0.066650, 18: 0.372158, 19: 1.617824, 20: 13.699318, "superflip": 0.025293}, + 6: {17: 1.204782, 18: 8.961903, 19: 50.286224}, + 7: {17: 0.653938, 18: 4.817416, 19: 27.152640}, + 8: {17: 0.417459, 18: 2.274098, 19: 10.843666}, + 9: {17: 0.208189, 18: 1.151343, 19: 5.802237}, + 10: {17: 0.113871, 18: 0.606310, 19: 2.945785, 20: 25.411329, "superflip": 0.087885}, + 11: {17: 0.067748, 18: 0.376237, 19: 1.559648, 20: 13.764122, "superflip": 0.025328}, } egg_16_threads = { - 6: {17: 0.596467, 18: 4.455692, 19: 24.234698}, - 7: {17: 0.313078, 18: 2.272664, 19: 13.245863}, - 8: {17: 0.200848, 18: 1.084005, 19: 5.266139}, - 9: {17: 0.109538, 18: 0.568547, 19: 2.863034}, - 10: {17: 0.060911, 18: 0.303420, 19: 1.449804, 20: 12.498059, "superflip": 0.034263}, - 11: {17: 0.037969, 18: 0.194775, 19: 0.793440, 20: 6.893702, "superflip": 0.017957}, + 6: {17: 0.564608, 18: 4.104889, 19: 23.417746}, + 7: {17: 0.312988, 18: 2.261877, 19: 12.977691}, + 8: {17: 0.196456, 18: 1.064142, 19: 5.094686}, + 9: {17: 0.102821, 18: 0.545451, 19: 2.731449}, + 10: {17: 0.057076, 18: 0.287307, 19: 1.383924, 20: 11.970150, "superflip": 0.046427}, + 11: {17: 0.035095, 18: 0.183081, 19: 0.753051, 20: 6.589032, "superflip": 0.015083}, } egg_all_solutions = { - 6: {17: 2.448883, 18: 31.628611, 19: 373.309154}, - 7: {17: 1.096209, 18: 14.131642, 19: 159.427805}, - 8: {17: 0.636421, 18: 7.748630, 19: 87.271360}, - 9: {17: 0.353850, 18: 4.327602, 19: 49.125814}, - 10: {17: 0.187192, 18: 2.222200, 19: 24.909298, 20: 235.468196, "superflip": 31.053940}, - 11: {17: 0.107630, 18: 1.242064, 19: 13.417236, 20: 127.044933, "superflip": 15.384209}, + 6: {17: 1.793372, 18: 22.840409, 19: 273.945286}, + 7: {17: 0.959037, 18: 12.308774, 19: 145.794534}, + 8: {17: 0.501669, 18: 6.126051, 19: 69.539244}, + 9: {17: 0.266019, 18: 3.156503, 19: 35.782580}, + 10: {17: 0.144499, 18: 1.673625, 19: 18.380062, 20: 177.110726, "superflip": 0.603734}, + 11: {17: 0.086052, 18: 0.952433, 19: 10.256043, 20: 97.742791, "superflip": 0.298389}, } diff --git a/benchmarks/results_h48.py b/benchmarks/results_h48.py index db3f61d..bb8a9b5 100644 --- a/benchmarks/results_h48.py +++ b/benchmarks/results_h48.py @@ -1,36 +1,36 @@ h48_single_thread = { - 6: {17: 31.6146, 18: 237.6538, 19: 1178.5629}, - 7: {17: 15.7297, 18: 121.1100, 19: 582.6646}, - 8: {17: 11.4289, 18: 85.8390, 19: 354.3900}, - 9: {17: 5.4948, 18: 35.7112, 19: 164.0113}, - 10: {17: 3.2011, 18: 17.2078, 19: 84.1986, 20: 578.7479, "superflip": 38.0028}, - 11: {17: 2.0178, 18: 10.8605, 19: 46.4395, 20: 304.9428, "superflip": 15.3861}, + 6: {17: 31.5819, 18: 236.8540, 19: 1170.3107}, + 7: {17: 15.7882, 18: 121.8373, 19: 584.6421}, + 8: {17: 11.3926, 18: 85.3061, 19: 355.8337}, + 9: {17: 5.4884, 18: 35.7591, 19: 163.3503}, + 10: {17: 3.0987, 18: 17.1291, 19: 82.8706, 20: 621.2123, "superflip": 38.1781}, + 11: {17: 1.9052, 18: 10.3265, 19: 44.9568, 20: 298.9377, "superflip": 15.2818}, } h48_4_threads = { - 6: {17: 8.4831, 18: 61.8787, 19: 308.3152}, - 7: {17: 4.5843, 18: 32.2699, 19: 154.6502}, - 8: {17: 3.2842, 18: 22.7150, 19: 92.6903}, - 9: {17: 1.7301, 18: 9.7587, 19: 43.2178, 20: 312.5222, "superflip": 18.9704}, - 10: {17: 1.1491, 18: 4.4016, 19: 22.4448, 20: 155.2350, "superflip": 9.8506}, - 11: {17: 0.8027, 18: 3.1583, 19: 12.3942, 20: 80.9024, "superflip": 4.1653}, + 6: {17: 8.4406, 18: 61.9990, 19: 306.2755}, + 7: {17: 4.3731, 18: 31.8859, 19: 153.1345}, + 8: {17: 3.2401, 18: 22.4264, 19: 92.8979}, + 9: {17: 1.7298, 18: 9.6638, 19: 42.7149, 20: 313.6337, "superflip": 18.8145}, + 10: {17: 1.1066, 18: 4.2850, 19: 22.2863, 20: 153.3751, "superflip": 9.8111}, + 11: {17: 0.7824, 18: 3.0395, 19: 12.0755, 20: 78.8635, "superflip": 4.1457}, } h48_16_threads = { - 6: {17: 3.3695, 18: 19.3030, 19: 109.1256}, - 7: {17: 1.9154, 18: 10.3030, 19: 54.8909}, - 8: {17: 1.5225, 18: 7.5543, 19: 33.9840}, - 9: {17: 0.8672, 18: 3.5479, 19: 16.0906, 20: 110.7977, "superflip": 8.0406}, - 10: {17: 0.6723, 18: 1.9998, 19: 8.5537, 20: 55.9818, "superflip": 4.2065}, - 11: {17: 0.5403, 18: 1.4842, 19: 5.2328, 20: 28.9226, "superflip": 1.8435}, + 6: {17: 3.2398, 18: 18.9852, 19: 108.3509}, + 7: {17: 1.7991, 18: 9.9517, 19: 54.4642}, + 8: {17: 1.4210, 18: 7.2961, 19: 33.9347}, + 9: {17: 0.8468, 18: 3.3875, 19: 15.7489, 20: 109.7626, "superflip": 8.0064}, + 10: {17: 0.6184, 18: 1.8512, 19: 8.2133, 20: 55.3624, "superflip": 4.1721}, + 11: {17: 0.5121, 18: 1.3617, 19: 4.7214, 20: 28.3323, "superflip": 1.8655}, } h48_all_solutions = { - 6: {17: 10.1111, 18: 114.6104, 19: 1254.2822}, - 7: {17: 5.5958, 18: 59.2615, 19: 633.7330}, - 8: {17: 3.9038, 18: 38.3942, 19: 369.4771}, - 9: {17: 1.9935, 18: 18.1457, 19: 173.0701}, - 10: {17: 1.2822, 18: 9.8484, 19: 87.7510, 20: 188.4217, "superflip": 4.2900}, - 11: {17: 0.8868, 18: 5.9268, 19: 46.9945, 20: 97.0853, "superflip": 1.8600}, + 6: {17: 9.7183, 18: 114.9995, 19: 1301.7489}, + 7: {17: 5.1404, 18: 58.3670, 19: 653.9033}, + 8: {17: 3.5655, 18: 38.1233, 19: 379.9974}, + 9: {17: 1.8352, 18: 17.7437, 19: 178.4465}, + 10: {17: 1.1418, 18: 9.6021, 19: 89.9210, 20: 774.1962, "superflip": 36.4115}, + 11: {17: 0.8027, 18: 5.5318, 19: 47.3648, 20: 400.1439, "superflip": 17.0179}, } diff --git a/benchmarks/tables_16_threads.md b/benchmarks/tables_16_threads.md index a2735c1..b71cdc7 100644 --- a/benchmarks/tables_16_threads.md +++ b/benchmarks/tables_16_threads.md @@ -5,35 +5,35 @@ Time per cube (in seconds, lower is better). |Solver|Size|17 moves|18 moves|19 moves|20 moves|Superflip| |:-----|:---|-------:|-------:|-------:|-------:|--------:| -|egg h11 |58.0 GiB| 0.00| 0.01| 0.03| 0.28| 0.02| -|H48 h11 |56.5 GiB| 0.02| 0.06| 0.21| 1.16| 1.84| -|egg h10 |29.0 GiB| 0.00| 0.01| 0.06| 0.50| 0.03| -|H48 h10 |28.3 GiB| 0.03| 0.08| 0.34| 2.24| 4.21| +|egg h11 |58.0 GiB| 0.00| 0.01| 0.03| 0.26| 0.02| +|H48 h11 |56.5 GiB| 0.02| 0.05| 0.19| 1.13| 1.87| +|egg h10 |29.0 GiB| 0.00| 0.01| 0.06| 0.48| 0.05| +|H48 h10 |28.3 GiB| 0.02| 0.07| 0.33| 2.21| 4.17| |egg h9 |14.5 GiB| 0.00| 0.02| 0.11| | | -|H48 h9 |14.1 GiB| 0.03| 0.14| 0.64| 4.43| 8.04| -|egg h8 | 7.2 GiB| 0.01| 0.04| 0.21| | | -|H48 h8 | 7.1 GiB| 0.06| 0.30| 1.36| | | -|egg h7 | 3.6 GiB| 0.01| 0.09| 0.53| | | -|H48 h7 | 3.5 GiB| 0.08| 0.41| 2.20| | | -|egg h6 | 1.8 GiB| 0.02| 0.18| 0.97| | | -|H48 h6 | 1.8 GiB| 0.13| 0.77| 4.37| | | +|H48 h9 |14.1 GiB| 0.03| 0.14| 0.63| 4.39| 8.01| +|egg h8 | 7.2 GiB| 0.01| 0.04| 0.20| | | +|H48 h8 | 7.1 GiB| 0.06| 0.29| 1.36| | | +|egg h7 | 3.6 GiB| 0.01| 0.09| 0.52| | | +|H48 h7 | 3.5 GiB| 0.07| 0.40| 2.18| | | +|egg h6 | 1.8 GiB| 0.02| 0.16| 0.94| | | +|H48 h6 | 1.8 GiB| 0.13| 0.76| 4.33| | | Speed-up factor (higher is better). |Solver|Size|17 moves|18 moves|19 moves|20 moves|Superflip| |:-----|:---|-------:|-------:|-------:|-------:|--------:| -|egg h11 |58.0 GiB| 6.27| 7.35| 7.59| 7.76| 7.61| -|H48 h11 |56.5 GiB| 3.73| 7.32| 8.87| 10.54| 8.35| -|egg h10 |29.0 GiB| 6.86| 8.10| 8.02| 7.92| 7.13| -|H48 h10 |28.3 GiB| 4.76| 8.60| 9.84| 10.34| 9.03| -|egg h9 |14.5 GiB| 7.84| 9.10| 8.56| | | -|H48 h9 |14.1 GiB| 6.34| 10.07| 10.19| | | -|egg h8 | 7.2 GiB| 7.71| 8.36| 8.04| | | -|H48 h8 | 7.1 GiB| 7.51| 11.36| 10.43| | | -|egg h7 | 3.6 GiB| 8.00| 8.15| 7.32| | | -|H48 h7 | 3.5 GiB| 8.21| 11.75| 10.61| | | -|egg h6 | 1.8 GiB| 8.62| 8.96| 8.89| | | -|H48 h6 | 1.8 GiB| 9.38| 12.31| 10.80| | | +|egg h11 |58.0 GiB| 6.70| 7.77| 8.08| 8.10| 9.07| +|H48 h11 |56.5 GiB| 3.72| 7.58| 9.52| 10.55| 8.19| +|egg h10 |29.0 GiB| 7.33| 8.53| 8.04| 8.27| 5.14| +|H48 h10 |28.3 GiB| 5.01| 9.25| 10.09| 11.22| 9.15| +|egg h9 |14.5 GiB| 7.65| 8.33| 7.96| | | +|H48 h9 |14.1 GiB| 6.48| 10.56| 10.37| | | +|egg h8 | 7.2 GiB| 7.78| 8.48| 8.04| | | +|H48 h8 | 7.1 GiB| 8.02| 11.69| 10.49| | | +|egg h7 | 3.6 GiB| 7.90| 8.22| 7.70| | | +|H48 h7 | 3.5 GiB| 8.78| 12.24| 10.73| | | +|egg h6 | 1.8 GiB| 8.16| 8.55| 8.21| | | +|H48 h6 | 1.8 GiB| 9.75| 12.48| 10.80| | | diff --git a/benchmarks/tables_1_thread.md b/benchmarks/tables_1_thread.md index 1f2d7b0..ddd27a6 100644 --- a/benchmarks/tables_1_thread.md +++ b/benchmarks/tables_1_thread.md @@ -6,44 +6,44 @@ Time per cube (in seconds, lower is better). |Solver|Size|17 moves|18 moves|19 moves|20 moves|Superflip| |:-----|:---|-------:|-------:|-------:|-------:|--------:| |vcube 212 |58.2 GiB| 0.11| 0.75| 3.43| 27.28| 19.30| -|egg h11 |58.0 GiB| 0.01| 0.06| 0.24| 2.14| 0.14| -|H48 h11 |56.5 GiB| 0.08| 0.43| 1.86| 12.20| 15.39| +|egg h11 |58.0 GiB| 0.01| 0.06| 0.24| 2.13| 0.14| +|H48 h11 |56.5 GiB| 0.08| 0.41| 1.80| 11.96| 15.28| |vcube 404 |31.8 GiB| 0.23| 1.24| 6.10| 59.33| 268.26| -|egg h10 |29.0 GiB| 0.02| 0.10| 0.46| 3.96| 0.24| -|H48 h10 |28.3 GiB| 0.13| 0.69| 3.37| 23.15| 38.00| +|egg h10 |29.0 GiB| 0.02| 0.10| 0.45| 3.96| 0.24| +|H48 h10 |28.3 GiB| 0.12| 0.69| 3.31| 24.85| 38.18| |vcube 308 |21.2 GiB| 0.17| 1.02| 6.20| 58.70| 604.35| -|egg h9 |14.5 GiB| 0.03| 0.21| 0.98| | | -|H48 h9 |14.1 GiB| 0.22| 1.43| 6.56| | | +|egg h9 |14.5 GiB| 0.03| 0.18| 0.87| | | +|H48 h9 |14.1 GiB| 0.22| 1.43| 6.53| | | |vcube 208 | 7.3 GiB| 0.56| 4.36| 20.58| | | -|egg h8 | 7.2 GiB| 0.06| 0.36| 1.69| | | -|H48 h8 | 7.1 GiB| 0.46| 3.43| 14.18| | | -|egg h7 | 3.6 GiB| 0.10| 0.74| 3.88| | | -|H48 h7 | 3.5 GiB| 0.63| 4.84| 23.31| | | +|egg h8 | 7.2 GiB| 0.06| 0.36| 1.64| | | +|H48 h8 | 7.1 GiB| 0.46| 3.41| 14.23| | | +|egg h7 | 3.6 GiB| 0.10| 0.74| 4.00| | | +|H48 h7 | 3.5 GiB| 0.63| 4.87| 23.39| | | |vcube 112 | 2.4 GiB| 0.96| 9.29| 40.52| | | -|egg h6 | 1.8 GiB| 0.21| 1.60| 8.62| | | -|H48 h6 | 1.8 GiB| 1.26| 9.51| 47.14| | | +|egg h6 | 1.8 GiB| 0.18| 1.40| 7.69| | | +|H48 h6 | 1.8 GiB| 1.26| 9.47| 46.81| | | Time per cube adjusted for table size (in seconds \* GiB, lower is better). |Solver|Size|17 moves|18 moves|19 moves|20 moves|Superflip| |:-----|:---|-------:|-------:|-------:|-------:|--------:| |vcube 212 |58.2 GiB| 6.43| 43.80| 199.38| 1587.43| 1122.73| -|egg h11 |58.0 GiB| 0.55| 3.32| 13.97| 124.06| 7.93| -|H48 h11 |56.5 GiB| 4.56| 24.55| 104.96| 689.22| 869.37| +|egg h11 |58.0 GiB| 0.55| 3.30| 14.11| 123.79| 7.94| +|H48 h11 |56.5 GiB| 4.31| 23.34| 101.61| 675.65| 863.48| |vcube 404 |31.8 GiB| 7.40| 39.47| 194.01| 1887.94| 8535.87| -|egg h10 |29.0 GiB| 0.48| 2.85| 13.48| 114.83| 7.08| -|H48 h10 |28.3 GiB| 3.62| 19.45| 95.15| 654.05| 1073.69| +|egg h10 |29.0 GiB| 0.49| 2.84| 12.91| 114.83| 6.92| +|H48 h10 |28.3 GiB| 3.50| 19.36| 93.65| 702.04| 1078.64| |vcube 308 |21.2 GiB| 3.51| 21.71| 131.50| 1245.26| 12819.94| -|egg h9 |14.5 GiB| 0.50| 3.00| 14.22| | | -|H48 h9 |14.1 GiB| 3.11| 20.18| 92.68| | | +|egg h9 |14.5 GiB| 0.46| 2.64| 12.61| | | +|H48 h9 |14.1 GiB| 3.10| 20.21| 92.31| | | |vcube 208 | 7.3 GiB| 4.08| 31.74| 149.68| | | -|egg h8 | 7.2 GiB| 0.45| 2.63| 12.27| | | -|H48 h8 | 7.1 GiB| 3.23| 24.26| 100.15| | | -|egg h7 | 3.6 GiB| 0.36| 2.69| 14.05| | | -|H48 h7 | 3.5 GiB| 2.22| 17.12| 82.35| | | +|egg h8 | 7.2 GiB| 0.44| 2.62| 11.88| | | +|H48 h8 | 7.1 GiB| 3.22| 24.11| 100.55| | | +|egg h7 | 3.6 GiB| 0.36| 2.69| 14.48| | | +|H48 h7 | 3.5 GiB| 2.23| 17.22| 82.63| | | |vcube 112 | 2.4 GiB| 2.33| 22.53| 98.23| | | -|egg h6 | 1.8 GiB| 0.37| 2.89| 15.62| | | -|H48 h6 | 1.8 GiB| 2.24| 16.80| 83.33| | | +|egg h6 | 1.8 GiB| 0.33| 2.54| 13.94| | | +|H48 h6 | 1.8 GiB| 2.23| 16.75| 82.75| | | diff --git a/benchmarks/tables_4_threads.md b/benchmarks/tables_4_threads.md index 2ca4a39..fe78f4b 100644 --- a/benchmarks/tables_4_threads.md +++ b/benchmarks/tables_4_threads.md @@ -5,35 +5,35 @@ Time per cube (in seconds, lower is better). |Solver|Size|17 moves|18 moves|19 moves|20 moves|Superflip| |:-----|:---|-------:|-------:|-------:|-------:|--------:| -|egg h11 |58.0 GiB| 0.00| 0.01| 0.06| 0.55| 0.03| -|H48 h11 |56.5 GiB| 0.03| 0.13| 0.50| 3.24| 4.17| +|egg h11 |58.0 GiB| 0.00| 0.02| 0.06| 0.55| 0.03| +|H48 h11 |56.5 GiB| 0.03| 0.12| 0.48| 3.15| 4.15| |egg h10 |29.0 GiB| 0.00| 0.02| 0.12| 1.02| 0.09| -|H48 h10 |28.3 GiB| 0.05| 0.18| 0.90| 6.21| 9.85| -|egg h9 |14.5 GiB| 0.01| 0.05| 0.25| | | -|H48 h9 |14.1 GiB| 0.07| 0.39| 1.73| 12.50| 18.97| +|H48 h10 |28.3 GiB| 0.04| 0.17| 0.89| 6.14| 9.81| +|egg h9 |14.5 GiB| 0.01| 0.05| 0.23| | | +|H48 h9 |14.1 GiB| 0.07| 0.39| 1.71| 12.55| 18.81| |egg h8 | 7.2 GiB| 0.02| 0.09| 0.43| | | -|H48 h8 | 7.1 GiB| 0.13| 0.91| 3.71| | | -|egg h7 | 3.6 GiB| 0.03| 0.19| 1.08| | | -|H48 h7 | 3.5 GiB| 0.18| 1.29| 6.19| | | -|egg h6 | 1.8 GiB| 0.05| 0.39| 2.23| | | -|H48 h6 | 1.8 GiB| 0.34| 2.48| 12.33| | | +|H48 h8 | 7.1 GiB| 0.13| 0.90| 3.72| | | +|egg h7 | 3.6 GiB| 0.03| 0.19| 1.09| | | +|H48 h7 | 3.5 GiB| 0.17| 1.28| 6.13| | | +|egg h6 | 1.8 GiB| 0.05| 0.36| 2.01| | | +|H48 h6 | 1.8 GiB| 0.34| 2.48| 12.25| | | Speed-up factor (higher is better). |Solver|Size|17 moves|18 moves|19 moves|20 moves|Superflip| |:-----|:---|-------:|-------:|-------:|-------:|--------:| -|egg h11 |58.0 GiB| 3.57| 3.85| 3.72| 3.90| 5.41| -|H48 h11 |56.5 GiB| 2.51| 3.44| 3.75| 3.77| 3.69| -|egg h10 |29.0 GiB| 3.68| 4.03| 3.92| 3.89| 2.78| -|H48 h10 |28.3 GiB| 2.79| 3.91| 3.75| 3.73| 3.86| -|egg h9 |14.5 GiB| 3.80| 4.20| 3.91| | | -|H48 h9 |14.1 GiB| 3.18| 3.66| 3.79| | | -|egg h8 | 7.2 GiB| 3.81| 4.01| 3.91| | | -|H48 h8 | 7.1 GiB| 3.48| 3.78| 3.82| | | -|egg h7 | 3.6 GiB| 3.81| 3.88| 3.59| | | -|H48 h7 | 3.5 GiB| 3.43| 3.75| 3.77| | | -|egg h6 | 1.8 GiB| 3.93| 4.09| 3.87| | | -|H48 h6 | 1.8 GiB| 3.73| 3.84| 3.82| | | +|egg h11 |58.0 GiB| 3.47| 3.78| 3.90| 3.88| 5.40| +|H48 h11 |56.5 GiB| 2.44| 3.40| 3.72| 3.79| 3.69| +|egg h10 |29.0 GiB| 3.68| 4.04| 3.78| 3.90| 2.72| +|H48 h10 |28.3 GiB| 2.80| 4.00| 3.72| 4.05| 3.89| +|egg h9 |14.5 GiB| 3.78| 3.95| 3.75| | | +|H48 h9 |14.1 GiB| 3.17| 3.70| 3.82| | | +|egg h8 | 7.2 GiB| 3.66| 3.97| 3.78| | | +|H48 h8 | 7.1 GiB| 3.52| 3.80| 3.83| | | +|egg h7 | 3.6 GiB| 3.78| 3.86| 3.68| | | +|H48 h7 | 3.5 GiB| 3.61| 3.82| 3.82| | | +|egg h6 | 1.8 GiB| 3.83| 3.92| 3.82| | | +|H48 h6 | 1.8 GiB| 3.74| 3.82| 3.82| | | diff --git a/benchmarks/tables_all_solutions.md b/benchmarks/tables_all_solutions.md index e9923e7..b174850 100644 --- a/benchmarks/tables_all_solutions.md +++ b/benchmarks/tables_all_solutions.md @@ -5,35 +5,35 @@ Time per cube (in seconds, lower is better). |Solver|Size|17 moves|18 moves|19 moves|20 moves|Superflip| |:-----|:---|-------:|-------:|-------:|-------:|--------:| -|egg h11 |58.0 GiB| 0.00| 0.05| 0.54| 5.08| 15.38| -|H48 h11 |56.5 GiB| 0.04| 0.24| 1.88| 3.88| 1.86| -|egg h10 |29.0 GiB| 0.01| 0.09| 1.00| 9.42| 31.05| -|H48 h10 |28.3 GiB| 0.05| 0.39| 3.51| 7.54| 4.29| -|egg h9 |14.5 GiB| 0.01| 0.17| 1.97| | | -|H48 h9 |14.1 GiB| 0.08| 0.73| 6.92| | | -|egg h8 | 7.2 GiB| 0.03| 0.31| 3.49| | | -|H48 h8 | 7.1 GiB| 0.16| 1.54| 14.78| | | -|egg h7 | 3.6 GiB| 0.04| 0.57| 6.38| | | -|H48 h7 | 3.5 GiB| 0.22| 2.37| 25.35| | | -|egg h6 | 1.8 GiB| 0.10| 1.27| 14.93| | | -|H48 h6 | 1.8 GiB| 0.40| 4.58| 50.17| | | +|egg h11 |58.0 GiB| 0.00| 0.04| 0.41| 3.91| 0.30| +|H48 h11 |56.5 GiB| 0.03| 0.22| 1.89| 16.01| 17.02| +|egg h10 |29.0 GiB| 0.01| 0.07| 0.74| 7.08| 0.60| +|H48 h10 |28.3 GiB| 0.05| 0.38| 3.60| 30.97| 36.41| +|egg h9 |14.5 GiB| 0.01| 0.13| 1.43| | | +|H48 h9 |14.1 GiB| 0.07| 0.71| 7.14| | | +|egg h8 | 7.2 GiB| 0.02| 0.25| 2.78| | | +|H48 h8 | 7.1 GiB| 0.14| 1.52| 15.20| | | +|egg h7 | 3.6 GiB| 0.04| 0.49| 5.83| | | +|H48 h7 | 3.5 GiB| 0.21| 2.33| 26.16| | | +|egg h6 | 1.8 GiB| 0.07| 0.91| 10.96| | | +|H48 h6 | 1.8 GiB| 0.39| 4.60| 52.07| | | Time per cube adjusted for table size (in seconds \* GiB, lower is better). |Solver|Size|17 moves|18 moves|19 moves|20 moves|Superflip| |:-----|:---|-------:|-------:|-------:|-------:|--------:| -|egg h11 |58.0 GiB| 0.25| 2.88| 31.12| 294.67| 892.07| -|H48 h11 |56.5 GiB| 2.00| 13.40| 106.21| 219.43| 105.10| -|egg h10 |29.0 GiB| 0.22| 2.58| 28.89| 273.08| 900.34| -|H48 h10 |28.3 GiB| 1.45| 11.13| 99.17| 212.94| 121.20| -|egg h9 |14.5 GiB| 0.21| 2.51| 28.49| | | -|H48 h9 |14.1 GiB| 1.13| 10.25| 97.80| | | -|egg h8 | 7.2 GiB| 0.18| 2.25| 25.30| | | -|H48 h8 | 7.1 GiB| 1.10| 10.85| 104.41| | | -|egg h7 | 3.6 GiB| 0.16| 2.05| 23.11| | | -|H48 h7 | 3.5 GiB| 0.79| 8.38| 89.57| | | -|egg h6 | 1.8 GiB| 0.18| 2.29| 27.06| | | -|H48 h6 | 1.8 GiB| 0.71| 8.10| 88.68| | | +|egg h11 |58.0 GiB| 0.20| 2.21| 23.79| 226.71| 17.30| +|H48 h11 |56.5 GiB| 1.81| 12.50| 107.05| 904.39| 961.58| +|egg h10 |29.0 GiB| 0.17| 1.94| 21.32| 205.40| 17.50| +|H48 h10 |28.3 GiB| 1.29| 10.85| 101.62| 874.93| 1028.73| +|egg h9 |14.5 GiB| 0.15| 1.83| 20.75| | | +|H48 h9 |14.1 GiB| 1.04| 10.03| 100.84| | | +|egg h8 | 7.2 GiB| 0.15| 1.78| 20.16| | | +|H48 h8 | 7.1 GiB| 1.01| 10.77| 107.38| | | +|egg h7 | 3.6 GiB| 0.14| 1.78| 21.14| | | +|H48 h7 | 3.5 GiB| 0.73| 8.25| 92.42| | | +|egg h6 | 1.8 GiB| 0.13| 1.66| 19.86| | | +|H48 h6 | 1.8 GiB| 0.69| 8.13| 92.04| | | -- cgit v1.3