change test names kcl-samples (#5766)

Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
Jess Frazelle
2025-03-11 16:29:26 -07:00
committed by GitHub
parent 6d0da100e5
commit e5c05e1980

View File

@ -69,11 +69,11 @@ fn run_benchmarks(c: &mut Criterion) {
//let program = kcl_lib::Program::parse_no_errs(&input_content).unwrap();
group.bench_function("parse", |b| {
group.bench_function(format!("parse_{}", dir_name), |b| {
b.iter(|| kcl_lib::Program::parse_no_errs(black_box(&input_content)).unwrap())
});
/*group.bench_function("execute", |b| {
/*group.bench_function(format!("execute_{}", dir_name), |b| {
b.iter(|| {
let mut result = Err(());
for _ in 0..5 {