-
-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
benchmark simple-webserver vs http-server-rs #217
Comments
mitchell@archlinux ~> wrk -t4 -c400 -d10s http://localhost:8000 mitchell@archlinux ~> wrk -t4 -c400 -d10s http://localhost:3000 mitchell@archlinux ~> wrk -t4 -c40 -d10s http://localhost:3000 mitchell@archlinux ~> wrk -t4 -c40 -d10s http://localhost:8000 looks like 50% performance than bare Rust |
What specs are you running it under because I did something completely different when testing them both |
just on my laptop with lots of other things running, so just one rough measure what tests and test results did you do/get? |
I asked for the specs (mainly core/thread count) so I can emulate the environment to see if I get a similar result but here is what I get when running a benchmark with both of them simple-webserver
http-server
|
Unable to emulate that cpu specifically (my workstation is a amd processor and my intel nuc is running other task at the moment) but using the core count (which is 2 but also tested with one as well) I did get the following simple-webserver (2 cpu)
simple-webserver (1 cpu)
http-server (2 cpu)
http-server (1 cpu)
(I left the threads as is since even if I did change it to match the core count, the results wouldve been pretty much the same) |
yep.. this looks like extreme overhead I think we're gonna need a constellation of builds |
would you please try a pared down build with only web server and fs bindings to see how that optimized build performs? |
simple-webserver vs http-server-rs
to test torchbear's overhead
The text was updated successfully, but these errors were encountered: