-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: BSON, Performance Benchmarking
-
Not Needed
Use Case
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
- related to
-
NODE-5861 Optimize short basic latin string parsing in BSON
- Closed