New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Benchmarks - add ResponseTimeWrk files #2895
Conversation
All the Ruby files in this PR are namespaced in Testing - benchmark/local files Testing - test/rackup/ci-*.ru files Also, see TestPuma and the other modules/classes in its namespace. Sample Summary output:
Note the above was run with an update to Puma. Current master does not perform as well. PR for that shortly... |
fb5e6db
to
18aaea8
Compare
The above shows quite a few tests, one can also filter with the -b argument. For instance, the following is the output from just running File/IO bodies. The command line is listed along with other info at the bottom, and the Puma cmd line is listed at the top, so one can copy it and run a server as in the tests... I keep pulling these commits from branch to branch for local testing, so I'm thinking of committing it. Anyone tried it? Doc's may need some work, not sure.
|
Description
Puma handles four types of response bodies:
This PR provides a shell script and additional files to start a Puma server, then collect and summarize data from one or more 'wrk' runs, varying the body type and size. Arguments for the shell script allow one to specify one or more body types/sizes. Default creates 28 wrk runs, using all four above body types and sizes ranging from 1kB to 2,048 kB.
This PR only add files to a new 'benchmarks/local' directory and adds rackup files to 'test/rackup'
Your checklist for this pull request
[ci skip]
to the title of the PR.#issue
" to the PR description or my commit messages.