[Rev 01] RFR: 6674: Optimize finding of first start time and first & last end times
hdafgard at openjdk.java.net
Tue Jan 14 18:59:48 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.
- 25fb5af9: Update RulesToolkit.java
- all: https://git.openjdk.java.net/jmc/pull/31/files
- new: https://git.openjdk.java.net/jmc/pull/31/files/f6af24e4..25fb5af9
- full: https://webrevs.openjdk.java.net/jmc/31/webrev.01
- incr: https://webrevs.openjdk.java.net/jmc/31/webrev.00-01
Stats: 6 lines in 1 file changed: 0 ins; 0 del; 6 mod
Fetch: git fetch https://git.openjdk.java.net/jmc pull/31/head:pull/31
More information about the jmc-dev