Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

History performance #891

Merged
merged 6 commits into from
Apr 29, 2021
Merged

History performance #891

merged 6 commits into from
Apr 29, 2021

Conversation

hcoles
Copy link
Owner

@hcoles hcoles commented Apr 29, 2021

Writing history information is stupidly slow for larger codebases as it collates class level coverage data from instruction level data with OMG complexity.

This change drives the history off of the legacy line coverage information, which was previously lazily calculated. Since a recent change this information is also used by the report aggregation system. To prevent accidental breakage by using data not present at aggregate time, the line coverage data has been hived off into a seperate class.

This horrific mess and needs revisting.

@hcoles
Copy link
Owner Author

hcoles commented Apr 29, 2021

An example project analysis time before = 1 hr, after = 45 min.

@hcoles hcoles merged commit 32ea625 into master Apr 29, 2021
@hcoles hcoles deleted the history_performance branch April 29, 2021 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant