Skip to content

Add POJO codec benchmark suite#1887

Draft
vbabanin wants to merge 4 commits intomongodb:mainfrom
vbabanin:pojo-benchmarks
Draft

Add POJO codec benchmark suite#1887
vbabanin wants to merge 4 commits intomongodb:mainfrom
vbabanin:pojo-benchmarks

Conversation

@vbabanin
Copy link
Member

  • Add PojoBenchmarkSuite to measure POJO codec performance and track regressions
  • Add Tweet, LargeDoc, TreeNode POJOs to test typical document structures
  • Add @BsonExtraElements pattern testing via LargeDoc for dynamic fields
  • Add polymorphic Node/BranchNode/LeafNode with @BsonDiscriminator to measure inheritance overhead
  • Add benchmarks for encoding/decoding, find, insert, and bulk operations using POJOs

- Add PojoBenchmarkSuite to measure POJO codec performance and track regressions
- Add Tweet, LargeDoc, TreeNode POJOs to test typical document structures
- Add @BsonExtraElements pattern testing via LargeDoc for dynamic fields
- Add polymorphic Node/BranchNode/LeafNode with @BsonDiscriminator to measure inheritance overhead
- Add benchmarks for encoding/decoding, find, insert, and bulk operations using POJOs
@vbabanin vbabanin self-assigned this Feb 13, 2026
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.

1 participant

Comments