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