Profiling studies
The goal is to identify and reduce drake's overhead.
System requirements
Software
Environment variables
GOPATH. See the Go documentation for details.PATH. Must include the file paths to the executables ofpprofand Graphviz.
Usage
- Run one of the workflow scripts in the section below.
- Look for the URL in the console messages, e.g.
local pprof server: http://localhost:50982. - Navigate a browser to the URL you found, e.g.
http://localhost:50982. - Navigate to the flame graph ("view" menu on the upper left) and look for bottlenecks. Click and hover to interact with the graph.
Workflows
connected.R: a plan with a highly connected graph.makefile.R: likeconnected.R, but with aMakefileinstead ofdrake.dynamic.R: dynamic branching with many sub-targets.static.R: static branching comparison fordynamic.R.
