Skip to content

[8.18] [Investigations][Timeline] - Run Object.keys less frequently (#219629)#219748

Merged
kibanamachine merged 2 commits intoelastic:8.18from
kibanamachine:backport/8.18/pr-219629
May 7, 2025
Merged

[8.18] [Investigations][Timeline] - Run Object.keys less frequently (#219629)#219748
kibanamachine merged 2 commits intoelastic:8.18from
kibanamachine:backport/8.18/pr-219629

Conversation

@kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 8.18:

Questions ?

Please refer to the Backport tool documentation

…#219629)

## Summary

This PR makes a minor performance improvement by pulling out the
`Object.keys` call on `hit.fields` out of any unnecessary loops.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit fd4ff0a)
@kibanamachine kibanamachine added the backport This PR is a backport of another PR label Apr 30, 2025
@kibanamachine kibanamachine enabled auto-merge (squash) April 30, 2025 14:57
@michaelolo24
Copy link
Contributor

@elasticmachine merge upstream

@elasticmachine
Copy link
Contributor

There are no new commits on the base branch.

@kibanamachine kibanamachine merged commit 9507371 into elastic:8.18 May 7, 2025
8 checks passed
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

cc @michaelolo24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants