Commit d37e917
Add benchmark workflow (#153)
*Issue #, if available:*
*Description of changes:*
This PR builds off of PR #122 and creates a benchmark workflow similar
to integration tests workflow that runs the benchmarks added in PR #122
Add two basic benchmarks
- One that performs cache hit retrievals
- One that intentionally yields cache misses on every retrieval
Using [criterion](https://docs.rs/criterion/latest/criterion/) (used by
the AWS SDK for Rust).
This hopefully will serve to catch performance regressions in future
code changes and open the door to profiling.
Successful run from fork:
https://github.com/reyhankoyun/aws-secretsmanager-agent/actions/runs/20082405961/job/57612354790
By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license.
---------
Signed-off-by: Simon Marty <simon.marty@protonmail.com>
Co-authored-by: Simon <simon.marty0@gmail.com>
Co-authored-by: Simon Marty <martysi@amazon.com>
Co-authored-by: Simon Marty <simon.marty@protonmail.com>1 parent 7c6a7bc commit d37e917
File tree
5 files changed
+860
-580
lines changed- .github/workflows
- aws_secretsmanager_caching
- benches
- src
5 files changed
+860
-580
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
0 commit comments