mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
[MISC] playground: improve benchmarking code
This commit is contained in:
committed by
Samuel Degueldre
parent
3536f41f00
commit
bd2aa8a72f
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user