[MISC] playground: improve benchmarking code

This commit is contained in:
Géry Debongnie
2022-02-15 09:03:25 +01:00
committed by Samuel Degueldre
parent 3536f41f00
commit bd2aa8a72f
+2 -2
View File
@@ -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*/`
<templates>