From bd2aa8a72f441e395b04f6a21d208b6226298684 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9ry=20Debongnie?= Date: Tue, 15 Feb 2022 09:03:25 +0100 Subject: [PATCH] [MISC] playground: improve benchmarking code --- tools/playground/samples.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/playground/samples.js b/tools/playground/samples.js index 46fc333b..d5db72ae 100644 --- a/tools/playground/samples.js +++ b/tools/playground/samples.js @@ -24,8 +24,8 @@ class Root extends Component { } } -// Application setup -mount(Root, document.body, { templates: TEMPLATES, dev: true });`; +// dev=false for benchmarking. we don't want to benchmark dev code! +mount(Root, document.body, { templates: TEMPLATES, dev: false });`; const COMPONENTS_XML = /*xml*/`