We currently have no way to measure the performance of some functions in the package, or to track performance regressions of said functions.
Packages like pytest-benchmark plug directly into pytest, but Python also comes with its own profiler and visualizer.
There’s a related discussion here: python/mypy#14187