fix(tvix/eval): Fix build of benchmarks
Interpret was updated to take an optional path arg in
6fe5e2d75
(feat(tvix/eval): resolve relative path literals, 2022-08-12),
but since benchmarks aren't building in CI the resulting breakage of
benchmarks was missed.
Change-Id: I8a93f1b25ae62e2d032fafc153d91977c6466712
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6284
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
This commit is contained in:
parent
b29ab1776b
commit
29f8f06319
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ use criterion::{black_box, criterion_group, criterion_main, Criterion};
|
|||
use tvix_eval::interpret;
|
||||
|
||||
fn eval_literals(c: &mut Criterion) {
|
||||
c.bench_function("int", |b| b.iter(|| black_box(interpret("42"))));
|
||||
c.bench_function("int", |b| b.iter(|| black_box(interpret("42", None))));
|
||||
}
|
||||
|
||||
criterion_group!(benches, eval_literals);
|
||||
|
|
Loading…
Reference in a new issue