Crate typst_timing

Crate typst_timing 

Source
Expand description

Performance timing for Typst.

Macros§

timed
Creates a timing scope around an expression.

Structs§

TimingScope
A scope that records an event when it is dropped.

Functions§

clear
Clears the recorded events.
disable
Disable the timer.
enable
Enable the timer.
export_json
Export data as JSON for Chrome’s tracing tool.
is_enabled
Whether the timer is enabled.