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

Document validation microbenchmarks do not correctly capture the cost of doc validation as the validator size increases

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Execution
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      It appears that the code measures different documents against different validators but all the cases cannot be compared against each other.

      Case one: documents have one field, validators validate one field.
      Case two: documents have ten fields, validators validate ten fields.

      We need to have case of same document and different validators so that it can be easy to observe how much validation costs (as you increase validator size against the same document).

            Assignee:
            Unassigned Unassigned
            Reporter:
            asya.kamsky@mongodb.com Asya Kamsky
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: