Uploaded image for project: 'Java Mission Control'
  1. Java Mission Control
  2. JMC-6674

Inefficient finding of first start time and first & last end times

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8.0.0
    • 8.0.0
    • Mission Control Core
    • None

      Using MinMax aggregators to find the first start time and the last end time of an IItemCollection is incredibly inefficient, since we're iterating through every event in lanes already sorted by timestamp. If we instead use the fact that these lanes are sorted, we can skip performing very costly comparisons 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.

            hdafgard Henrik Dafgård
            hdafgard Henrik Dafgård
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: