Problem
The to_request implementation is supposed to be called for every http call. We want to make sure that it's as fast as possible.
Solution
We need to perform a deep analysis of how it can be implemented in the fastest way possible. We write benchmarks to showcase current performance of the function and then once optimized show % improvements.
Technical Requirements
- Write benchmarks and optimize
RequestTemplate::to_request.
- Showcase initial performance number and numbers after optimizations.
Additional Notes:
- Performance can be improved by reducing allocations and using references.
- Reducing overall compute requirements.
- Pre-computing the request from a template in scenarios where it's possible.
Problem
The
to_requestimplementation is supposed to be called for every http call. We want to make sure that it's as fast as possible.Solution
We need to perform a deep analysis of how it can be implemented in the fastest way possible. We write benchmarks to showcase current performance of the function and then once optimized show % improvements.
Technical Requirements
RequestTemplate::to_request.Additional Notes: