-
Notifications
You must be signed in to change notification settings - Fork 34
Benchmarking vignette #170
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
Conversation
|
btw... from my local testing of other frameworks in https://github.com/the-benchmarker/web-frameworks, I think R as a whole is going to get crushed. 😞 |
|
@schloerke thanks for PR! It will take some time to review (hopefully early next week). |
|
Had feedback to update the axis labels to avoid confusion. The plots will need to be re-rendered.
|
|
I'm really sorry that it takes so long to review. Very busy last weeks. Mb @artemklevtsov can help with initial review? |
|
@dselivanov Take your time. I understand. Hopefully it can be of use before your next release. |
|
@schloerke sorry once again that it took that long. I've updated couple things and pushed in your branch. Major is
|
|
Also I've switched to desktop machine for benchmarks. On laptop they are not reliable at all - system changes CPU frequency very aggressively depending on temperature and number if cores used (each time I run results were considerably different). |
|
Another observation is that |
- test on desktop machine with up to 4 cores - minor conclusions adjustments
ea43f43 to
b3def27
Compare
|
Here are the new results from web frameworks benchmarker.
|
Hi @dselivanov !
From request: the-benchmarker/web-frameworks#3334 (comment)
I've updated the document to try to have plumber do the same code style path as what RestRServe performs. I added in
plumber + futureinto the comparison image at the bottom.Please re-run the document chunks manually to regenerate the images using your machine (
plot_results()callsggsave()).Other updates:
text/plain.calc_fib(15),calc_fib(20), andcalc_fib(25)had their median times scale by a factor of 10x on my machine. I figured this was a good comparison of "low", "medium", and "high" computationI am shocked as to how good future works within plumber. I was not expecting that. The performance could be dramatically reduce if the amount of communication was increased (which RestRServe would not need to worry about).
This is your document. Please update/adjust/tweak/toss/include any of the content.
Best,
Barret