mirror of
https://github.com/nushell/nushell
synced 2024-12-26 13:03:07 +00:00
Fix code in benchmarks (#7949)
# Description Broken after #7415 We currently don't try to build the benchmarks in the CI thus this slipped through the cracks. # User-Facing Changes None # Tests + Formatting Compile check is currently missing, but working towards that
This commit is contained in:
parent
f189ee67a1
commit
215ed141e7
1 changed files with 4 additions and 0 deletions
|
@ -46,6 +46,7 @@ fn parser_benchmarks(c: &mut Criterion) {
|
||||||
get_default_env().as_bytes(),
|
get_default_env().as_bytes(),
|
||||||
"default_env.nu",
|
"default_env.nu",
|
||||||
PipelineData::empty(),
|
PipelineData::empty(),
|
||||||
|
false,
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
|
@ -65,6 +66,7 @@ fn parser_benchmarks(c: &mut Criterion) {
|
||||||
get_default_config().as_bytes(),
|
get_default_config().as_bytes(),
|
||||||
"default_config.nu",
|
"default_config.nu",
|
||||||
PipelineData::empty(),
|
PipelineData::empty(),
|
||||||
|
false,
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
|
@ -81,6 +83,7 @@ fn eval_benchmarks(c: &mut Criterion) {
|
||||||
get_default_env().as_bytes(),
|
get_default_env().as_bytes(),
|
||||||
"default_env.nu",
|
"default_env.nu",
|
||||||
PipelineData::empty(),
|
PipelineData::empty(),
|
||||||
|
false,
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
|
@ -100,6 +103,7 @@ fn eval_benchmarks(c: &mut Criterion) {
|
||||||
get_default_config().as_bytes(),
|
get_default_config().as_bytes(),
|
||||||
"default_config.nu",
|
"default_config.nu",
|
||||||
PipelineData::empty(),
|
PipelineData::empty(),
|
||||||
|
false,
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue