Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
PSeitz committed Sep 29, 2024
1 parent f6ed256 commit 5b9fc5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ Disabling the NMI watchdog should help:

### TODO

- [ ] Allow Hooks (perf integration as plugin)
- [ ] Move reporter to plugin API
- [ ] Improve the reporter api. Currently the reporter gets preaggregated data.

#### Maybe Later Features:
Expand Down
2 changes: 1 addition & 1 deletion src/bench.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ impl<'a, I, O> NamedBench<'a, I, O> {
pub fn sample_and_get_iter(&mut self, input: &'a I) -> usize {
// We want to run the benchmark for 100ms
const TARGET_MS_PER_BENCH: u64 = 100;
const TARGET_NS_PER_BENCH: u128 = 100 * 1_000_000;
const TARGET_NS_PER_BENCH: u128 = TARGET_MS_PER_BENCH as u128 * 1_000_000;
{
// Preliminary test if function is very slow
let start = std::time::Instant::now();
Expand Down

0 comments on commit 5b9fc5b

Please sign in to comment.