This repo is to store some very simple web apps for us to easily run benchmarks on them.
These apps will have similar logic:
- Renders
"Hello World"
- Sets header
Content-Type
totext/html
For now we have following apps:
puma_test
: A simple rack app run by puma, just runpuma -C puma_test/puma.rb
. This will run on0.0.0.0:8080
by default.goby_simple_server
: A goby app uses built in simple server. Rungoby goby_simpler_server.gb
should work. This runs onlocalhost:3000
by default. (Rungoby -v
to make sure you're using the latest version).
I use Apache bench
(ab
) to do the benchmark, with flags -n 10000 -c 100