tests.profiling.utils_pyinstrument

Wrapper for the pyinstrument profiler

Classes

class tests.profiling.utils_pyinstrument.PyInstrumentProfiler(name, print_to_console=False)

Bases: Profiler

Wrapper for the pyinstrument profiler

Parameters:
  • name (str)

  • print_to_console (bool)

Functions

tests.profiling.utils_pyinstrument.process(profiler, name, print_to_console=False)
Parameters:
  • profiler (Profiler)

  • name (str)

  • print_to_console (bool)