From 3941544599b2c2e83720282f4d007e4446a9910b Mon Sep 17 00:00:00 2001 From: Chris Trzesniewski Date: Fri, 26 Jan 2024 16:29:58 +0100 Subject: [PATCH] add more debug lines --- src/write.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/write.ts b/src/write.ts index db35ce32b..0fb24a545 100644 --- a/src/write.ts +++ b/src/write.ts @@ -617,5 +617,11 @@ async function handleSummary(benchName: string, currBench: Benchmark, prevBench: const body = buildComment(benchName, currBench, prevBench); - await core.summary.addHeading(`Benchmarks: ${benchName}`).addRaw(body).write(); + const summary = core.summary.addHeading(`Benchmarks: ${benchName}`).addRaw(body); + + core.debug('Writing a summary about benchmark comparison'); + + core.debug('Writing :\n' + summary.stringify()); + + await summary.write(); }