aboutsummaryrefslogtreecommitdiff
path: root/alacritty_terminal/src/term/cell.rs
diff options
context:
space:
mode:
Diffstat (limited to 'alacritty_terminal/src/term/cell.rs')
-rw-r--r--alacritty_terminal/src/term/cell.rs20
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);
- });
- }
-}