fix(bench): Didn't update benches
@@ -8,19 +8,13 @@ static TEXT_ONLY: &'static str = "Hello World";
#[bench]
fn bench_parse_text(b: &mut test::Bencher) {
- let parser = liquid::ParserBuilder::with_stdlib()
- .extra_filters()
- .build()
- .unwrap();
+ let parser = liquid::ParserBuilder::with_stdlib().build().unwrap();
b.iter(|| parser.parse(TEXT_ONLY));
}
#[bench]
fn bench_render_text(b: &mut test::Bencher) {
- let parser = liquid::ParserBuilder::with_stdlib()
- .extra_filters()
- .build()
- .unwrap();
+ let parser = liquid::ParserBuilder::with_stdlib().build().unwrap();
let template = parser
.parse(TEXT_ONLY)
.expect("Benchmark template parsing failed");
