Importing humanize is slow
See original GitHub issueI have noticed that importing humanize noticeably increases the startup time of my CLI. After doing some importtime
analysis, I think the underlying problem is that importing pkg_resources
is slow.
Is is it possible to replace the usage of pkg_resources.get_distribution
in __init__.py
with something that isn’t as expensive to import?
Issue Analytics
- State:
- Created 2 years ago
- Comments:9
Top Results From Across the Web
What is slowing down the dev process ? A data-driven approach
Let's get an idea of overall duration import numpy as np import humanize all_case_durations = pm4py.get_all_case_durations(filtered_log) ...
Read more >humanize-plus - npm
Start using humanize-plus in your project by running `npm i humanize-plus`. ... Very useful for slow paces. second = 1000. week = 6.048e8....
Read more >Humanize settings | VI-CONTROL
For my current project I'm importing the midi from Sibelius into Logic ... various results - for example the "Slow Strings" reference events ......
Read more >Performance problem with python elementTree XML parser
I have a memory problem with parsing the large XML file. The file looks like (just first few rows): <?xml version="1.0" encoding=" ...
Read more >Slow upload : Customer Support - Hippo Video
Time taken to upload a video might vary a bit depending on the file size, Internet bandwidth, and system usage. To fix the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It is not good enough to consider constant but it is 3 times faster than it was before, which is why I closed this. Happy to reopen if you think that there is more to be done.
Closed by #227.