Class PerformanceTracker


  • public final class PerformanceTracker
    extends java.lang.Object
    A PerformanceTracker collects statistics about the runtime of each pass, and how much a pass impacts the size of the compiled output, before and after gzip.
    • Method Detail

      • tracksSize

        public boolean tracksSize()
      • tracksGzSize

        public boolean tracksGzSize()
      • tracksAstSize

        public boolean tracksAstSize()
      • tracksAstManifest

        public boolean tracksAstManifest()
      • getRuntime

        public int getRuntime()
      • getSize

        public int getSize()
      • getGzSize

        public int getGzSize()
      • getAstSize

        public int getAstSize()
      • outputTracerReport

        public void outputTracerReport​(java.io.PrintStream output)
        Prints a summary, which contains aggregate stats for all runs of each pass and a log, which contains stats for each individual run.