Description
Description of the feature request
As part of our CI/CD pipelines it would be great to be able to run performance tests over each utility's code.
Problem statement
Relying on unit tests and integration tests help increasing the confidence over the production readiness of the code that's been added.
Since we are all humans who make mistakes, additional safety nets integrated via automation can hugely help.
We currently don't have such safety net when it comes to performance.
Summary of the feature
Add performance tests in our CI/CD pipelines.
TODO (each of these should probably be distinct pull requests) :
- Agree on the most suitable profiling technique / technology (based on DX, costs, ease of usage, capabilities, ...)
- Implement benchmarks to compare the performance of the features with the one of other established libraries or methodologies
- Define acceptable performance baselines and implement performance tests
- Optimize performance when needed
- Add performance tests in most suitable pipelines (for example: on push to branch, on merge to main)
Code examples
An example of technology we can vet could be Clinic.js. I haven't used it before and I am not sure how easy it is to integrate it as part of our pipelines, but worth looking into it in my opinion.
https://clinicjs.org/
Benefits for you and the wider AWS community
More performant production code for our community.
Describe alternatives you've considered
N/A
Additional context
N/A
Related issues, RFCs
N/A