UNPKG

karma-typescript

Version:

Simplifying running unit tests with coverage for Typescript projects.

15 lines 484 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Benchmark = void 0; var Benchmark = /** @class */ (function () { function Benchmark() { this.start = process.hrtime(); } Benchmark.prototype.elapsed = function () { var end = process.hrtime(this.start); return Math.round((end[0] * 1000) + (end[1] / 1000000)); }; return Benchmark; }()); exports.Benchmark = Benchmark; //# sourceMappingURL=benchmark.js.map