Skip to content

Commit df34f71

Browse files
authored
Merge pull request #297 from faster-cpython/reduce-failure-log-size
Only show last 50 lines of log (so failures.md isn't too big)
2 parents 4f16e99 + 45836e4 commit df34f71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bench_runner/scripts/find_failures.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def write_output(fd: TextIO, failures: Failures) -> None:
116116
table.write_details(
117117
fd,
118118
f"Log for {bm} on {machine} {config}",
119-
["```"] + loglines + ["```"],
119+
["```"] + loglines[-50:] + ["```"],
120120
)
121121

122122

0 commit comments

Comments
 (0)