blob: a05c04f03e29b49379ff1bed0dfdab6157e4e6d4 (
plain) (
tree)
|
|
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", None))));
}
criterion_group!(benches, eval_literals);
criterion_main!(benches);
|