Profiler.takeTypeProfile
Collect type profile.
{
"name": "takeTypeProfile",
"returns": [
{
"name": "result",
"type": "array",
"items": {
"$ref": "ScriptTypeProfile"
},
"description": "Type profile for all scripts since startTypeProfile() was turned on."
}
],
"description": "Collect type profile.",
"experimental": true
}