Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-5813

Enable Spec Performance Tests for Netty Provider

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • 5.5.0
    • Affects Version/s: None
    • None
    • Java Drivers
    • Not Needed
    • 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?
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, spec performance tests run only on the default SocketStream and ByteBufferNIO implementations. However, as we introduce performance optimizations to the driver’s networking, decoding, and encoding layers, these changes may impact both the default implementation and the Netty provider. To ensure comprehensive performance validation, we need to extend the performance test suite to run on Netty.

      Running Netty-based performance tests helps detect unintended regressions and provides a baseline time series for performance validation. 

      Since the majority of performance-related changes are surfaced with SocketStream and ByteBufferNIO, which are already tested on every commit, running Netty performance tests on each commit is unnecessary. These implementations provide sufficient early detection of regressions for most optimizations. However, Netty should be tested occasionally to ensure that performance changes do not introduce regressions specific to that provider.

            Assignee:
            slav.babanin@mongodb.com Slav Babanin
            Reporter:
            slav.babanin@mongodb.com Slav Babanin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              None
              None
              None
              None