Add benchmark to BSON representative of string parsing basic latin perf improvment

XMLWordPrintableJSON

    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Use Case

      NODE-5861

      As a Node.js engineer
      I want benchmarks that capture the performance of string parsing
      So that I can visualize the changes that optimizations like the basic latin change have on BSON

      User Impact

      • None

      Dependencies

      • BSON benchmarking tools

      Unknowns

      • None

      Acceptance Criteria

      Implementation Requirements

      • Add a benchmark that targets different string inputs
        • Empty
        • 1, 2, and 3 basic latin characters
        • 4-20 length basic latin strings
        • short 2, 3, and 4 byte utf sequences
        • very large basic latin string
        • very large multi-byte utf sequences
      • Test all of the above with and without validation

      Testing Requirements

      • None

      Documentation Requirements

      • None

      Follow Up Requirements

      • None

              Assignee:
              Unassigned
              Reporter:
              Neal Beeken
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: