Analyze and improve performance Phase 2

XMLWordPrintableJSON

    • Performance Improvements Phase 2
    • Java Drivers
    • None
    • Hide
      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?
      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • To Do
    • None
    • 0
    • 0
    • 0
    • 100
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      There are both known and potential opportunities to improve performance across the Java driver. This epic covers investigating those opportunities and implementing the optimizations.

      Current high-impact candidates include POJO codecs (a very common encode/decode path for applications) and RawBsonDocument. We currently have no POJO codec benchmark coverage and therefore no time-series visibility for that path, so regressions or improvements can go unnoticed.

      Key considerations:

      • Benchmark coverage and time-series tracking for POJO codecs and RawBsonDocument to detect regressions and validate wins.
      • Benchmarks that run through common frameworks (e.g., Spring Data, Quarkus), since many applications consume the driver via frameworks and performance characteristics can differ from driver-only microbenchmarks.
      • Running benchmarks across multiple Java versions, since optimization impact varies by JDK (e.g., custom little-endian encode/decode can be faster on JDK 8 but worse on JDK 11+ due to vectorization/intrinsics).

      //TBD

            Assignee:
            Unassigned
            Reporter:
            Slav Babanin
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              None
              None
              None
              None
              None
              None