Profiling tools | profsave >> |
profile on |
profile off |
profile resume |
profile clear |
status = profile('status') |
p = profile('info') |
profile('show', sortOption) |
profile('show', sortOption, nbLines) |
a string: 'nfl' by name file line, 'line' by line, 'percalls', 'totaltime', 'filename', 'function' or 'nbcalls'.
a integer value: number of lines to display.
Profiling is a way to measure where Macro function spend times.
s = profile('status') returns a structure with the current status of the profiler.
p = profile('info') returns a structure with collected profiling data.
profile('on') starts profiler.
profile('off') stops profiler. Collected profiling data will be retrieved later with p = profile ('info').
profile('clear') clears collected profiling data.
profile('resume') restarts and continue and extends collected profiling data.
profile on
sind(5)
profile off
profile('show')
profile('show', 'totaltime')
profile('show', 'totaltime', 4)
profile on
sind(5)
profile off
profsave(profile('info'), [tempdir(), 'profile_results'])
unix([tempdir(), 'profile_results/index.html'])
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET