6936: Parser should track statistics during parsing #219
Add new IParserStats interface implemented by EventCollection. That way, IItemCollection is not touched, but you need to cast the instance to IParserStats. Support of old (v0.x) JFR format. During parsing, we collect number of events per type, the size, number of chunks and version of the file. We also track for version 1.x/2.x the number of skipped events. RecordPrinter tool class is modified to support a summary verbosity mode and -summary option to print statistics per event type.
@jpbempel This change now passes all automated pre-integration checks.
After integration, the commit message for the final commit will be:
At the time when this comment was updated there had been no new commits pushed to the
As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@thegreystone) but any other Committer may sponsor as well.