[Rev 05] RFR: 6674: Optimize finding of first start time and first & last end times
hdafgard at openjdk.java.net
Mon Jan 27 19:57:08 UTC 2020
> This optimization relies on the fact that event lanes are sorted by timestamp. This allows us to skip performing very costly comparisons when finding the first start time or first/last end times of an IItemCollection and instead just get the first or last events in each lane and find the event in that set that was earliest or last, respectively.
> This PR also removes the associated aggregators to strongly encourage downstream users to make use of the added RulesToolkit methods.
The pull request has been updated with 1 additional commit.
- f18c5d8e: Fix formatting
- all: https://git.openjdk.java.net/jmc/pull/31/files
- new: https://git.openjdk.java.net/jmc/pull/31/files/5fddd578..f18c5d8e
- full: https://webrevs.openjdk.java.net/jmc/31/webrev.05
- incr: https://webrevs.openjdk.java.net/jmc/31/webrev.04-05
Stats: 6 lines in 1 file changed: 3 ins; 0 del; 3 mod
Fetch: git fetch https://git.openjdk.java.net/jmc pull/31/head:pull/31
More information about the jmc-dev