Skip to content

Commit

Permalink
temporary: test alert comment works
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysd committed Nov 19, 2019
1 parent 193ce7c commit f731ea5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ jobs:
tool: 'cargo'
output-file-path: examples/rust/output.txt
skip-fetch-gh-pages: true
github-token: ${{ secrets.PERSONAL_GITHUB_TOKEN }}
comment-on-alert: true
- run: node ./scripts/ci_validate_modification.js before_data.js 'Rust Benchmark'
go:
name: Run Go benchmark example
Expand Down
4 changes: 2 additions & 2 deletions examples/rust/benches/bench.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ use test::Bencher;
#[bench]
fn bench_fib_10(b: &mut Bencher) {
b.iter(|| {
let _ = fib(10);
let _ = fib(13);
});
}

#[bench]
fn bench_fib_20(b: &mut Bencher) {
b.iter(|| {
let _ = fib(20);
let _ = fib(23);
});
}

1 comment on commit f731ea5

@rhysd
Copy link
Member Author

@rhysd rhysd commented on f731ea5 Nov 19, 2019

Choose a reason for hiding this comment

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

⚠️ Performance Alert!! ⚠️

Possible performance regression was detected for benchmark 'Rust Benchmark'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 2.

Benchmark suite Current: f731ea5 Previous: fbfeeaf Ratio
bench_fib_10 1083 ns/iter (+/- 92) 221 ns/iter (+/- 36) 4.900452488687783
bench_fib_20 136707 ns/iter (+/- 14,430) 30339 ns/iter (+/- 4,543) 4.505982398892515

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

Please sign in to comment.