tachometer
Version:
Web benchmark runner
32 lines • 1.42 kB
JavaScript
/**
* @license
* Copyright (c) 2019 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at
* http://polymer.github.io/LICENSE.txt The complete set of authors may be found
* at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
* Google as part of the polymer project is also subject to an additional IP
* rights grant found at http://polymer.github.io/PATENTS.txt
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.measurement = exports.measurementExpression = exports.forceCleanNpmInstall = exports.resolveBareModules = exports.mode = exports.horizons = exports.timeout = exports.sampleSize = exports.browserName = exports.root = exports.windowHeight = exports.windowWidth = void 0;
exports.windowWidth = 1024;
exports.windowHeight = 768;
exports.root = '.';
exports.browserName = 'chrome';
exports.sampleSize = 50;
exports.timeout = 3;
exports.horizons = ['0%'];
exports.mode = 'automatic';
exports.resolveBareModules = true;
exports.forceCleanNpmInstall = false;
exports.measurementExpression = 'window.tachometerResult';
function measurement(url) {
if (url.kind === 'remote') {
return 'fcp';
}
return 'callback';
}
exports.measurement = measurement;
//# sourceMappingURL=defaults.js.map
;