Constructor
new ProfileAction()
- Source:
Examples
// Starts the profiler, and gives it the given name
{
"profile": {
"name": "A name for your profile"
}
}
// Starts the profiler, and gives it the given name, shorthand version
{
"profile": "A name for your profile"
}
// Stops the currently running profile
{
"profile": null
}