Skip to content

Conversation

@marchof
Copy link
Member

@marchof marchof commented Mar 21, 2016

On the mailing list it was proposed to not dump empty probe arrays to execution data files:

https://groups.google.com/forum/?fromgroups=#!topic/jacoco/wQhTVf2zEtI

In case of repeated dumps (per-test coverage) this can lead to a significant performance improvement:

  • test time: 12hrs -> 1hr
  • jacoco.exec size: 93GB -> 1GB

Within JaCoCo there is no use for empty probe arrays vs. non existing ExecutionData entries. Therefore there is no need to dump such entries.

@marchof marchof added this to the 0.7.7 milestone Mar 21, 2016
@marchof marchof self-assigned this Mar 21, 2016
@marchof
Copy link
Member Author

marchof commented Mar 21, 2016

@Godin May I ask for a review, please?

@Godin
Copy link
Member

Godin commented Mar 21, 2016

@marchof sure! This seems to be a huge improvement. Will do today.

@Godin Godin assigned Godin and unassigned marchof Mar 21, 2016
@marchof
Copy link
Member Author

marchof commented Mar 21, 2016

@Godin Thx, feel free to merge if you agree with the implementation.

This optimizations reduces the size of exec files significantly in
setups where execution data is dumped after every test case.
@Godin Godin merged commit ea2f49f into master Mar 21, 2016
@Godin Godin deleted the issue-387 branch March 22, 2016 00:14
@Godin
Copy link
Member

Godin commented Mar 22, 2016

👍

@jacoco jacoco locked and limited conversation to collaborators Jan 11, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants