Add visualizations to all reports

- Created performance charts for all decimal levels (1, 2, 5, 10, 100, 1000, 2000)
- Added 4 charts per report: execution time, memory usage, IPC efficiency, and time vs memory trade-off
- Updated all reports to include visualizations
- Charts show top 20 languages for each metric
- Color-coded by language type (Compiled=green, JIT=blue, Interpreted=red)
This commit is contained in:
Ein Anderssono
2026-04-23 14:42:17 +02:00
parent a2e13a70a1
commit 824f538efa
16 changed files with 166 additions and 1 deletions
+3 -1
View File
@@ -61,7 +61,9 @@ for decimals in [1, 2, 5, 10, 100, 1000, 2000]:
f.write(f"| {rank} | {lang} | {time_ms} | {memory} | {instructions} | {cycles} | {ipc:.2f} | {lang_type} |\n")
# Footer
f.write(f"\n## Detailed Results\n\n")
f.write(f"\n## Visualizations\n\n")
f.write(f"![Performance Comparison](100_decimals.png)\n\n")
f.write(f"## Detailed Results\n\n")
f.write(f"See the full test output in `reports/run_{decimals}_output.txt`.\n\n")
f.write("---\n")
f.write("*Generated from Pi Calculation Benchmark - Apple A18 Pro Performance Study*\n")