kuanb / peartree

peartree: A library for converting transit data into a directed graph for sketch network analysis.
MIT License
201 stars 23 forks source link

[performance] cProfile and visualize library performance with a single script #54

Closed kuanb closed 6 years ago

kuanb commented 6 years ago

End visual: image

Using snakeviz since it is "good enough" and much simpler than dealing with kcachegrind set up in an OS project...

codecov[bot] commented 6 years ago

Codecov Report

Merging #54 into master will increase coverage by 1.22%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #54      +/-   ##
==========================================
+ Coverage   92.54%   93.77%   +1.22%     
==========================================
  Files          10       10              
  Lines         617      803     +186     
==========================================
+ Hits          571      753     +182     
- Misses         46       50       +4
Impacted Files Coverage Δ
peartree/utilities.py 50.87% <100%> (ø) :arrow_up:
peartree/graph.py 96.53% <0%> (-0.84%) :arrow_down:
peartree/summarizer.py 97.62% <0%> (+0.9%) :arrow_up:
peartree/paths.py 96.72% <0%> (+1.06%) :arrow_up:

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 7f6862d...3ac7473. Read the comment docs.