Speed up Time for Coverage Combine · Issue #1483 · nedbat/coveragepy (original) (raw)

Is your feature request related to a problem? Please describe.
I am trying to setup a code coverage representation for my pull requests for specific number of tests. Using coverage combine to combine all the data files takes a lot of time which is not very ideal. Is there a quick resolution for this. I tried moving to 5.0 but the combine performance degraded from previous versions which has pickled dictionary as the datastore instead of sqlite.

Describe the solution you'd like
My idea is to somehow bring down the combine step in multiprocessing cases where we parallely run the tests and combine them at a later stage

Describe alternatives you've considered
For doing a per PR coverage i did consider using collector itself to have the data but i would want to avoid any usage of database from my side and if possible i would prefer using that coverage data file as that is much more convenient to debug
Additional context
Add any other context about the feature request here.