Export metric summaries and adapt analysis scripts

This commit is contained in:
David Peter committed 2026-10-05 16:59:35 +02:00
1 parent 6d0ae4f87c
commit 1b3ec922fa
9 files changed
+292 -26

No files matched your search

+4 -2
View File
@@ -53,7 +53,7 @@ with open(args.file) as f:
for result in results:
label = result["command"]
times = result["times"]
times = [m["time_wall_clock"]["value"] for m in result["measurements"]]
num = len(times)
nums = range(num)
@@ -63,7 +63,9 @@ for result in results:
if not args.no_moving_average:
moving_average_width = (
num // 5 if args.moving_average_width is None else args.moving_average_width
max(1, num // 5)
if args.moving_average_width is None
else args.moving_average_width
)
average = moving_average(times, moving_average_width)