timer#

tradeexecutor.utils.timer module.

Module description#

Function wall clock time tracking.

Provide helpers to understand which parts of the hot code paths take most of the time.

Functions#

timed_task(task_name, **context_info)

A simple context manger to measure the duration of different tasks.