getMemoryProfileFromWorkerURN method

Returns a worker memory profile for a specific URN.

Note These APIs can only be used with F12 developer tools and the Diagnostics Script Engine, and can't be called from JavaScript.

Syntax

var retVal = DiagnosticsMemoryProfiler.getMemoryProfileFromWorkerURN(id);

Parameters

  • id [in]
    Type: number

Return value

Type: Blob

The worker memory profile.

Remarks

The worker memory profile must have been requested using the DiagnosticsWorker object, which returns the URN to pass to this function.

See also

DiagnosticsMemoryProfiler