Skip to content

Instantly share code, notes, and snippets.

@clkao
Created February 23, 2010 07:27
Show Gist options
  • Save clkao/311965 to your computer and use it in GitHub Desktop.
Save clkao/311965 to your computer and use it in GitHub Desktop.
Testing implementations: HTTP::Server::PSGI, HTTP::Server::PSGI, Twiggy, Starman
app: eg/dot-psgi/Hello.psgi
ab: ab -t 1 -c 10 -k
URL: http://127.0.0.1/
-- server: HTTP::Server::PSGI
Finished 1863 requests
Requests per second: 1862.76 [#/sec] (mean)
-- server: HTTP::Server::PSGI (workers=10)
Finished 2784 requests
Requests per second: 2783.39 [#/sec] (mean)
-- server: Twiggy
Finished 3715 requests
Requests per second: 3714.98 [#/sec] (mean)
-- server: Starman (workers=10)
2010/02/23-15:27:25 Starman::Server (type Net::Server::PreFork) starting! pid(2989)
Binding to TCP port 10001 on host *
Setting gid to "20 20 20 98 103 81 79 101 80"
Completed 5000 requests
Finished 6014 requests
Requests per second: 6006.73 [#/sec] (mean)
2010/02/23-15:27:26 Server closing!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment