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

[APM]Improve performance of join_by_key #178177

Merged
merged 15 commits into from
Mar 7, 2024

Conversation

clyfish
Copy link
Contributor

@clyfish clyfish commented Mar 7, 2024

Summary

Improve performance of join_by_key from O(n^2) to O(n).
closes #176073
Fix https://discuss.elastic.co/t/kibana-terribly-slow-on-apm-traces/312664

@cauemarcondes
After solving the unit testing problem, the performance degraded back to O (n^2).
This PR fix the performance problem, please review and test again.

@clyfish clyfish requested a review from a team as a code owner March 7, 2024 06:41
@botelastic botelastic bot added the Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team label Mar 7, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services)

@cauemarcondes cauemarcondes added v8.14.0 release_note:skip Skip the PR/issue when compiling release notes labels Mar 7, 2024
@cauemarcondes
Copy link
Contributor

/ci

Copy link
Contributor

@cauemarcondes cauemarcondes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
apm 3.2MB 3.2MB -12.0B

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@cauemarcondes
Copy link
Contributor

run docs-build

@cauemarcondes cauemarcondes merged commit 2c32faf into elastic:main Mar 7, 2024
29 checks passed
@kibanamachine kibanamachine added the backport:skip This commit does not require backporting label Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting 💝community release_note:skip Skip the PR/issue when compiling release notes Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team v8.14.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Kibana terribly slow on /apm/traces
5 participants