Skip to content

BinaryFS: cache resolved methods - #9788

Open
mbien wants to merge 1 commit into
apache:masterfrom
mbien:binaryfs-caching
Open

mbien wants to merge 1 commit into
apache:masterfrom
mbien:binaryfs-caching

Conversation

@mbien

@mbien mbien commented Nov 6, 2026 •

Copy link
Copy Markdown
Member
  • cache resolved methods on startup (about 130)
  • avoid exceptions in an inner loop from getDelcaredMethod() by using getDeclaredMethods() and matching them by hand
  • the attrAskedFileObject query marked as "big hack" can be a constant

alternative for #9775

startup gain: ~120ms -> ~65ms (methodValue(...)). And once cached, every query becomes a hit.

 - cache resolved methods on startup (about 130)
 - avoid exceptions in an inner loop from getDelcaredMethod() by
   using getDeclaredMethods() and matching them by hand
 - the attrAskedFileObject query marked as "big hack" can be a constant
@mbien mbien added this to the NB33 milestone Nov 6, 2026
@mbien mbien added performance Platform [ci] enable platform tests (platform/*) ci:dev-build [ci] produce a dev-build zip artifact (7 days expiration, see link on workflow summary page) labels Nov 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:dev-build [ci] produce a dev-build zip artifact (7 days expiration, see link on workflow summary page) performance Platform [ci] enable platform tests (platform/*)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant