Comments (3)
should measure what is actually slow. it might not be collecting results. it might be loading pickle files that is slow
from alphatwirl.
it is gzip (unzip) that is slow rather than loading pickle files itself
ncalls tottime percall cumtime percall filename:lineno(function)
1 10.684 10.684 8287.002 8287.002 framework_delphes.py:89(__call__)
1 0.000 0.000 8213.789 8213.789 EventsInDatasetReader.py:57(end)
1 0.000 0.000 7779.011 7779.011 MPEventLoopRunner.py:84(end)
1 0.000 0.000 7779.011 7779.011 CommunicationChannel.py:120(receive)
1 0.079 0.079 7779.011 7779.011 TaskPackageDropbox.py:38(receive)
1042 5225.470 5.015 5225.470 5.015 {time.sleep}
271 0.005 0.000 2211.092 8.159 WorkingArea.py:61(collect_result)
271 426.554 1.574 2211.065 8.159 {cPickle.load}
533073087 1349.945 0.000 1784.455 0.000 gzip.py:248(read)
1 0.004 0.004 434.778 434.778 CollectorComposite.py:40(collect)
11 0.217 0.020 434.765 39.524 Collector.py:35(collect)
from alphatwirl.
This is implemented bb0c612.
big performance improvement!
results of the event loops are merged as they finish. in merging, the orders of results are preserved.
from alphatwirl.
Related Issues (20)
- handle TChain with no files HOT 1
- fix Read the Docs HOT 1
- RuntimeWarning in travis
- rename valOutColumnNames HOT 2
- should min be applied on bin boundaries rather than values? HOT 2
- develop progress presentation for jupyter notebook HOT 5
- fix travis for python 2.7 with ROOT HOT 11
- avoid mutable default HOT 1
- support the "with" statement for using "concurrently"
- support decorator for using "concurrently"
- allow elements of the option binnings of KeyValueComposer to be None
- ValueError with duplicate datasets HOT 4
- add unit tests to test if receive_one() in TaskPackageDropbox unpickles one result
- HTCondorJobSubmitter crashes if problem submitting HOT 1
- correct module names for multiple _deprecated_class_method_option
- "can't pickle _thread.lock" in ResumableDatasetLoop with SubprocessRunner in Python 3 HOT 1
- update tests for TaskPackageDropbox
- make simple_repr work HOT 1
- enable coverage in Travis-CI HOT 1
- ROOT is not imported in Travis HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alphatwirl.