Skip to content

Commit

Permalink
add more debug lines
Browse files Browse the repository at this point in the history
  • Loading branch information
ktrz committed Jan 26, 2024
1 parent 7aa7a27 commit 3941544
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/write.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

3 comments on commit 3941544

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rust Benchmark

Benchmark suite Current: 3941544 Previous: 6fc0096 Ratio
bench_fib_10 158 ns/iter (± 2)
bench_fib_20 19977 ns/iter (± 343)

This comment was automatically generated by workflow using github-action-benchmark.

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Go Benchmark

Benchmark suite Current: 3941544 Previous: 6fc0096 Ratio
BenchmarkFib10 311.2 ns/op 310.9 ns/op 1.00
BenchmarkFib20 39596 ns/op 39671 ns/op 1.00
BenchmarkFib20WithAuxMetric - ns/op 39635 ns/op 40385 ns/op 0.98
BenchmarkFib20WithAuxMetric - auxMetricUnits 4 auxMetricUnits 4 auxMetricUnits 1

This comment was automatically generated by workflow using github-action-benchmark.

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark.js Benchmark

Benchmark suite Current: 3941544 Previous: 6fc0096 Ratio
fib(10) 1649667 ops/sec (±0.33%) 1649609 ops/sec (±0.75%) 1.00
fib(20) 13365 ops/sec (±0.23%) 13398 ops/sec (±0.23%) 1.00

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.