aboutsummaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2025-12-17 09:33:41 +0100
committerSebastiano Tronto <sebastiano@tronto.net>2025-12-17 09:33:41 +0100
commit4a2e35f21b07a2abbeddc89c8eda5f1aed6bfb51 (patch)
treecbd1b011d330589cf5ddf1533ebfbf68e01c5a89 /benchmarks
parente3bb9a1bfee72e83766c86f3cade8259b46c5618 (diff)
downloadnissy-core-4a2e35f21b07a2abbeddc89c8eda5f1aed6bfb51.tar.gz
nissy-core-4a2e35f21b07a2abbeddc89c8eda5f1aed6bfb51.zip
Cleanup md
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/benchmarks.md19
-rw-r--r--benchmarks/plot-benchmarks.py21
2 files changed, 21 insertions, 19 deletions
diff --git a/benchmarks/benchmarks.md b/benchmarks/benchmarks.md
index 6c035e3..33cd36e 100644
--- a/benchmarks/benchmarks.md
+++ b/benchmarks/benchmarks.md
@@ -101,8 +101,8 @@ Time per cube adjusted for table size (in seconds \* GiB, lower is better).
101<img src="img/18moves1thread.png"> 101<img src="img/18moves1thread.png">
102<img src="img/19moves1thread.png"> 102<img src="img/19moves1thread.png">
103<img src="img/20moves1thread.png"> 103<img src="img/20moves1thread.png">
104
105</details> 104</details>
105
106<details><summary>Single solution, 4 threads</summary> 106<details><summary>Single solution, 4 threads</summary>
107 107
108Time per cube (in seconds, lower is better). 108Time per cube (in seconds, lower is better).
@@ -137,15 +137,15 @@ Time per cube adjusted for table size (in seconds \* GiB, lower is better).
137|vcube 112 | 2.4 Gib| 0.69| 7.59| 28.97| | (a) | 137|vcube 112 | 2.4 Gib| 0.69| 7.59| 28.97| | (a) |
138|H48 h6 | 1.8 Gib| 1.11| 8.25| 43.60| | | 138|H48 h6 | 1.8 Gib| 1.11| 8.25| 43.60| | |
139 139
140(a) vcube cannot parallelize on a single scramble, the results for the
141superflip are going to be the same as in the single thread case.
142
140<img src="img/17moves4threads.png"> 143<img src="img/17moves4threads.png">
141<img src="img/18moves4threads.png"> 144<img src="img/18moves4threads.png">
142<img src="img/19moves4threads.png"> 145<img src="img/19moves4threads.png">
143<img src="img/20moves4threads.png"> 146<img src="img/20moves4threads.png">
144
145
146(a) vcube cannot parallelize on a single scramble, the results for the
147superflip are going to be the same as in the single thread case.
148</details> 147</details>
148
149<details><summary>Single solution, 16 threads</summary> 149<details><summary>Single solution, 16 threads</summary>
150 150
151Time per cube (in seconds, lower is better). 151Time per cube (in seconds, lower is better).
@@ -180,15 +180,15 @@ Time per cube adjusted for table size (in seconds \* GiB, lower is better).
180|vcube 112 | 2.4 Gib| 0.35| 3.95| 12.37| | (a) | 180|vcube 112 | 2.4 Gib| 0.35| 3.95| 12.37| | (a) |
181|H48 h6 | 1.8 Gib| 0.37| 2.62| 13.61| | | 181|H48 h6 | 1.8 Gib| 0.37| 2.62| 13.61| | |
182 182
183(a) vcube cannot parallelize on a single scramble, the results for the
184superflip are going to be the same as in the single thread case.
185
183<img src="img/17moves16threads.png"> 186<img src="img/17moves16threads.png">
184<img src="img/18moves16threads.png"> 187<img src="img/18moves16threads.png">
185<img src="img/19moves16threads.png"> 188<img src="img/19moves16threads.png">
186<img src="img/20moves16threads.png"> 189<img src="img/20moves16threads.png">
187
188
189(a) vcube cannot parallelize on a single scramble, the results for the
190superflip are going to be the same as in the single thread case.
191</details> 190</details>
191
192<details><summary>All solutions, 16 threads</summary> 192<details><summary>All solutions, 16 threads</summary>
193 193
194*Note: vcube does not have an option for finding multiple solutions.* 194*Note: vcube does not have an option for finding multiple solutions.*
@@ -214,7 +214,6 @@ Time per cube adjusted for table size (in seconds \* GiB, lower is better).
214|H48 h8 | 7.1 Gib| 1.89| 21.16| 205.79| | | 214|H48 h8 | 7.1 Gib| 1.89| 21.16| 205.79| | |
215|H48 h7 | 3.5 Gib| 1.28| 14.79| 165.25| | | 215|H48 h7 | 3.5 Gib| 1.28| 14.79| 165.25| | |
216|H48 h6 | 1.8 Gib| 1.23| 14.70| 162.42| | | 216|H48 h6 | 1.8 Gib| 1.23| 14.70| 162.42| | |
217
218</details> 217</details>
219 218
220## Comments on the results 219## Comments on the results
diff --git a/benchmarks/plot-benchmarks.py b/benchmarks/plot-benchmarks.py
index b42c4ba..76d5d08 100644
--- a/benchmarks/plot-benchmarks.py
+++ b/benchmarks/plot-benchmarks.py
@@ -68,10 +68,11 @@ print(
68 '<img src="img/17moves1thread.png">\n' 68 '<img src="img/17moves1thread.png">\n'
69 '<img src="img/18moves1thread.png">\n' 69 '<img src="img/18moves1thread.png">\n'
70 '<img src="img/19moves1thread.png">\n' 70 '<img src="img/19moves1thread.png">\n'
71 '<img src="img/20moves1thread.png">\n' 71 '<img src="img/20moves1thread.png">'
72) 72)
73print("</details>") 73print("</details>")
74 74
75print()
75print("<details><summary>Single solution, 4 threads</summary>") 76print("<details><summary>Single solution, 4 threads</summary>")
76print() 77print()
77print("Time per cube (in seconds, lower is better).") 78print("Time per cube (in seconds, lower is better).")
@@ -82,17 +83,18 @@ print("Time per cube adjusted for table size (in seconds \\* GiB, lower is bette
82print() 83print()
83print_table(results_h48.h48_4_threads, results_vcube.vcube_4_threads, True, False) 84print_table(results_h48.h48_4_threads, results_vcube.vcube_4_threads, True, False)
84print() 85print()
86print("(a) vcube cannot parallelize on a single scramble, the results for the")
87print("superflip are going to be the same as in the single thread case.")
88print()
85print( 89print(
86 '<img src="img/17moves4threads.png">\n' 90 '<img src="img/17moves4threads.png">\n'
87 '<img src="img/18moves4threads.png">\n' 91 '<img src="img/18moves4threads.png">\n'
88 '<img src="img/19moves4threads.png">\n' 92 '<img src="img/19moves4threads.png">\n'
89 '<img src="img/20moves4threads.png">\n' 93 '<img src="img/20moves4threads.png">'
90) 94)
91print()
92print("(a) vcube cannot parallelize on a single scramble, the results for the")
93print("superflip are going to be the same as in the single thread case.")
94print("</details>") 95print("</details>")
95 96
97print()
96print("<details><summary>Single solution, 16 threads</summary>") 98print("<details><summary>Single solution, 16 threads</summary>")
97print() 99print()
98print("Time per cube (in seconds, lower is better).") 100print("Time per cube (in seconds, lower is better).")
@@ -103,17 +105,18 @@ print("Time per cube adjusted for table size (in seconds \\* GiB, lower is bette
103print() 105print()
104print_table(results_h48.h48_16_threads, results_vcube.vcube_16_threads, True, False) 106print_table(results_h48.h48_16_threads, results_vcube.vcube_16_threads, True, False)
105print() 107print()
108print("(a) vcube cannot parallelize on a single scramble, the results for the")
109print("superflip are going to be the same as in the single thread case.")
110print()
106print( 111print(
107 '<img src="img/17moves16threads.png">\n' 112 '<img src="img/17moves16threads.png">\n'
108 '<img src="img/18moves16threads.png">\n' 113 '<img src="img/18moves16threads.png">\n'
109 '<img src="img/19moves16threads.png">\n' 114 '<img src="img/19moves16threads.png">\n'
110 '<img src="img/20moves16threads.png">\n' 115 '<img src="img/20moves16threads.png">'
111) 116)
112print()
113print("(a) vcube cannot parallelize on a single scramble, the results for the")
114print("superflip are going to be the same as in the single thread case.")
115print("</details>") 117print("</details>")
116 118
119print()
117print("<details><summary>All solutions, 16 threads</summary>") 120print("<details><summary>All solutions, 16 threads</summary>")
118print() 121print()
119print("*Note: vcube does not have an option for finding multiple solutions.*") 122print("*Note: vcube does not have an option for finding multiple solutions.*")

Generated with cgit - Back to sebastiano.tronto.net