Skip to main content

Module timing

Module timing 

Source
Expand description

Phase timing for performance work: with RETEX_TIMING set in the environment, mark prints the time elapsed since the first mark to stderr, and Accumulators report their totals at [report].

Structs§

Accumulator
A running total of time spent in some activity, with a call count.

Constants§

FONTS
Time spent loading fonts in the define_font callback.
LUA
Time spent running Lua code (\directlua, \luafunction, callbacks).

Functions§

enabled
Whether timing is enabled.
mark
Prints label with the time since the first call.