pyquickbench.TimeTrain.tictoc#

property TimeTrain.tictoc#

Decorates a function to record a new wagon in the TimeTrain before and after each call.

By default, the first wagon (used for synchronization) is ignored.

See Time Trains for usage example.

Parameters:

name (str | None, optional) –

Optionally overrides the wrapped function’s name.

By default None.