From a990de90fe41456a23e58bd087d2f107d321f3a1 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 19 Jul 2024 16:37:58 +0400 Subject: Deleted vendor folder --- vendor/anstream/benches/wincon.rs | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 vendor/anstream/benches/wincon.rs (limited to 'vendor/anstream/benches/wincon.rs') diff --git a/vendor/anstream/benches/wincon.rs b/vendor/anstream/benches/wincon.rs deleted file mode 100644 index 54e1f80..0000000 --- a/vendor/anstream/benches/wincon.rs +++ /dev/null @@ -1,26 +0,0 @@ -use criterion::{black_box, Criterion}; - -fn wincon(c: &mut Criterion) { - for (name, content) in [ - ("demo.vte", &include_bytes!("../tests/demo.vte")[..]), - ("rg_help.vte", &include_bytes!("../tests/rg_help.vte")[..]), - ("rg_linus.vte", &include_bytes!("../tests/rg_linus.vte")[..]), - ( - "state_changes", - &b"\x1b]2;X\x1b\\ \x1b[0m \x1bP0@\x1b\\"[..], - ), - ] { - let mut group = c.benchmark_group(name); - group.bench_function("wincon_bytes", |b| { - b.iter(|| { - let mut state = anstream::adapter::WinconBytes::new(); - let stripped = state.extract_next(content).collect::>(); - - black_box(stripped) - }) - }); - } -} - -criterion::criterion_group!(benches, wincon); -criterion::criterion_main!(benches); -- cgit v1.2.3