Closed felixonmars closed 1 year ago
Base: 100.00% // Head: 100.00% // No change to project coverage :thumbsup:
Coverage data is based on head (
fc18bdb
) compared to base (60b9563
). Patch has no changes to coverable lines.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
pkg_resources is expensive to load, which takes more than 400ms here.
Let's use importlib.metadata from stdlib for Python 3.8+, and fallback to importlib_metadata for Python 3.7.
Note that
setuptools
was a missing runtime dependency before this change.This accelerates startup time significantly:
Before:
After: