From 19212ced62ab1a657a8fb00706611f2366ae0947 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Sun, 8 Sep 2024 19:58:14 +0800 Subject: [PATCH] Forgot this part --- src/app.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app.jsx b/src/app.jsx index 9c425fa0..a6563c13 100644 --- a/src/app.jsx +++ b/src/app.jsx @@ -305,12 +305,12 @@ const BENCHES = new Map(); window.__BENCH_RESULTS = new Map(); window.__BENCHMARK = { start(name) { - if (!import.meta.env.DEV) return; + if (!import.meta.env.DEV && !import.meta.env.PHANPY_DEV) return; const start = performance.now(); BENCHES.set(name, start); }, end(name) { - if (!import.meta.env.DEV) return; + if (!import.meta.env.DEV && !import.meta.env.PHANPY_DEV) return; const start = BENCHES.get(name); if (start) { const end = performance.now();