profsave
Save profile result to HTML format.
📝Syntax
profsave
profsave(profile_info)
profsave(profile_info, dirname)
📥Input Arguments
Parameter Description
profile_info a struct: result of profile('info')
dirname a string: output directory destination.
📄Description

profsave exports the profiling data into a series of HTML files.

The input profile_info is the structure returned by profile('info').

If unspecified, profsave will use the current profile.

💡Examples
profile on
sind(5)
profile off
profsave(profile('info'), [tempdir(), 'profile_results'])
unix([tempdir(), 'profile_results/index.html'])
🔗See Also
profile
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub