Closed kuanb closed 6 years ago
Note: Tests err'ing at tests/test_paths.py::test_synthetic_network make
.
Error is related to writing to memory process does not own: make: *** [test] Abort trap: 6
Merging #60 into master will decrease coverage by
1.13%
. The diff coverage is96.46%
.
@@ Coverage Diff @@
## master #60 +/- ##
==========================================
- Coverage 92.8% 91.66% -1.14%
==========================================
Files 10 11 +1
Lines 639 672 +33
==========================================
+ Hits 593 616 +23
- Misses 46 56 +10
Impacted Files | Coverage Δ | |
---|---|---|
peartree/paths.py | 95.65% <ø> (ø) |
:arrow_up: |
peartree/toolkit.py | 95.93% <88.88%> (+0.13%) |
:arrow_up: |
peartree/summarizer.py | 90% <90%> (-7.08%) |
:arrow_down: |
peartree/parallel.py | 97.87% <97.87%> (ø) |
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 226fe71...1939147. Read the comment docs.
Fixes https://github.com/kuanb/peartree/issues/59
Work towards dealing with https://github.com/kuanb/peartree/issues/12
Utilizes the
BaseManager
class to enable themultiprocessing
starmap
operation's mapped function to access a shared object containing read-only reference data needed by the function being run in parallel.Short GIF capturing
htop
output while peartree is run on a sample GTFS feed in a docker container with access to 2 CPUs.Performance of
run_etl.py
profiler script (runs graph extraction on AC Transit feed) on 2016 MBP:H/T to @bryanculbertson for pointing me in the right direction with this.