How to use the universal-perf.printWasted function in universal-perf

To help you get started, we’ve selected a few universal-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 alibaba / rax / examples / perf / index.js View on Github external
{
        Perf.start();
        this.setState({
          childUpdate: true
        });

        Perf.stop();
        let measurements = Perf.getLastMeasurements();

        console.log('click child1 print wasted');
        Perf.printWasted(measurements);
        console.log('click child1 print operations');
        Perf.printOperations(measurements);
      }} />

universal-perf

A universal Perf tools.

BSD-3-Clause
Latest version published 6 years ago

Package Health Score

57 / 100
Full package analysis

Similar packages