name: Bottleneck about: drake is too slow or consumes too many resources. title: '' labels: 'topic: performance' assignees: wlandau
Describe the bottleneck clearly and concisely.
How poorly does drake
perform? To find out, we recommend the proffer
package and take screenshots of the results displayed in your browser.
library(drake)
library(proffer)
px <- pprof({
# All your drake code goes here.
})
Alternatively, if installing proffer
is too cumbersome, create a zip archive of profiling data (e.g. samples.zip
below) and upload it to this issue thread.
Rprof(filename = "samples.rprof")
# Slow code goes here.
Rprof(NULL)
zip(zipfile = "samples.zip", files = "samples.rprof")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.