Skip to content

Speed up Time for Coverage Combine #1483

Closed
@tanmayzengit

Description

@tanmayzengit

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions