diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2025-12-17 09:33:41 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2025-12-17 09:33:41 +0100 |
| commit | 4a2e35f21b07a2abbeddc89c8eda5f1aed6bfb51 (patch) | |
| tree | cbd1b011d330589cf5ddf1533ebfbf68e01c5a89 /benchmarks/plot-benchmarks.py | |
| parent | e3bb9a1bfee72e83766c86f3cade8259b46c5618 (diff) | |
| download | nissy-core-4a2e35f21b07a2abbeddc89c8eda5f1aed6bfb51.tar.gz nissy-core-4a2e35f21b07a2abbeddc89c8eda5f1aed6bfb51.zip | |
Cleanup md
Diffstat (limited to '')
| -rw-r--r-- | benchmarks/plot-benchmarks.py | 21 |
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 | ) |
| 73 | print("</details>") | 73 | print("</details>") |
| 74 | 74 | ||
| 75 | print() | ||
| 75 | print("<details><summary>Single solution, 4 threads</summary>") | 76 | print("<details><summary>Single solution, 4 threads</summary>") |
| 76 | print() | 77 | print() |
| 77 | print("Time per cube (in seconds, lower is better).") | 78 | print("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 | |||
| 82 | print() | 83 | print() |
| 83 | print_table(results_h48.h48_4_threads, results_vcube.vcube_4_threads, True, False) | 84 | print_table(results_h48.h48_4_threads, results_vcube.vcube_4_threads, True, False) |
| 84 | print() | 85 | print() |
| 86 | print("(a) vcube cannot parallelize on a single scramble, the results for the") | ||
| 87 | print("superflip are going to be the same as in the single thread case.") | ||
| 88 | print() | ||
| 85 | print( | 89 | print( |
| 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 | ) |
| 91 | print() | ||
| 92 | print("(a) vcube cannot parallelize on a single scramble, the results for the") | ||
| 93 | print("superflip are going to be the same as in the single thread case.") | ||
| 94 | print("</details>") | 95 | print("</details>") |
| 95 | 96 | ||
| 97 | print() | ||
| 96 | print("<details><summary>Single solution, 16 threads</summary>") | 98 | print("<details><summary>Single solution, 16 threads</summary>") |
| 97 | print() | 99 | print() |
| 98 | print("Time per cube (in seconds, lower is better).") | 100 | print("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 | |||
| 103 | print() | 105 | print() |
| 104 | print_table(results_h48.h48_16_threads, results_vcube.vcube_16_threads, True, False) | 106 | print_table(results_h48.h48_16_threads, results_vcube.vcube_16_threads, True, False) |
| 105 | print() | 107 | print() |
| 108 | print("(a) vcube cannot parallelize on a single scramble, the results for the") | ||
| 109 | print("superflip are going to be the same as in the single thread case.") | ||
| 110 | print() | ||
| 106 | print( | 111 | print( |
| 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 | ) |
| 112 | print() | ||
| 113 | print("(a) vcube cannot parallelize on a single scramble, the results for the") | ||
| 114 | print("superflip are going to be the same as in the single thread case.") | ||
| 115 | print("</details>") | 117 | print("</details>") |
| 116 | 118 | ||
| 119 | print() | ||
| 117 | print("<details><summary>All solutions, 16 threads</summary>") | 120 | print("<details><summary>All solutions, 16 threads</summary>") |
| 118 | print() | 121 | print() |
| 119 | print("*Note: vcube does not have an option for finding multiple solutions.*") | 122 | print("*Note: vcube does not have an option for finding multiple solutions.*") |
