From 7da60de1fb3c84c7ab8dda02bad8eeca06734b5e Mon Sep 17 00:00:00 2001 From: Website Deployment Script Date: Mon, 9 Apr 2018 21:21:00 +0000 Subject: [PATCH] Deploy website Deploy website version based on c1cc068399e32fdf227fbc43ea782bcb8f7c841c --- docs/next/systrace.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/next/systrace.html b/docs/next/systrace.html index b56f821c6f9..feb2f6235de 100644 --- a/docs/next/systrace.html +++ b/docs/next/systrace.html @@ -37,7 +37,7 @@

beginEvent()

static beginEvent(profileName?, args?)
 
-

beginEvent/endEvent for starting and then ending a profile within the same call stack frame

+

beginEvent/endEvent for starting and then ending a profile within the same call stack frame.


endEvent()

static endEvent()
@@ -46,7 +46,7 @@
 

beginAsyncEvent()

static beginAsyncEvent(profileName?)
 
-

beginAsyncEvent/endAsyncEvent for starting and then ending a profile where the end can either occur on another thread or out of the current stack frame, eg await the returned cookie variable should be used as input into the endAsyncEvent call to end the profile

+

beginAsyncEvent/endAsyncEvent for starting and then ending a profile where the end can either occur on another thread or out of the current stack frame, eg await the returned cookie variable should be used as input into the endAsyncEvent call to end the profile.


endAsyncEvent()

static endAsyncEvent(profileName?, cookie?)
@@ -55,28 +55,28 @@
 

counterEvent()

static counterEvent(profileName?, value?)
 
-

counterEvent registers the value to the profileName on the systrace timeline

+

Register the value to the profileName on the systrace timeline.


attachToRelayProfiler()

static attachToRelayProfiler(relayProfiler)
 
-

Relay profiles use await calls, so likely occur out of current stack frame therefore async variant of profiling is used

+

Relay profiles use await calls, so likely occur out of current stack frame therefore async variant of profiling is used.


swizzleJSON()

static swizzleJSON()
 
-

This is not called by default due to perf overhead but it's useful if you want to find traces which spend too much time in JSON.

+

This is not called by default due to performance overhead, but it's useful for finding traces which spend too much time in JSON.


measureMethods()

static measureMethods(object, objectName, methodNames)
 
-

Measures multiple methods of a class. For example, you can do: Systrace.measureMethods(JSON, 'JSON', ['parse', 'stringify']);

+

Measures multiple methods of a class. For example, the following will return the parse and stringify methods of the JSON class: Systrace.measureMethods(JSON, 'JSON', ['parse', 'stringify']);

@param object @param objectName @param methodNames Map from method names to method display names.


measure()

static measure(objName, fnName, func)
 
-

Returns an profiled version of the input function. For example, you can: JSON.parse = Systrace.measure('JSON', 'parse', JSON.parse);

+

Returns a profiled version of the input function. For example, you can: JSON.parse = Systrace.measure('JSON', 'parse', JSON.parse);

@param objName @param fnName @param {function} func @return {function} replacement function