Skip to content

Conversation

@joegallo
Copy link
Contributor

@joegallo joegallo commented Oct 22, 2024

The code for these streaming collections is hot enough to show up in a flamegraph, unrolling them isn't significantly less readable and it is faster.

Note: I'm optimizing the GeoIpDownloaderTaskExecutor#clusterChanged (coming in a future PR) and this jumped out at me in the flamegraphs as something nearby that was easy enough to improve while I was in the area.

@joegallo joegallo added :Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP >refactoring Team:Data Management Meta label for data/management team v9.0.0 v8.17.0 labels Oct 22, 2024
@joegallo joegallo requested a review from masseyke October 22, 2024 16:00
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-data-management (Team:Data Management)

@joegallo joegallo added the auto-backport Automatically create backport pull requests when merged label Oct 22, 2024
@joegallo joegallo merged commit 47c4909 into elastic:main Oct 22, 2024
16 checks passed
@joegallo joegallo deleted the optimize-ingest-service-templates branch October 22, 2024 20:05
joegallo added a commit to joegallo/elasticsearch that referenced this pull request Oct 22, 2024
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
8.x

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

Labels

auto-backport Automatically create backport pull requests when merged :Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP >refactoring Team:Data Management Meta label for data/management team v8.17.0 v9.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants