summaryrefslogtreecommitdiff
path: root/benches
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-10-17 14:38:48 +0200
committerLaurenz <laurmaedje@gmail.com>2021-10-23 20:23:47 +0200
commit5becb32ba463d6b0ace914ab06bb237483a94fbc (patch)
tree684efb242ddb04e71c54f9665cc59891f734e518 /benches
parentc627847cb39572c08f3b53db07ea325ef0d352fa (diff)
Introduce page / block / inline levels
Diffstat (limited to 'benches')
-rw-r--r--benches/oneshot.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/benches/oneshot.rs b/benches/oneshot.rs
index 57e3b339..6ce81a63 100644
--- a/benches/oneshot.rs
+++ b/benches/oneshot.rs
@@ -60,7 +60,7 @@ fn bench_eval(iai: &mut Iai) {
fn bench_to_tree(iai: &mut Iai) {
let (mut ctx, id) = context();
let module = ctx.evaluate(id).unwrap();
- iai.run(|| module.template.to_tree(ctx.style()));
+ iai.run(|| module.template.to_pages(ctx.style()));
}
fn bench_layout(iai: &mut Iai) {