You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(k6): add wrk-style benchmarks and product ID testing scripts
- Add k6 benchmark scripts for wrk-style output format
- Add benchmark targets to Makefile for all environments
- Create product-by-id benchmark scripts for DB and projection endpoints
- Add cycling through product IDs for realistic testing
- Update documentation with benchmark usage instructions
- Add performance testing images and examples
New scripts:
- k6/wrk_style_benchmark.js: Sequential wrk-style benchmarks
- k6/get_product_by_id.js: Single product ID testing
- k6/get_product_by_id_random.js: Cycling through DB product IDs
- k6/get_product_by_id_projection.js: Cycling through projection IDs
- k6/benchmark_comparison.js: Parallel benchmark comparison
- run_benchmarks.sh: Shell script for sequential testing
Makefile additions:
- benchmark-franken, benchmark-franken-worker, benchmark-fpm
- benchmark-product-by-id-* targets for single ID testing
- benchmark-product-random-* targets for DB endpoint cycling
- benchmark-product-projection-* targets for projection endpoint cycling
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
0 commit comments