Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-85927

Reduce fuzzer comparison result speeds due to resolving Object.entries

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Query Optimization
    • 146

      SERVER-78357 introduced a change where we are correctly resolving Object.entries and iterating through the object. However, this change caused the fuzzers to slow down by 4x (BF-31522 and BF-31438). We did not want to revert the change since it is a correctness issue, but we believe the fuzzers might not have been affected by the original bug. However, initial attempts to avoid using Object.entries did not speed up the fuzzers, so we left this open to investigate for this project. Because of the slowdown we had to increase the timeout of multiple fuzzers or reduce the number of pipelines run (SERVER-85725 and SERVER-85780). Ideally we would be able to revert these changes if the fuzzers are running faster again.

      Most of the calls to Object.entries is coming from these lines when we are comparing results.

      We found DEVPROD-2814, which was already created to improve comparison result speed, but it was filed before SERVER-78357. This ticket should investigate the effects of SERVER-78357 and see where the slowdown is coming from.

            Assignee:
            backlog-query-optimization [DO NOT USE] Backlog - Query Optimization
            Reporter:
            gil.alon@mongodb.com Gil Alon
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: