[go: up one dir, main page]

Crate crityp

Source
Expand description

Crityp is a crate for benchmarking typst code.

§Usage

let mut crit = criterion::Criterion::default();
let mut verse = tinymist_world::CompileOnceArgs::parse().resolve()?;
let mut world = verse.snapshot();
crityp::bench(&mut crit, &mut world)?;
crit.final_summary();

Functions§

bench
Runs benchmarks on the given world. An entry point must be provided in the world.