Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-2845

Add JSON benchmarks

    • Needed
    • Hide

      Summary of necessary driver changes

      •  

      Commits for syncing spec/prose tests
      (and/or refer to an existing language POC if needed)

      •  

      Context for other referenced/linked tickets

      •  
      Show
      Summary of necessary driver changes   Commits for syncing spec/prose tests (and/or refer to an existing language POC if needed)   Context for other referenced/linked tickets  
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      PYTHON-4125 Fixed 4.7
      $i18n.getText("admin.common.words.show")
      #scriptField, #scriptField *{ border: 1px solid black; } #scriptField{ border-collapse: collapse; } #scriptField td { text-align: center; /* Center-align text in table cells */ } #scriptField td.key { text-align: left; /* Left-align text in the Key column */ } #scriptField a { text-decoration: none; /* Remove underlines from links */ border: none; /* Remove border from links */ } /* Add green background color to cells with FixVersion */ #scriptField td.hasFixVersion { background-color: #00FF00; /* Green color code */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } Key Status/Resolution FixVersion PYTHON-4125 Fixed 4.7

      Summary

      Add cross driver benchmarks for JSON encoding/decoding. We already have cross driver benchmarks for BSON encoding/decoding here: https://github.com/mongodb/specifications/blob/master/source/benchmarking/benchmarking.md#bson-micro-benchmarks

      We should add JSON equivalents.

      Motivation

      I added JSON benchmarks to pymongo in PYTHON-4125 and they were instrumental in making a number of JSON performance optimizations (PYTHON-4204, PYTHON-4179, PYTHON-4143, PYTHON-4144).

      Adding these benchmarks also lets us compare JSON performance across drivers.

      Is this ticket only for tests?

      Yes only tests, although when analyzing the new perf results driver may be able to identify perf improvements.

            Assignee:
            Unassigned Unassigned
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: