romcomma.user.contexts.Timer§

Timer(name='', is_inline=True)[source]§

Context Manager for timing operations.

Parameters:
  • name (str) – The name of this context, ``print``ed as what is being timed. The (default) empty string will not be timed.

  • is_inline (bool) – Whether to report timing inline (the default), or with linebreaks to top and tail a paragraph.