How to use the react-addons-perf.printOperations function in react-addons-perf

To help you get started, we’ve selected a few react-addons-perf examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github department-of-veterans-affairs / vets-website / src / js / edu-benefits / 1990 / components / debug / PerfPanel.jsx View on Github external
handleStop() {
    Perf.stop();
    const measurements = Perf.getLastMeasurements();
    console.log('Inclusive');
    Perf.printInclusive(measurements);
    console.log('Exclusive');
    Perf.printExclusive(measurements);
    console.log('Wasted');
    Perf.printWasted(measurements);
    console.log('DOM');
    Perf.printOperations(measurements);
  }
github strues / boldr / src / components / PerfProfiler / PerfProfiler.js View on Github external
printOperations = () => {
    const lastMeasurements = Perf.getLastMeasurements();

    Perf.printOperations(lastMeasurements);
  };
github suranartnc / react-redux-universal-starter-kit / src / shared / containers / PerformancePage / Performance / index.js View on Github external
stopPerf() {
    this.setState({
      idle: true
    });
    Perf.stop();
    Perf.printOperations();
    Perf.printWasted();
  }
github ssrwpo / ssr / demo / imports / ui / hoc / perf.jsx View on Github external
setTimeout(() => {
        Perf.stop();
        const measures = Perf.getLastMeasurements();
        Perf.printWasted(measures);
        Perf.printOperations(measures);
      }, 0);
    }
github strues / boldr / src / shared / components / PerfProfiler / PerfProfiler.js View on Github external
printOperations = () => {
    const lastMeasurements = Perf.getLastMeasurements();

    Perf.printOperations(lastMeasurements);
  };