diff --git a/dev.html b/dev.html
index 650cf45a6..9aa2fc79a 100644
--- a/dev.html
+++ b/dev.html
@@ -70,24 +70,26 @@
var store = BI.useStore(function () {
return BI.Models.getModel("demo.model");
});
- setInterval(function () {
- store.toggle();
- }, 1000);
+ // setInterval(function () {
+ // store.toggle();
+ // }, 1000);
return function () {
return {
type: "bi.vertical",
vgap: 20,
- items: [{
- type: "demo.child"
- }, {
- type: "demo.child"
- }]
+ items: BI.makeArray(10000).map(function (i) {
+ return {
+ type: "bi.label",
+ text: i
+ };
+ })
};
};
}
});
BI.shortcut("demo.parent", Widget);
- BI.createWidget({
+ var time = performance.now();
+ var widget = BI.createWidget({
type: "bi.absolute",
items: [{
el: {
@@ -97,7 +99,10 @@
left: 100
}],
element: "#wrapper"
+ // root: true
});
+ // widget.element.appendTo("#wrapper");
+ console.log(performance.now() - time);