3 ms·
Noir is a series of extensions on Compojure. Anyways, I can give you bullshit benchmarks if you want. The numbers are sort of meaningless, the benchmark synthe
by KirinDave 14y ago
Noir is a series of extensions on Compojure.
Anyways, I can give you bullshit benchmarks if you want. The numbers are sort of meaningless, the benchmark synthetic, the methodology poor but it's almost all against the server's favor.
(GET "/hello" [] {:status 200 :body "Yo!"}))
And then let's just httperf that from the same box like that is meaningful (it is not):
~ > httperf --hog --server localhost --port 9999 --uri=/hello --num-conn 5000 --num-calls 1
...
Connection rate: 4769.8 conn/s (0.2 ms/conn, <=1 concurrent connections)
Connection time [ms]: min 0.2 avg 0.2 max 3.8 median 0.5 stddev 0.1
Connection time [ms]: connect 0.0
Connection length [replies/conn]: 1.000
...
Reply rate [replies/s]: min 0.0 avg 0.0 max 0.0 stddev 0.0 (0 samples)
Reply time [ms]: response 0.2 transfer 0.0
Reply size [B]: header 98.0 content 3.0 footer 0.0 (total 101.0)
Reply status: 1xx=0 2xx=4999 3xx=0 4xx=0 5xx=0
Similar benchmarks put a static sinatra responder at 3ms on my box.
Again, these numbers are not precise or useful. They're just there to put some flags in the ground for further exploration should you want to do a rigorous comparison.
- drmrkela 14y agoDid I understand you correctly? 3ms vs. 0.2ms So we might be talking about order of a magnitude here?