diff options
author | James McCoy <jamessan@jamessan.com> | 2021-01-21 14:45:33 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-21 19:45:33 +0000 |
commit | 7291702f6b4fff10f2470f084abe0785b95659a0 (patch) | |
tree | e39a9c24608db9b661d947059acac18b30d90ca5 /alacritty_terminal/src/term/cell.rs | |
parent | 753c4ed19ed026fabfad98b9874c54eb4bdcf8f0 (diff) | |
download | alacritty-7291702f6b4fff10f2470f084abe0785b95659a0.tar.gz alacritty-7291702f6b4fff10f2470f084abe0785b95659a0.zip |
Remove all rustc benchmarks
Co-authored-by: Christian Duerr <contact@christianduerr.com>
Diffstat (limited to 'alacritty_terminal/src/term/cell.rs')
-rw-r--r-- | alacritty_terminal/src/term/cell.rs | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/alacritty_terminal/src/term/cell.rs b/alacritty_terminal/src/term/cell.rs index 8ac3edd0..91ee3391 100644 --- a/alacritty_terminal/src/term/cell.rs +++ b/alacritty_terminal/src/term/cell.rs @@ -192,23 +192,3 @@ mod tests { assert_eq!(row.line_length(), Column(10)); } } - -#[cfg(all(test, feature = "bench"))] -mod benches { - extern crate test; - - use super::*; - - #[bench] - fn cell_reset(b: &mut test::Bencher) { - b.iter(|| { - let mut cell = Cell::default(); - - for _ in 0..100 { - cell = test::black_box(Color::Named(NamedColor::Foreground).into()); - } - - test::black_box(cell); - }); - } -} |