.github/ISSUE_TEMPLATE/bottleneck.md

name: Bottleneck about: drake is too slow or consumes too many resources. title: '' labels: 'topic: performance' assignees: wlandau

Prework

Description

Describe the bottleneck clearly and concisely.

Reproducible example

Benchmarks

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")


wlandau-lilly/drake documentation built on March 6, 2024, 8:18 a.m.