Package com.google.javascript.jscomp.PerformanceTracker

Examples of com.google.javascript.jscomp.PerformanceTracker.Stats


    assertEquals(tracker.getLoopRuns(), 3);
    assertEquals(tracker.getChanges(), 4); /* reportChange was called 4 times */
    assertEquals(tracker.getLoopChanges(), 1);

    ImmutableMap<String, Stats> stats = tracker.getStats();
    Stats st = stats.get("noloopA");
    assertEquals(st.runs, 1);
    assertEquals(st.runtime, passRuntime);
    assertEquals(st.changes, 1);

    st = stats.get("noloopB");
View Full Code Here

TOP

Related Classes of com.google.javascript.jscomp.PerformanceTracker.Stats

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.