-
Notifications
You must be signed in to change notification settings - Fork 123
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
benchmarking tmap #448
Comments
Thanks for this constructive feedback @hbermeo ! I'll leave this issue open: reproducible examples that are suitable for benchmarking can be posted and discussed here. |
Okay, this would be an example where we take some data and when drawing it in ggplot it takes some time and in tmap it takes about 5 or 6 times more time. Would it be possible to improve the time it plots?
|
Thanks, very useful example. Now it's a lot faster, to my own surprise even faster than ggplot2. Please check and let me know if you encounter any other issues. Background: the computation time is caused my Now, I adapted a different approach. I've added a tmap option called |
Perfect is now much better |
@mtennekes Awesome. I made some timings, and on my computer the difference between the previous and the current version is about 25 seconds vs 2 seconds. |
Amazing work Martijn and all, this will make tmap even more user friendly! |
Thx! I've done a little benchmarking: see https://github.com/mtennekes/tmap/blob/master/sandbox/benchmark.Rmd Feel free to improve/extend this script. tmap is now eqally fast and sometimes even faster thanggplot2. It might be a tad slower than 2 weeks ago, since I've re-enabled |
Heads-up @mtennekes I've checked-out the continuous benchmarking functionality and it seems to work pretty well - if you add something like this you could have continuous benchmarks tracking changes automatically: luukvdmeer/sfnetworks#64 |
Hey @mtennekes if you are still interested in CB I would like to mention {touchstone} which will run benchmarks and comment them on the PR after every push! We are getting ready to submit to rOpenSci and CRAN. |
I wanted to revisit this issue. While the performance of plotting raster objects in |
@kadyb thanks! Can you open a new issue about that? (Also, please run the code using the tmap version 4 -- |
Why is it that drawing maps with tmap is too much but too slow? with other methods like ggplot or plot they are fast in comparison.
The text was updated successfully, but these errors were encountered: