[Rev 02] RFR: 6674: Optimize finding of first start time and first & last end times
Henrik Dafgård
hdafgard at openjdk.java.net
Wed Jan 15 17:32:06 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.
-------------
Added commits:
- 9fdd627c: Fix formatting
Changes:
- all: https://git.openjdk.java.net/jmc/pull/31/files
- new: https://git.openjdk.java.net/jmc/pull/31/files/25fb5af9..9fdd627c
Webrevs:
- full: https://webrevs.openjdk.java.net/jmc/31/webrev.02
- incr: https://webrevs.openjdk.java.net/jmc/31/webrev.01-02
Stats: 4 lines in 1 file changed: 2 ins; 0 del; 2 mod
Patch: https://git.openjdk.java.net/jmc/pull/31.diff
Fetch: git fetch https://git.openjdk.java.net/jmc pull/31/head:pull/31
PR: https://git.openjdk.java.net/jmc/pull/31
More information about the jmc-dev
mailing list