-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Performance Benchmarking, TypeScript
Use Case
As a... user of the Node.js driver
I want... the node driver to proactively monitor its TS compilation time
So that... I don't experience excessive compilation times when upgrading to a new version of the driver
User Impact
- TS loading times affect how quickly users are able to build their applications for testing and deployment
Dependencies
- N/A
Unknowns
- What is the best way to get a consistent metric in CI? When measuring the TS compilation time, should we measure the absolute quantity or relative? Which version of TS should we build with?
Acceptance Criteria
Implementation Requirements
- Create a performance test to measure TS compilation time of the driver inside a test application
- Add a new task to the evergreen performance test variant
- Target the dedicated perf test distro
- Output the results into a json format and push it to the analytics backend using `perf.send`
Testing Requirements
- Confirm that the trend chart tab is present in the new CI task
Documentation Requirements
- N/A
Follow Up Requirements
- Consider whether it's worthwhile to independently test js-bson