pcdsutils.import_timer.interpret_import_time

pcdsutils.import_timer.interpret_import_time(stats: list[ImportTimeStats]) dict[str, ModuleStatsSummary][source]

Summarize the results of the import time checker in an understandable way.

The output is a dictionary of top-level module import name to a ModuleStatsSummary instance that details how much time it took to import that module.

Parameters:
statslist of ImportTimeStats

All of the stats objects from a particular importtime output.