From ff53330e92c17a34fbb6ea12b96ef802ba9b169f Mon Sep 17 00:00:00 2001 From: Website Deployment Script Date: Thu, 9 May 2019 12:19:06 +0000 Subject: [PATCH] Deploy website Deploy website version based on b6252b76ddd9ef155f67affbc904f74bd0b8b2cf --- docs/next/systrace.html | 26 -------------------------- docs/next/systrace/index.html | 26 -------------------------- 2 files changed, 52 deletions(-) diff --git a/docs/next/systrace.html b/docs/next/systrace.html index 8f5385a5368..ea438e24ddb 100644 --- a/docs/next/systrace.html +++ b/docs/next/systrace.html @@ -68,10 +68,6 @@
  • beginAsyncEvent
  • endAsyncEvent
  • counterEvent
  • -
  • attachToRelayProfiler
  • -
  • swizzleJSON
  • -
  • measureMethods
  • -
  • measure

  • Reference

    @@ -110,28 +106,6 @@
    static counterEvent(profileName?, value?)
     

    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.

    -
    -

    swizzleJSON()

    -
    static swizzleJSON()
    -
    -

    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, 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 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

    StyleSheetText Style Props