Skip to content

Instantly share code, notes, and snippets.

@kazuho
Created September 17, 2009 06:08
Show Gist options
  • Save kazuho/188369 to your computer and use it in GitHub Desktop.
Save kazuho/188369 to your computer and use it in GitHub Desktop.
Ubuntu 8.04.2?; x86_64; perl 5.8.8; Core 2 Quad @ 3GHz
$ benchmarks/ab.pl -app=eg/dot-psgi/Hello.psgi --bench='ab -n 10000 -c 10 -k' 2> /dev/null
app: eg/dot-psgi/Hello.psgi
ab: ab -n 10000 -c 10 -k
-- impl_class: AnyEvent
Requests per second: 3531.13 [#/sec] (mean)
-- impl_class: Coro
Requests per second: 4811.16 [#/sec] (mean)
-- impl_class: Mojo::Prefork
Server available at http://127.0.0.1:10001.
Requests per second: 254.46 [#/sec] (mean)
-- impl_class: ServerSimple
Plack::Impl::ServerSimple: You can connect to your server at http://localhost:10001/
Requests per second: 2890.77 [#/sec] (mean)
-- impl_class: Standalone
Requests per second: 6929.16 [#/sec] (mean)
-- impl_class: Standalone::Prefork
Requests per second: 15220.38 [#/sec] (mean)
$ benchmarks/ab.pl -app=eg/dot-psgi/image.psgi --bench='ab -n 2000 -c 10 -k' 2> /dev/null
app: eg/dot-psgi/image.psgi
ab: ab -n 2000 -c 10 -k
-- impl_class: AnyEvent
Requests per second: 655.20 [#/sec] (mean)
-- impl_class: Coro
Requests per second: 772.00 [#/sec] (mean)
-- impl_class: Mojo::Prefork
Server available at http://127.0.0.1:10001.
Requests per second: 25.23 [#/sec] (mean)
-- impl_class: ServerSimple
Plack::Impl::ServerSimple: You can connect to your server at http://localhost:10001/
Requests per second: 119.89 [#/sec] (mean)
-- impl_class: Standalone
Requests per second: 700.20 [#/sec] (mean)
-- impl_class: Standalone::Prefork
Requests per second: 845.93 [#/sec] (mean)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment