Skip to content

v0.1.2

Choose a tag to compare

@github-actions github-actions released this 12 Nov 03:03
· 39 commits to main since this release
723a68a

Changed

  • Run without Plan.Raw now aggregates incrementally: records are folded into histograms as they arrive instead of being kept, so memory no longer grows with the number of requests (5 million requests: about 1165 MB → 9 MB of collector heap in one measurement). As a result, P50–P99 in that report are approximations within 1% relative error; count, min, max and mean stay exact. With Plan.Raw set, every record is kept and the percentiles are exact as before. BuildReport and FromRaw are unchanged.

Added

  • report.Aggregator, an incremental alternative to BuildReport; record.Observer and record.NewStreamingCollector, a Collector that hands records to an observer instead of keeping them.