https://github.com/goby-lang/server_benchmarks
https://github.com/goby-lang/server_benchmarks
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/goby-lang/server_benchmarks
- Owner: goby-lang
- Created: 2017-06-05T08:09:50.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-09-03T12:43:34.000Z (almost 8 years ago)
- Last Synced: 2024-02-25T00:33:09.403Z (over 1 year ago)
- Language: Ruby
- Size: 3.91 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Server benchmarks
## Apps
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` to `text/html`## How to start apps
For now we have following apps:
- `puma_test`: A simple rack app run by puma, just run `puma -C puma_test/puma.rb`. This will run on `0.0.0.0:8080` by default.
- `goby_simple_server`: A goby app uses built in simple server. Run `goby goby_simpler_server.gb` should work. This runs on `localhost:3000` by default. (Run `goby -v` to make sure you're using the latest version).## Script
I use `Apache bench` (`ab`) to do the benchmark, with flags `-n 10000 -c 100`