Skip to content

chore(perf-test): add reproducible OxyRoute vs FastAPI bench harness - #87

Merged
ZhuchkaTriplesix merged 1 commit into
devfrom
chore-perf-test-harness
Apr 27, 2026
Merged

ZhuchkaTriplesix merged 1 commit into
devfrom
chore-perf-test-harness

Conversation

@ZhuchkaTriplesix

Copy link
Copy Markdown
Member

Summary

  • Adds perf-test/ with two minimal hello-world apps (OxyRoute and FastAPI) and bench.sh that runs three wrk rounds against each via tuned Granian.
  • The script prints per-run RPS / latency and a summary with mean / median and the relative delta between OxyRoute and FastAPI.
  • Used by the v0.3.0 throughput work to publish before/after numbers per issue.

Test plan

  • bash perf-test/bench.sh (manual, requires wrk + granian + uv)

Lightweight harness for tracking RSGI throughput vs FastAPI:

- perf-test/app.py / perf-test/fastapi_app.py: identical hello endpoints
- perf-test/bench.sh: tuned Granian launch + 3x wrk runs + summary
- perf-test/README.md: prerequisites and run instructions

Used for milestone v0.3.0 perf work to publish before/after deltas.

@ZhuchkaTriplesix ZhuchkaTriplesix left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

123

@ZhuchkaTriplesix
ZhuchkaTriplesix merged commit d1ef728 into dev Apr 27, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant