-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
I run the same tests on the Macbook Air 1.3 GHZ i5 4Gig RAM and this is what i got, for NodeJS
Josephs-MacBook-Air:~ joseph$ wrk -c 64 -d 30s http://localhost:3000/10
Running 30s test @ http://localhost:3000/10
2 threads and 64 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 12.59ms 1.85ms 41.10ms 92.38%
Req/Sec 2.55k 161.20 3.40k 88.17%
152520 requests in 30.01s, 30.84MB read
Requests/sec: 5082.61
Transfer/sec: 1.03MB
And this is what i got from running Sinatra with JRuby 9.0, i had to warm up the JVM first and also changed from Thin to use Puma
Josephs-MacBook-Air:~ joseph$ wrk -c 64 -d 30s http://localhost:4567/10
Running 30s test @ http://localhost:4567/10
2 threads and 64 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 15.91ms 46.90ms 502.05ms 91.13%
Req/Sec 2.55k 1.07k 4.94k 63.27%
152185 requests in 30.03s, 25.25MB read
Socket errors: connect 0, read 20, write 1, timeout 0
Requests/sec: 5067.90
Transfer/sec: 861.16KB
Under the JVM the performance catches up, i will even run this with TorqueBox this should even give more performance than am currently having with Puma
Metadata
Metadata
Assignees
Labels
No labels