Skip to content

Commit

Permalink
fix: fix bench error
Browse files Browse the repository at this point in the history
  • Loading branch information
phoenix-ru committed Nov 2, 2023
1 parent e019232 commit ed68c65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/fervid/benches/codegen_bench.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ fn codegen_benchmark(c: &mut Criterion) {
let template_expr = ctx.generate_sfc_template(&template_block);
let script = swc_core::ecma::ast::Module { span: DUMMY_SP, body: vec![], shebang: None };
let sfc_export_obj = swc_core::ecma::ast::ObjectLit { span: DUMMY_SP, props: vec![] };
ctx.generate_module(Some(template_expr), script, sfc_export_obj, None, fervid_core::TemplateGenerationMode::RenderFn);
ctx.generate_module(Some(template_expr), script, sfc_export_obj, None);
},
criterion::BatchSize::SmallInput,
);
Expand Down

0 comments on commit ed68c65

Please sign in to comment.