forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Profiling] Diff topN functions impact estimate fix (elastic#163749)
Context: A few weeks ago I merged a PR that moved the calculation of the impact estimate to the server. But by doing so I missed an essential part to calculate it correct, the scale factor that is defined in the UI. I'm reverting that change and making the calcs in the client again. Along with that I fixed a problem and refactored the function that calculate the impact simplifying it. Before: <img width="1313" alt="Screenshot 2023-08-14 at 10 06 39 AM" src="https://github.com/elastic/kibana/assets/55978943/c4cda975-4659-4570-afbe-4510f4e6c4fa"> After: <img width="1320" alt="Screenshot 2023-08-14 at 10 07 29 AM" src="https://github.com/elastic/kibana/assets/55978943/98e20fc3-00bd-4266-8c8d-07fb6662c9e9"> <img width="1704" alt="Screenshot 2023-08-16 at 10 03 52 AM" src="https://github.com/elastic/kibana/assets/55978943/9dc780b2-b674-4d83-90e3-7865936dbeaf">
- Loading branch information
1 parent
d725c28
commit 1efec8e
Showing
15 changed files
with
271 additions
and
179 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.