Skip to content

DisplayMode

Import DisplayMode from linescope to choose when a session displays its report. Enum constructors also accept the supported string values.

enum linescope.enums.DisplayMode[source]

Choose when a profiling session displays its report.

Display at completion, after each notebook cell, or only on request.

  • END
  • CELL
  • CELL_SUMMARY
  • NONE
Attributes

END : DisplayMode

Display one report when profiling completes.

CELL : DisplayMode

Display the current report after each notebook cell.

CELL_SUMMARY : DisplayMode

Display a compact inline summary of each notebook cell's measurements. Keep the full cumulative report available on request.

NONE : DisplayMode

Display reports only when explicitly requested.