
Windows 10, Chrome, Python 3.6, Bokeh 2.1, datashade and hv around 1m data points
- I’ve few Bokeh Dashboards and I load them as per user selection. First of all bokeh is very slow on rendering the code. When i check the perf stats in browser console i see more idle time than any other processing. Even adding 15-20 plots in single layout makes the whole UI very slow, ~250 Seconds to load 8 plots. Attached perf stats from Chrome Console:
and
We’ve no idea what is taking so much time to appear the plots.
- Second, Meanwhile my plots are loading/rendering the Bokeh WS gets disconnetcs with following error
[bokeh] Websocket connection 0 disconnected, will not attempt to reconnect
bokeh.min.js:551 Uncaught Error: not connected so cannot send [object Object]
at h.send (bokeh.min.js:551)
at i._document_changed (bokeh.min.js:554)
at _document_listener (bokeh.min.js:554)
at y._trigger_on_change (bokeh.min.js:162)
at g._push_changes (bokeh.min.js:175)
at g.setv (bokeh.min.js:175)
at g.set [as active] (bokeh.min.js:175)
at v.change_active (bokeh.min.js:428)
at HTMLDivElement.<anonymous> (bokeh.min.js:428)
anything which can be done to revive the connection. I am using bokeh bokeh_app --num-procs 2 --keep-alive 1800000 --unused-session-lifetime 1800000 but it has no effect on connection.




