Add benchmark rate limiter bypass flag#7
Merged
codeboost-tr merged 4 commits intoJun 19, 2026
Merged
Conversation
Owner
|
Please run |
Author
|
Added the generated diagnostic artifacts from |
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.
Summary
Adds a
--disable-rate-limiteroption totools/benchmark.pyso benchmark runs can bypass client-side request pacing without editing YAML configuration. Closes #4.Changes
--disable-rate-limiterflag, available before or after the benchmark subcommand.Testing
python3 -m py_compile tools/benchmark.pypython3 tools/benchmark.py --help | rg -- '--disable-rate-limiter'python3 tools/benchmark.py throughput --help | rg -- '--disable-rate-limiter'python3 tools/benchmark.py --endpoint http://127.0.0.1:9 --disable-rate-limiter throughput --duration 0python3 tools/benchmark.py --endpoint http://127.0.0.1:9 throughput --disable-rate-limiter --duration 0python3 tools/benchmark.py --endpoint http://127.0.0.1:9 throughput --duration 0 --target-rps 0returned exit code 2 with a rate-limiter configuration error.python3 tools/benchmark.py --endpoint http://127.0.0.1:9 spike --disable-rate-limiter --duration 0python3 build.pyBuild result: 7/10 modules passed locally. The passing modules were backend, frontend, market, engine, v2-market-stream, nfc-scanner, and openapi-tools. The existing failures were frailbox C compilation, missing local Java runtime for compliance, and missing Haskell
Data.Yamlfor openapi-haskell.diagnostic/build-e46d62e6.jsonis committed with the diagnostic summary. The.logdpack step did not create a logd artifact and the JSON records the pack error code.Checklist