Profile Tutorial

The functions in the Instrumentation` context provide support for profiling WL code.

ProfileInstrument[inputDir,outputDir]instrument WL code for profiling
ProfileEvaluate[expr]evaluate expr to be profiled
ProfileProcess[profilingData]process profiling data
ProfileReport[reportData]generate a report

Profiling WL code.

First we must load the Instrumentation` package
Next we must instrument the code to be profiled.
Copy the original files to a temporary location.
Verify that instrumented code is found
Load the instrumented code
Evaluate an expression to be profiled
See the result
Verify the profiling data is present
Process the profiling data
Generate a report in a separate notebook