nthiery / laby-jupyter

Laby-Jupyter: Learn programming, playing with ants and spider webs ;-) In Jupyter :-)
GNU General Public License v3.0
5 stars 3 forks source link

Speedup loading #10

Open nthiery opened 5 years ago

nthiery commented 5 years ago

Currently it takes about 9 s to launch laby from a fresh kernel instance. At least 4-5 seconds are taken by the instantiation of the templates for the few types of widgets used (buttons, html, sliders, ...). Our QuantStack guru Wolf says: ``there is a definitive urge to do something and I already tried my hand on it before but right now it will be impossible for me to do any meaningful work on this. I think it's more or less similar for the others; it would be great though''.

nthiery commented 4 years ago

Update: with the latest version of xwidgets, the instantiation of widgets is now instantaneous. So the slow start of laby is entirely due to the templates used there. They are not really needed, so the code should be simplified to not use templates.