mirror of
https://github.com/nushell/nushell.git
synced 2024-11-22 00:13:21 +01: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
@ -46,6 +46,7 @@ fn parser_benchmarks(c: &mut Criterion) {
|
||||
get_default_env().as_bytes(),
|
||||
"default_env.nu",
|
||||
PipelineData::empty(),
|
||||
false,
|
||||
)
|
||||
})
|
||||
});
|
||||
@ -65,6 +66,7 @@ fn parser_benchmarks(c: &mut Criterion) {
|
||||
get_default_config().as_bytes(),
|
||||
"default_config.nu",
|
||||
PipelineData::empty(),
|
||||
false,
|
||||
)
|
||||
})
|
||||
});
|
||||
@ -81,6 +83,7 @@ fn eval_benchmarks(c: &mut Criterion) {
|
||||
get_default_env().as_bytes(),
|
||||
"default_env.nu",
|
||||
PipelineData::empty(),
|
||||
false,
|
||||
)
|
||||
})
|
||||
});
|
||||
@ -100,6 +103,7 @@ fn eval_benchmarks(c: &mut Criterion) {
|
||||
get_default_config().as_bytes(),
|
||||
"default_config.nu",
|
||||
PipelineData::empty(),
|
||||
false,
|
||||
)
|
||||
})
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user