Reduce NAN-normalization impact in fuzzer tests

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • Fully Compatible
    • QE 2026-05-25
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      SERVER-123514 introduced NAN value normalization for the result comparison. Unfortunately, the normalization takes a lot of time sometimes doubling the total test runtime. We can try decreasing normalization time with some changes to the normalization method.

      Some ideas:

      • modify the result in-place instead of returning a deep copy
      • pre-filtering on /[+-]NAN/ before normalization
      • make the regular expression non-capturing, i.e., /^[+-]?nan(?:(ind))?$/i
      • push this normalization after tryFastPathComparison()
      • ...

            Assignee:
            Romans Kasperovics
            Reporter:
            Romans Kasperovics
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: