-
-
Notifications
You must be signed in to change notification settings - Fork 283
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Performance improvements to CoberturaParser
- Try and re-use already filtered XElements in `CoberturaParser` rather than re-filtering the xml document all over the place. - Optimise some `string.Concat` in `ProcessClass` method which were showing up in hot paths in profiling In local testing, this reduces parsing time from roughly 11.5secs to 9 seconds, as well as reducing memory allocations from 17GB to 2.2GB.
- Loading branch information
Showing
1 changed file
with
42 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters