aboutsummaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/benchmarks.md6
-rw-r--r--benchmarks/img/16threads.pngbin81629 -> 0 bytes
-rw-r--r--benchmarks/img/16threadsspeedupfactor.pngbin0 -> 87877 bytes
-rw-r--r--benchmarks/img/4threads.pngbin88252 -> 0 bytes
-rw-r--r--benchmarks/img/4threadsspeedupfactor.pngbin0 -> 95085 bytes
-rw-r--r--benchmarks/plot-benchmarks.py4
-rw-r--r--benchmarks/tables_16_threads.md3
-rw-r--r--benchmarks/tables_4_threads.md3
8 files changed, 11 insertions, 5 deletions
diff --git a/benchmarks/benchmarks.md b/benchmarks/benchmarks.md
index 3fc2093..baba515 100644
--- a/benchmarks/benchmarks.md
+++ b/benchmarks/benchmarks.md
@@ -146,7 +146,8 @@ Speed-up factor (higher is better).
146|H48 h8 | 7.1 GiB| 3.53| 3.72| 3.81| | | 146|H48 h8 | 7.1 GiB| 3.53| 3.72| 3.81| | |
147|H48 h7 | 3.5 GiB| 3.60| 3.78| 3.80| | | 147|H48 h7 | 3.5 GiB| 3.60| 3.78| 3.80| | |
148|H48 h6 | 1.8 GiB| 3.77| 3.82| 3.79| | | 148|H48 h6 | 1.8 GiB| 3.77| 3.82| 3.79| | |
149<img src="img/4threads.png"> 149
150<img src="img/4threadsspeedupfactor.png">
150 151
151</details> 152</details>
152 153
@@ -174,7 +175,8 @@ Speed-up factor (higher is better).
174|H48 h8 | 7.1 GiB| 8.08| 9.91| 10.40| | | 175|H48 h8 | 7.1 GiB| 8.08| 9.91| 10.40| | |
175|H48 h7 | 3.5 GiB| 8.59| 10.30| 10.57| | | 176|H48 h7 | 3.5 GiB| 8.59| 10.30| 10.57| | |
176|H48 h6 | 1.8 GiB| 9.60| 10.39| 10.54| | | 177|H48 h6 | 1.8 GiB| 9.60| 10.39| 10.54| | |
177<img src="img/16threads.png"> 178
179<img src="img/16threadsspeedupfactor.png">
178 180
179</details> 181</details>
180 182
diff --git a/benchmarks/img/16threads.png b/benchmarks/img/16threads.png
deleted file mode 100644
index 8161758..0000000
--- a/benchmarks/img/16threads.png
+++ /dev/null
Binary files differ
diff --git a/benchmarks/img/16threadsspeedupfactor.png b/benchmarks/img/16threadsspeedupfactor.png
new file mode 100644
index 0000000..5dcaaef
--- /dev/null
+++ b/benchmarks/img/16threadsspeedupfactor.png
Binary files differ
diff --git a/benchmarks/img/4threads.png b/benchmarks/img/4threads.png
deleted file mode 100644
index a0cfb2f..0000000
--- a/benchmarks/img/4threads.png
+++ /dev/null
Binary files differ
diff --git a/benchmarks/img/4threadsspeedupfactor.png b/benchmarks/img/4threadsspeedupfactor.png
new file mode 100644
index 0000000..49badc4
--- /dev/null
+++ b/benchmarks/img/4threadsspeedupfactor.png
Binary files differ
diff --git a/benchmarks/plot-benchmarks.py b/benchmarks/plot-benchmarks.py
index 027e0fe..1a6fc39 100644
--- a/benchmarks/plot-benchmarks.py
+++ b/benchmarks/plot-benchmarks.py
@@ -108,6 +108,7 @@ with open(benchmarks_4_threads, "w") as f:
108 f.write("Speed-up factor (higher is better).\n") 108 f.write("Speed-up factor (higher is better).\n")
109 f.write("\n") 109 f.write("\n")
110 print_factor_table(f, results_h48.h48_single_thread, results_h48.h48_4_threads) 110 print_factor_table(f, results_h48.h48_single_thread, results_h48.h48_4_threads)
111 f.write("\n")
111 f.write('<img src="img/4threadsspeedupfactor.png">\n') 112 f.write('<img src="img/4threadsspeedupfactor.png">\n')
112 f.write("\n") 113 f.write("\n")
113 f.write("</details>\n") 114 f.write("</details>\n")
@@ -123,6 +124,7 @@ with open(benchmarks_16_threads, "w") as f:
123 f.write("Speed-up factor (higher is better).\n") 124 f.write("Speed-up factor (higher is better).\n")
124 f.write("\n") 125 f.write("\n")
125 print_factor_table(f, results_h48.h48_single_thread, results_h48.h48_16_threads) 126 print_factor_table(f, results_h48.h48_single_thread, results_h48.h48_16_threads)
127 f.write("\n")
126 f.write('<img src="img/16threadsspeedupfactor.png">\n') 128 f.write('<img src="img/16threadsspeedupfactor.png">\n')
127 f.write("\n") 129 f.write("\n")
128 f.write("</details>\n") 130 f.write("</details>\n")
@@ -178,7 +180,7 @@ def plot_multithread_scatter(title, slow, fast):
178 plt.legend(loc = "right") 180 plt.legend(loc = "right")
179 filename = title.replace(" ", "").replace(",", "") + ".png" 181 filename = title.replace(" ", "").replace(",", "") + ".png"
180 plt.savefig(benchmarks_img_dir / filename, dpi=300) 182 plt.savefig(benchmarks_img_dir / filename, dpi=300)
181 plt.show() 183 #plt.show()
182 184
183plot_multithread_scatter("4 threads speedup factor", results_h48.h48_single_thread, results_h48.h48_4_threads) 185plot_multithread_scatter("4 threads speedup factor", results_h48.h48_single_thread, results_h48.h48_4_threads)
184plot_multithread_scatter("16 threads speedup factor", results_h48.h48_single_thread, results_h48.h48_16_threads) 186plot_multithread_scatter("16 threads speedup factor", results_h48.h48_single_thread, results_h48.h48_16_threads)
diff --git a/benchmarks/tables_16_threads.md b/benchmarks/tables_16_threads.md
index e9c0d19..49d391a 100644
--- a/benchmarks/tables_16_threads.md
+++ b/benchmarks/tables_16_threads.md
@@ -22,6 +22,7 @@ Speed-up factor (higher is better).
22|H48 h8 | 7.1 GiB| 8.08| 9.91| 10.40| | | 22|H48 h8 | 7.1 GiB| 8.08| 9.91| 10.40| | |
23|H48 h7 | 3.5 GiB| 8.59| 10.30| 10.57| | | 23|H48 h7 | 3.5 GiB| 8.59| 10.30| 10.57| | |
24|H48 h6 | 1.8 GiB| 9.60| 10.39| 10.54| | | 24|H48 h6 | 1.8 GiB| 9.60| 10.39| 10.54| | |
25<img src="img/16threads.png"> 25
26<img src="img/16threadsspeedupfactor.png">
26 27
27</details> 28</details>
diff --git a/benchmarks/tables_4_threads.md b/benchmarks/tables_4_threads.md
index 9da909c..95ec22c 100644
--- a/benchmarks/tables_4_threads.md
+++ b/benchmarks/tables_4_threads.md
@@ -22,6 +22,7 @@ Speed-up factor (higher is better).
22|H48 h8 | 7.1 GiB| 3.53| 3.72| 3.81| | | 22|H48 h8 | 7.1 GiB| 3.53| 3.72| 3.81| | |
23|H48 h7 | 3.5 GiB| 3.60| 3.78| 3.80| | | 23|H48 h7 | 3.5 GiB| 3.60| 3.78| 3.80| | |
24|H48 h6 | 1.8 GiB| 3.77| 3.82| 3.79| | | 24|H48 h6 | 1.8 GiB| 3.77| 3.82| 3.79| | |
25<img src="img/4threads.png"> 25
26<img src="img/4threadsspeedupfactor.png">
26 27
27</details> 28</details>

Generated with cgit - Back to sebastiano.tronto.net