Bryan Boreham
3309d09ad8
Remove slower mergers
2018-06-22 11:59:43 +00:00
Bryan Boreham
1706746a32
Faster report merging through mutating objects
...
When we know we have the only reference to a Report or Node object we
can avoid copying the data to change it. Add "Unsafe" variants of
various Merge operations which mutate the receiver, and a new Merger
which takes advantage of them.
2018-06-22 11:59:43 +00:00
Bryan Boreham
593952cd6e
Move report creation outside of timing loop
2018-04-12 10:02:50 +00:00
Matthias Radestock
5b30b668ae
refactor: don't return receiver in Topology.AddNode()
...
This had little use and was obscuring the mutating nature of
AddNode().
2018-02-19 05:10:04 +00:00
Matthias Radestock
f305c35bfd
do not report allocations in benchmarks
...
That's what -benchmem is for.
2017-12-07 20:27:31 +00:00
Jonathan Lange
1020fc5f85
Use test.Diff from common
2016-12-07 11:22:40 +00:00
Matthias Radestock
902ba88479
make smartMerger.Merge merge reports in parallel
...
for reduced latency
2016-08-24 08:02:23 +01:00
Tom Wilkie
2dae03501e
Remove the caching
2016-05-09 10:08:14 +01:00
Tom Wilkie
71d3126c82
Limit merge cache to 200 entries and expire entries old than merge window.
2016-05-06 17:54:57 +01:00
Tom Wilkie
54a760a56d
Log(n) complexity report merger.
2016-05-04 17:53:09 +01:00