Skip to content

Commit

Permalink
make benchmarks simulate the collection of LEDs into an output format
Browse files Browse the repository at this point in the history
  • Loading branch information
DavJCosby committed Mar 26, 2024
1 parent 371685f commit 41445b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions benches/comet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ fn trail(c: &mut Criterion) {
b.iter(|| {
for _ in 0..total_steps {
driver.step_by(timestep);
let colors = driver.colors::<u8>();
}
})
});
Expand Down
1 change: 1 addition & 0 deletions benches/ripples.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ fn ripples(c: &mut Criterion) {
b.iter(|| {
for _ in 0..total_steps {
driver.step_by(timestep);
let colors = driver.colors::<u8>();
}
})
});
Expand Down

0 comments on commit 41445b2

Please sign in to comment.