Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

HTTP performance testing

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 c
Octocat-spinner-32 clj-aleph
Octocat-spinner-32 clj-jetty
Octocat-spinner-32 erlang
Octocat-spinner-32 go
Octocat-spinner-32 java-netty
Octocat-spinner-32 java-nio
Octocat-spinner-32 node
Octocat-spinner-32 ruby
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .rvmrc
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 README.md
Octocat-spinner-32 hellod
Octocat-spinner-32 hellod.rb
Octocat-spinner-32 results.md
Octocat-spinner-32 test-all.sh
README.md

HelloD

Testing high performance HTTP "Hello World" servers.

Ruby - port 8080

gem install eventmachine http_parser.rb
ruby ruby/server.rb

Node - port 8081

brew install node
node node/server.js

Go - port 8082

easy_install mercurial
brew install go
export GOROOT=/usr/local/Cellar/go/r60.1
cd go
make
./hellod

Clojure - port 8083

Install Leiningen from https://github.com/technomancy/leiningen
cd clj ; lein run

Erlang - port 8084

brew install -v erlang --use-gcc
brew install rebar
cd erlang; ./shell
# in shell
> application:start(hello).

NOTE: you need the trailing '.' in the shell.

C / libev - port 8085

brew install libev (or apt-get install libev libev-dev)
make
./hellod

Java / Simple Java NIO - port 8086

cd java-nio
./compile 
./hellod

Java / JBoss Netty (w/ NIO) - port 8087

cd java-netty
./compile 
./hellod

Benchmark

ab -n 10000 -c 100 http://localhost:8080/

or 8081 or 8082...

Something went wrong with that request. Please try again.