Skip to content
Discussion options

You must be logged in to vote

Thanks for the clarification. Based on your feedback, I’ve conducted a quick benchmark to observe the behavior of jsondb and bsondb adapters under repeated read operations.

Key Observations from my results:

  • Memory Growth: jsondb shows a significant Heap increase during repeated gets (+84MB), confirming that data is likely parsed on demand without a persistent cache, leading to higher GC pressure.
  • BSON Efficiency: Interestingly, bsondb remained extremely stable after the initial load (+0MB delta on repeated reads), suggesting it handles memory much more efficiently for local datasets.
  • Release Mechanism: I noticed that a manual release or closure helps drop the Heap usage significantly (fr…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by MZRCode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants