import { PerformanceObserver } from "perf_hooks";
import { l as logger } from "./user--mpkKOwW.js";
const perfObserver = globalThis.perfObserver || new PerformanceObserver((items) => {
  items.getEntries().forEach((entry) => {
    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;
}
