summaryrefslogtreecommitdiff
path: root/tests/src
diff options
context:
space:
mode:
Diffstat (limited to 'tests/src')
-rw-r--r--tests/src/benches.rs12
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/src/benches.rs b/tests/src/benches.rs
index 4cd7d9c3..2c693c7c 100644
--- a/tests/src/benches.rs
+++ b/tests/src/benches.rs
@@ -22,7 +22,6 @@ main!(
bench_eval,
bench_typeset,
bench_compile,
- bench_highlight,
bench_render,
);
@@ -63,17 +62,6 @@ fn bench_edit(iai: &mut Iai) {
iai.run(|| black_box(source.edit(1168..1171, "_Uhr_")));
}
-fn bench_highlight(iai: &mut Iai) {
- let source = Source::detached(TEXT);
- iai.run(|| {
- typst::syntax::highlight::highlight_categories(
- source.root(),
- 0..source.len_bytes(),
- &mut |_, _| {},
- )
- });
-}
-
fn bench_eval(iai: &mut Iai) {
let world = BenchWorld::new();
let route = typst::model::Route::default();