Skip to content

perf: Replace getById call by getFirstNodeById#2237

Merged
mejo- merged 1 commit intomainfrom
carl/perf-getbyid
Feb 11, 2026
Merged

perf: Replace getById call by getFirstNodeById#2237
mejo- merged 1 commit intomainfrom
carl/perf-getbyid

Conversation

@CarlSchwan
Copy link
Copy Markdown
Member

We only use the first node anyway and getFirstNodeById is faster

📝 Summary

  • Resolves: #

🖼️ Screenshots

🏚️ Before 🏡 After
B A

🚧 TODO

  • ...

🏁 Checklist

  • Code is properly formatted (npm run lint / npm run stylelint / composer run cs:check)
  • Sign-off message is added to all commits
  • Tests (unit, integration and/or end-to-end) passing and the changes are covered with tests
  • Documentation (README or documentation) has been updated or is not required

@CarlSchwan CarlSchwan force-pushed the carl/perf-getbyid branch 3 times, most recently from 8209cb8 to bd75deb Compare February 5, 2026 12:37
We only use the first node anyway and getFirstNodeById is faster

Signed-off-by: Carl Schwan <carlschwan@kde.org>
@mejo- mejo- force-pushed the carl/perf-getbyid branch from bd75deb to 9e7b37e Compare February 11, 2026 17:27
@mejo- mejo- self-assigned this Feb 11, 2026
Copy link
Copy Markdown
Member

@mejo- mejo- left a comment

Choose a reason for hiding this comment

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

Thanks @CarlSchwan, much appreciated 🙏

@mejo- mejo- merged commit f0a6b9b into main Feb 11, 2026
53 of 55 checks passed
@mejo- mejo- deleted the carl/perf-getbyid branch February 11, 2026 17:46
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