In python/cpython#114664, I was experimenting with using pytest-perf to capture the import latency of importlib_metadata but learned that timeit may not support that use-case readily.
Let's explore if there's something pytest-perf can do to make measurement of import latency straightforward.
In python/cpython#114664, I was experimenting with using
pytest-perfto capture the import latency ofimportlib_metadatabut learned that timeit may not support that use-case readily.Let's explore if there's something pytest-perf can do to make measurement of import latency straightforward.