regenerate graphs with capitalization and watermarks

This commit is contained in:
rawhide kobayashi 2025-02-09 01:07:39 -06:00
parent fde2efc1fb
commit 64ff76cc2f
Signed by: rawhide_k
GPG Key ID: E71F77DDBC513FD7
14 changed files with 40 additions and 39 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 327 KiB

After

Width:  |  Height:  |  Size: 334 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 323 KiB

After

Width:  |  Height:  |  Size: 329 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 321 KiB

After

Width:  |  Height:  |  Size: 327 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 320 KiB

After

Width:  |  Height:  |  Size: 325 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 334 KiB

After

Width:  |  Height:  |  Size: 342 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 320 KiB

After

Width:  |  Height:  |  Size: 326 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 734 KiB

After

Width:  |  Height:  |  Size: 749 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 320 KiB

After

Width:  |  Height:  |  Size: 336 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 320 KiB

After

Width:  |  Height:  |  Size: 335 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 315 KiB

After

Width:  |  Height:  |  Size: 334 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 316 KiB

After

Width:  |  Height:  |  Size: 334 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 310 KiB

After

Width:  |  Height:  |  Size: 328 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 310 KiB

After

Width:  |  Height:  |  Size: 328 KiB

View File

@ -53,6 +53,7 @@ def make_graph(results_list, title):
return_plot.set_xlabel("Execution time improvement\n 1.0 value based on the first CPU", color="#ffaed2") return_plot.set_xlabel("Execution time improvement\n 1.0 value based on the first CPU", color="#ffaed2")
return_plot.axvline(x=1, color="#2c1a4a", linewidth=1) return_plot.axvline(x=1, color="#2c1a4a", linewidth=1)
fig.text(0, 0, "https://blog.neet.works", color="#ffaed2")
plot.savefig(f"{title}.png", bbox_inches='tight', dpi=600) plot.savefig(f"{title}.png", bbox_inches='tight', dpi=600)
@ -60,73 +61,73 @@ def make_graph(results_list, title):
csv_fieldnames = ["AVX512", "Resolution", "Encoder", "Preset", "Run Time", "Temperature", "MHz", "Watts"] csv_fieldnames = ["AVX512", "Resolution", "Encoder", "Preset", "Run Time", "Temperature", "MHz", "Watts"]
results_9950x_avx = [] results_9950X_avx = []
results_9950x_noavx = [] results_9950X_noavx = []
results_14700f = [] results_14700F = []
with open('results_9950x.csv', 'r', newline='') as results_file: with open('results_9950X.csv', 'r', newline='') as results_file:
reader = csv.DictReader(results_file, csv_fieldnames) reader = csv.DictReader(results_file, csv_fieldnames)
for row in reader: for row in reader:
if row["AVX512"] == "On": if row["AVX512"] == "On":
results_9950x_avx.append(row) results_9950X_avx.append(row)
elif row["AVX512"] == "Off": elif row["AVX512"] == "Off":
results_9950x_noavx.append(row) results_9950X_noavx.append(row)
with open('results_14700f.csv', 'r', newline='') as results_file: with open('results_14700F.csv', 'r', newline='') as results_file:
reader = csv.DictReader(results_file, csv_fieldnames) reader = csv.DictReader(results_file, csv_fieldnames)
for row in reader: for row in reader:
results_14700f.append(row) results_14700F.append(row)
results_14700f.pop(0) results_14700F.pop(0)
print("Ryzen 9 9950x AVX-512 performance gain. \"Zero\" point of 1.0 based on the speed of the non-AVX-512 performance.") print("Ryzen 9 9950X AVX-512 performance gain. \"Zero\" point of 1.0 based on the speed of the non-AVX-512 performance.")
print("\nHEVC encoded by the x265 encoder.\n") print("\nHEVC encoded by the x265 encoder.\n")
list_9950x_x265_vs_avx512_720p, list_9950x_x265_vs_avx512_1080p, list_9950x_x265_vs_avx512_4k = make_comparison_list(results_9950x_noavx, results_9950x_avx, "libx265") list_9950X_x265_vs_avx512_720p, list_9950X_x265_vs_avx512_1080p, list_9950X_x265_vs_avx512_4k = make_comparison_list(results_9950X_noavx, results_9950X_avx, "libx265")
plot_9950x_x265_noavx_vs_9950x_avx_720p = make_graph(list_9950x_x265_vs_avx512_720p, "9950x AVX-512 Off vs 9950x AVX-512 On, 720p, x265") plot_9950X_x265_noavx_vs_9950X_avx_720p = make_graph(list_9950X_x265_vs_avx512_720p, "9950X AVX-512 Off vs 9950X AVX-512 On, 720p, x265")
plot_9950x_x265_noavx_vs_9950x_avx_1080p = make_graph(list_9950x_x265_vs_avx512_1080p, "9950x AVX-512 Off vs 9950x AVX-512 On, 1080p, x265") plot_9950X_x265_noavx_vs_9950X_avx_1080p = make_graph(list_9950X_x265_vs_avx512_1080p, "9950X AVX-512 Off vs 9950X AVX-512 On, 1080p, x265")
plot_9950x_x265_noavx_vs_9950x_avx_4k = make_graph(list_9950x_x265_vs_avx512_4k, "9950x AVX-512 Off vs 9950x AVX-512 On, 4k, x265") plot_9950X_x265_noavx_vs_9950X_avx_4k = make_graph(list_9950X_x265_vs_avx512_4k, "9950X AVX-512 Off vs 9950X AVX-512 On, 4k, x265")
print("\nAV1 encoded by the SVT-AV1 encoder. Note: In SVT-AV1, preset 0 is the heaviest, and preset 13 is the lightest.\n") print("\nAV1 encoded by the SVT-AV1 encoder. Note: In SVT-AV1, preset 0 is the heaviest, and preset 13 is the lightest.\n")
list_9950x_av1_vs_avx512_720p, list_9950x_av1_vs_avx512_1080p, list_9950x_av1_vs_avx512_4k = make_comparison_list(results_9950x_noavx, results_9950x_avx, "libsvtav1") list_9950X_av1_vs_avx512_720p, list_9950X_av1_vs_avx512_1080p, list_9950X_av1_vs_avx512_4k = make_comparison_list(results_9950X_noavx, results_9950X_avx, "libsvtav1")
plot_9950x_av1_noavx_vs_9950x_avx_720p = make_graph(list_9950x_av1_vs_avx512_720p, "9950x AVX-512 Off vs 9950x AVX-512 On, 720p, SVT-AV1") plot_9950X_av1_noavx_vs_9950X_avx_720p = make_graph(list_9950X_av1_vs_avx512_720p, "9950X AVX-512 Off vs 9950X AVX-512 On, 720p, SVT-AV1")
plot_9950x_av1_noavx_vs_9950x_avx_1080p = make_graph(list_9950x_av1_vs_avx512_1080p, "9950x AVX-512 Off vs 9950x AVX-512 On, 1080p, SVT-AV1") plot_9950X_av1_noavx_vs_9950X_avx_1080p = make_graph(list_9950X_av1_vs_avx512_1080p, "9950X AVX-512 Off vs 9950X AVX-512 On, 1080p, SVT-AV1")
plot_9950x_av1_noavx_vs_9950x_avx_4k = make_graph(list_9950x_av1_vs_avx512_4k, "9950x AVX-512 Off vs 9950x AVX-512 On, 4k, SVT-AV1") plot_9950X_av1_noavx_vs_9950X_avx_4k = make_graph(list_9950X_av1_vs_avx512_4k, "9950X AVX-512 Off vs 9950X AVX-512 On, 4k, SVT-AV1")
print("Ryzen 9 9950x AVX-512 performance gain vs the i7-14700f. \"Zero\" point of 1.0 based on the i7-14700f performance.") print("Ryzen 9 9950X AVX-512 performance gain vs the i7-14700F. \"Zero\" point of 1.0 based on the i7-14700F performance.")
print("\nHEVC encoded by the x265 encoder.\n") print("\nHEVC encoded by the x265 encoder.\n")
list_9950x_x265_vs_14700f_720p, list_9950x_x265_vs_14700f_1080p, list_9950x_x265_vs_14700f_4k = make_comparison_list(results_14700f, results_9950x_avx, "libx265") list_9950X_x265_vs_14700F_720p, list_9950X_x265_vs_14700F_1080p, list_9950X_x265_vs_14700F_4k = make_comparison_list(results_14700F, results_9950X_avx, "libx265")
plot_9950x_avx_x265_vs_14700f_720p = make_graph(list_9950x_x265_vs_14700f_720p, "i7-14700f vs 9950x AVX-512 On, 720p, x265") plot_9950X_avx_x265_vs_14700F_720p = make_graph(list_9950X_x265_vs_14700F_720p, "i7-14700F vs 9950X AVX-512 On, 720p, x265")
plot_9950x_avx_x265_vs_14700f_1080p = make_graph(list_9950x_x265_vs_14700f_1080p, "i7-14700f vs 9950x AVX-512 On, 1080p, x265") plot_9950X_avx_x265_vs_14700F_1080p = make_graph(list_9950X_x265_vs_14700F_1080p, "i7-14700F vs 9950X AVX-512 On, 1080p, x265")
plot_9950x_avx_x265_vs_14700f_4k = make_graph(list_9950x_x265_vs_14700f_4k, "i7-14700f vs 9950x AVX-512 On, 4k, x265") plot_9950X_avx_x265_vs_14700F_4k = make_graph(list_9950X_x265_vs_14700F_4k, "i7-14700F vs 9950X AVX-512 On, 4k, x265")
print("\nAV1 encoded by the SVT-AV1 encoder. Note: In SVT-AV1, preset 0 is the heaviest, and preset 13 is the lightest.\n") print("\nAV1 encoded by the SVT-AV1 encoder. Note: In SVT-AV1, preset 0 is the heaviest, and preset 13 is the lightest.\n")
list_9950x_av1_vs_14700f_720p, list_9950x_av1_vs_14700f_1080p, list_9950x_av1_vs_14700f_4k = make_comparison_list(results_14700f, results_9950x_avx, "libsvtav1") list_9950X_av1_vs_14700F_720p, list_9950X_av1_vs_14700F_1080p, list_9950X_av1_vs_14700F_4k = make_comparison_list(results_14700F, results_9950X_avx, "libsvtav1")
plot_9950x_avx_av1_vs_14700f_720p = make_graph(list_9950x_av1_vs_14700f_720p, "i7-14700f vs 9950x AVX-512 On, 720p, SVT-AV1") plot_9950X_avx_av1_vs_14700F_720p = make_graph(list_9950X_av1_vs_14700F_720p, "i7-14700F vs 9950X AVX-512 On, 720p, SVT-AV1")
plot_9950x_avx_av1_vs_14700f_1080p = make_graph(list_9950x_av1_vs_14700f_1080p, "i7-14700f vs 9950x AVX-512 On, 1080p, SVT-AV1") plot_9950X_avx_av1_vs_14700F_1080p = make_graph(list_9950X_av1_vs_14700F_1080p, "i7-14700F vs 9950X AVX-512 On, 1080p, SVT-AV1")
plot_9950x_avx_av1_vs_14700f_4k = make_graph(list_9950x_av1_vs_14700f_4k, "i7-14700f vs 9950x AVX-512 On, 4k, SVT-AV1") plot_9950X_avx_av1_vs_14700F_4k = make_graph(list_9950X_av1_vs_14700F_4k, "i7-14700F vs 9950X AVX-512 On, 4k, SVT-AV1")
geomean_dict = { geomean_dict = {
"9950x AVX-512 Off vs 9950x AVX-512 On, 720p, x265": geomean(list_9950x_x265_vs_avx512_720p), "9950X AVX-512 Off vs 9950X AVX-512 On, 720p, x265": geomean(list_9950X_x265_vs_avx512_720p),
"9950x AVX-512 Off vs 9950x AVX-512 On, 1080p, x265": geomean(list_9950x_x265_vs_avx512_1080p), "9950X AVX-512 Off vs 9950X AVX-512 On, 1080p, x265": geomean(list_9950X_x265_vs_avx512_1080p),
"9950x AVX-512 Off vs 9950x AVX-512 On, 4k, x265": geomean(list_9950x_x265_vs_avx512_4k), "9950X AVX-512 Off vs 9950X AVX-512 On, 4k, x265": geomean(list_9950X_x265_vs_avx512_4k),
"9950x AVX-512 Off vs 9950x AVX-512 On, 720p, SVT-AV1": geomean(list_9950x_av1_vs_avx512_720p), "9950X AVX-512 Off vs 9950X AVX-512 On, 720p, SVT-AV1": geomean(list_9950X_av1_vs_avx512_720p),
"9950x AVX-512 Off vs 9950x AVX-512 On, 1080p, SVT-AV1": geomean(list_9950x_av1_vs_avx512_1080p), "9950X AVX-512 Off vs 9950X AVX-512 On, 1080p, SVT-AV1": geomean(list_9950X_av1_vs_avx512_1080p),
"9950x AVX-512 Off vs 9950x AVX-512 On, 4k, SVT-AV1": geomean(list_9950x_av1_vs_avx512_4k), "9950X AVX-512 Off vs 9950X AVX-512 On, 4k, SVT-AV1": geomean(list_9950X_av1_vs_avx512_4k),
"i7-14700f vs 9950x AVX-512 On, 720p, x265": geomean(list_9950x_x265_vs_14700f_720p), "i7-14700F vs 9950X AVX-512 On, 720p, x265": geomean(list_9950X_x265_vs_14700F_720p),
"i7-14700f vs 9950x AVX-512 On, 1080p, x265": geomean(list_9950x_x265_vs_14700f_1080p), "i7-14700F vs 9950X AVX-512 On, 1080p, x265": geomean(list_9950X_x265_vs_14700F_1080p),
"i7-14700f vs 9950x AVX-512 On, 4k, x265": geomean(list_9950x_x265_vs_14700f_4k), "i7-14700F vs 9950X AVX-512 On, 4k, x265": geomean(list_9950X_x265_vs_14700F_4k),
"i7-14700f vs 9950x AVX-512 On, 720p, SVT-AV1": geomean(list_9950x_av1_vs_14700f_720p), "i7-14700F vs 9950X AVX-512 On, 720p, SVT-AV1": geomean(list_9950X_av1_vs_14700F_720p),
"i7-14700f vs 9950x AVX-512 On, 1080p, SVT-AV1": geomean(list_9950x_av1_vs_14700f_1080p), "i7-14700F vs 9950X AVX-512 On, 1080p, SVT-AV1": geomean(list_9950X_av1_vs_14700F_1080p),
"i7-14700f vs 9950x AVX-512 On, 4k, SVT-AV1": geomean(list_9950x_av1_vs_14700f_4k) "i7-14700F vs 9950X AVX-512 On, 4k, SVT-AV1": geomean(list_9950X_av1_vs_14700F_4k)
} }
geomean_dict = dict(reversed(geomean_dict.items())) geomean_dict = dict(reversed(geomean_dict.items()))