FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

attempt to improve import time by samuelcolvin · Pull Request #50 · samuelcolvin/python-devtools · GitHub

attempt to improve import time - #50

Merged
samuelcolvin merged 7 commits into
masterfrom
import-speedup-rough
May 29, 2020
Merged

attempt to improve import time#50
samuelcolvin merged 7 commits into
masterfrom
import-speedup-rough

Conversation

Copy link
Copy Markdown
Owner

ref #49

Using tuna to try and improve load time.

For me this improves devtools import time from 0.133s to 0.011s - more than a 10x speedup.

Won't pass yet and will need work, but this should be a good start.

Copy link
Copy Markdown

The lazyasd package might be helpful for this.

codecov Bot commented May 29, 2020
edited
Loading

Copy link
Copy Markdown

Codecov Report

Merging #50 into master will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master       #50   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            4         5    +1     
  Lines          362       385   +23     
  Branches        57        58    +1     
=========================================
+ Hits           362       385   +23     
Impacted Files Coverage Δ
devtools/ansi.py 100.00% <100.00%> (ø)
devtools/debug.py 100.00% <100.00%> (ø)
devtools/timer.py 100.00% <100.00%> (ø)
devtools/utils.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 816cdde...71941be. Read the comment docs.

samuelcolvin changed the title WIP attempt to improve import time attempt to improve import time May 29, 2020
samuelcolvin marked this pull request as ready for review May 29, 2020 10:39
samuelcolvin merged commit 0ea775f into master May 29, 2020
samuelcolvin deleted the import-speedup-rough branch May 29, 2020 11:56
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL