src/third_party/mozjs/extract/intl/benchmarks/head.js
/**
     * Report the metrics to perftest after finishing the microbenchmark.
     */
Report the metrics to perftest after finishing the microbenchmark.
Report the metrics to perftest after finishing the microbenchmark .
reportMetrics() {
      const metrics = {};
      metrics[metricName + " iterations"] = iterations;
      metrics[metricName + " accumulatedTime"] = accumulatedTime;
      metrics[metricName + " perCallTime"] = accumulatedTime / iterations;
      info("perfMetrics", metrics);
    }
reportMetrics ( ) { const metrics = { } ; metrics [ metricName + " iterations" ] = iterations ; metrics [ metricName + " accumulatedTime" ] = accumulatedTime ; metrics [ metricName + " perCallTime" ] = accumulatedTime / iterations ; info ( "perfMetrics" , metrics ) ; }
Report the metrics to perftest after finishing the microbenchmark.
Report the metrics to perftest after finishing the microbenchmark .