by samkidman · 6y ago · 0 comments
class TestApp
def self.call(env)
[200, [], ['Blah']]
end
end
run TestApp
ab -n 10000 http://localhost:8080/ --> ~1900 RPS (~8400 RPS)ab -k -n 10000 http://localhost:8080/ --> ~1900 RPS (~26000 RPS)
ab -c 100 -n 10000 http://localhost:8080/ --> ~2500 RPS (~14500 RPS)
I have no idea why it performed better on the concurrent benchmark. This was on my 2.3GHz i5 mac book pro. I think about 1/5th the performance of something closer to the machine is quite decent.
No comments yet.