diff options
Diffstat (limited to 'tvix/eval/benches/eval.rs')
-rw-r--r-- | tvix/eval/benches/eval.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tvix/eval/benches/eval.rs b/tvix/eval/benches/eval.rs index 3e4da75936d0..006038490df4 100644 --- a/tvix/eval/benches/eval.rs +++ b/tvix/eval/benches/eval.rs @@ -1,6 +1,9 @@ use criterion::{black_box, criterion_group, criterion_main, Criterion}; use itertools::Itertools; -use tvix_eval::interpret; + +fn interpret(code: &str) { + tvix_eval::Evaluation::new(code).evaluate() +} fn eval_literals(c: &mut Criterion) { c.bench_function("int", |b| { |