"use strict";
const perf_hooks = require("perf_hooks");
const index = require("./index-QSf6WJj0.cjs");
const perfObserver = globalThis.perfObserver || new perf_hooks.PerformanceObserver((items) => {
  items.getEntries().forEach((entry) => {
    index.logger.debug(entry.name.replace("$1", `${(entry.duration / 1e3).toFixed(4)}s`));
  });
});
perfObserver.observe({ entryTypes: ["measure"] });
if (process.env.NODE_ENV !== "production") {
  globalThis.perfObserver = perfObserver;
}
