You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
730 B
27 lines
730 B
"use strict";
|
|
/**
|
|
* @license
|
|
* Copyright Google LLC All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
* found in the LICENSE file at https://angular.io/license
|
|
*/
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.timeEnd = exports.time = void 0;
|
|
// Internal benchmark reporting flag.
|
|
// Use with CLI --no-progress flag for best results.
|
|
// This should be false for commited code.
|
|
const _benchmark = false;
|
|
/* eslint-disable no-console */
|
|
function time(label) {
|
|
if (_benchmark) {
|
|
console.time(label);
|
|
}
|
|
}
|
|
exports.time = time;
|
|
function timeEnd(label) {
|
|
if (_benchmark) {
|
|
console.timeEnd(label);
|
|
}
|
|
}
|
|
exports.timeEnd = timeEnd;
|