aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/plot-benchmarks.py
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/plot-benchmarks.py
parente3bb9a1bfee72e83766c86f3cade8259b46c5618 (diff)
downloadnissy-core-4a2e35f21b07a2abbeddc89c8eda5f1aed6bfb51.tar.gz
nissy-core-4a2e35f21b07a2abbeddc89c8eda5f1aed6bfb51.zip
Cleanup md
Diffstat (limited to 'benchmarks/plot-benchmarks.py')
-rw-r--r--benchmarks/plot-benchmarks.py21
1 files changed, 12 insertions, 9 deletions
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