Repository navigation
feat: add API benchmark suite - #81
Open
thefuturrjfhejh wants to merge 2 commits into
Open
thefuturrjfhejh wants to merge 2 commits into
thefuturrjfhejh wants to merge 2 commits into
Conversation
thefuturrjfhejh
force-pushed
the
codex/benchmark-suite-30
branch
from
May 17, 2026 15:24
aaff0ad to
5710d35
Compare
Author
|
Added the missing short demo artifact in |
Author
|
Adding the clickable demo link explicitly so it is not hidden as only a file path: https://github.com/thefuturrjfhejh/bug-bounty/blob/codex/benchmark-suite-30/benchmarks/results/demo.mp4 |
Code ReviewPR: feat: add API benchmark suite by @thefuturrjfhejh
Wallet: Code review for SecureBananaLabs bug-bounty |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
/claim #30
What changed
benchmarks/./api/*route on main: auth, users, jobs, proposals, payments, reviews, messages, notifications, uploads, search, and admin metrics.BENCHMARK_BASE_URL..env.benchmark.example, route inventory, threshold config, JSON + Markdown result output, and root scripts:npm run benchmarknpm run benchmark:smokeDemo
Validation
npm run test -w apps/api- 3 pass / 0 failnpm run benchmark:smoke- all 20 routes pass thresholdsBENCHMARK_DURATION_SECONDS=3 BENCHMARK_CONNECTIONS=4 npm run benchmark- wrotebenchmarks/results/latest.jsonandbenchmarks/results/latest.mdnode --check benchmarks/run.mjsgit diff --checkffmpeg -v error -i benchmarks/results/demo.mp4 -f null -Latest benchmark summary
The committed
benchmarks/results/latest.mdcontains the full table. The slowest p99 in the latest local run wasPOST /api/auth/loginat 32ms; all routes had0error rate and0non-2xx rate.Note
I could not add a GitHub Actions workflow from this token because GitHub rejected workflow-file pushes without
workflowOAuth scope. The smoke gate is implemented asnpm run benchmark:smokeand can be wired into CI by maintainers with workflow permissions.