click-plugins icon indicating copy to clipboard operation
click-plugins copied to clipboard

Investigate performance

Open geowurster opened this issue 5 years ago • 1 comments

As indicated by https://github.com/pypa/setuptools/issues/510, pkg_resources is known to be slow. click-plugins leverages setuptools entry points to load CLI plugin commands but this comes with a performance hit for the entire CLI application. I don't think there is anything to be done about it directly but it is worth documenting the behavior and trying fast-entry_points.

geowurster avatar Sep 16 '18 00:09 geowurster

importlib_metadata.entry_points() is also faster than pkg_resources.

BlinkyStitt avatar Apr 30 '21 02:04 BlinkyStitt