Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JPERF-1454 explain drilldowns #107

Merged
merged 17 commits into from
Jan 18, 2024
Merged

Conversation

dagguh
Copy link
Contributor

@dagguh dagguh commented Jan 18, 2024

No description provided.

dagguh and others added 16 commits January 11, 2024 16:54
Expect unexplained time to be smaller than current 900 ms.

TDD: red
But it's not enough to reduce unexplained time.

TDD: red
Reduce unexplained time, but it's not enough.

TDD: red
Reduce unexplained time even more.

TDD: red
Allow 1 ms for rounding errors.

TDD: red
Negative unexplained time means we added too much time segments.
This might mean we're double-counting a period of time
or we count things from outside the measurement.

TDD: red
Extract test cases as separate `@Test`.
No need to plot waterfalls in generic `shouldExplainAlmostEverything`,
because the specific test cases should plot their own.

TDD: red
Switch TimeTrain from Durations to Instants.
Without that, the ActionMetric.start and timeOrigin represented two
independent time axes. Comparing and subtracting durations from
different time dimensions was mind-bending. Now it's all the same time
axis: `Instant`.

Surprisingly, the old `shouldCalculateRainbowWithNavigation` case had
overblown `excessJavascript`, while in reality it's a huge `preNav`.
Thanks to timeOrigin we now can know if the missing time is after or
before the waterfall.
In this case it's `LogInAction`, which actually does two navigations
within the same `ActionMetric`, so the second one overwrites the first,
effectively hiding it from the waterfall.

TDD: green
@dagguh dagguh requested a review from a team as a code owner January 18, 2024 14:28
@mgrzaslewicz mgrzaslewicz force-pushed the issue/JPERF-1454-aggregate-waterfalls branch 4 times, most recently from 3a1e471 to 8e5d9f6 Compare January 18, 2024 15:44
@dagguh dagguh force-pushed the issue/JPERF-1454-aggregate-waterfalls branch from 8e5d9f6 to 4f8b734 Compare January 18, 2024 15:46
@dagguh dagguh enabled auto-merge (rebase) January 18, 2024 15:48
@dagguh dagguh changed the title JPERF-1454 aggregate waterfalls JPERF-1454 explain drilldowns Jan 18, 2024
@dagguh dagguh merged commit c40c2e3 into master Jan 18, 2024
3 checks passed
@dagguh dagguh deleted the issue/JPERF-1454-aggregate-waterfalls branch January 18, 2024 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants