@botonic/plugin-contentful
Version:
Botonic Plugin Contentful is one of the **[available](https://github.com/hubtype/botonic/tree/master/packages)** plugins for Botonic. **[Contentful](http://www.contentful.com)** is a CMS (Content Management System) which manages contents of a great variet
24 lines • 728 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.WebPerformanceMeasurer = void 0;
const performance_measurer_1 = require("./performance-measurer");
class WebPerformanceMeasurer extends performance_measurer_1.PerformanceMeasurer {
constructor() {
super(performance);
}
getEntriesByName(name) {
return this.perf.getEntriesByName(name);
}
end(mark, name) {
super.end(mark, name);
if (this.enabled) {
this.allProfiled[name] = [];
}
}
clear() {
super.clear();
this.perf.clearMarks();
}
}
exports.WebPerformanceMeasurer = WebPerformanceMeasurer;
//# sourceMappingURL=web-performance-measurer.js.map