On Apr 7, 2018, at 11:11, [email protected] wrote:
When initially accessing my bokeh app via Chrome, i get the following messages in bokeh 0.12.11 and 0.12.15... but not in 0.12.10
0.12.11
index.js:118 [bokeh] document idle at 7294 ms
0.12.15
document.js:188 [bokeh] document idle at 7330 ms
Does this help track down the issue at all?
On Friday, April 6, 2018 at 2:15:04 PM UTC-4, dan.cu...@gmail.com wrote:
Any chance any of these could cause significant delays in view update? I have essentially zero experience with JS.
With Bokeh 0.12.15:
A new frequent error:
Uncaught
TypeError: Cannot read property 'is_empty' of null
at e.inspect (
selection_manager.js:56
)
at e._inspect (
hover_tool.js:212
)
at e._clear (
hover_tool.js:174
)
at e._move_exit (
hover_tool.js:190
)
at e.<anonymous> (
ui_events.js:128
)
at t.emit (
signaling.js:60
)
at t.trigger (
ui_events.js:293
)
at
ui_events.js:256
at Array.map (<anonymous>)
at t._trigger (
ui_events.js:255)
e.inspect @ selection_manager.js:56
e._inspect @ hover_tool.js:212
e._clear @ hover_tool.js:174
e._move_exit @ hover_tool.js:190
(anonymous) @ ui_events.js:128
t.emit @ signaling.js:60
t.trigger @ ui_events.js:293
(anonymous) @ ui_events.js:256
t._trigger @ ui_events.js:255
t._mouse_exit @ ui_events.js:391
(anonymous) @ ui_events.js:93
Common warnings in both 0.12.10 and 0.12.15:
could not set initial ranges
e.set_initial_range @ plot_canvas.js:635
e.paint @ plot_canvas.js:789
e.repaint @ plot_canvas.js:713
(anonymous) @ plot_canvas.js:572
t.emit @ signaling.js:60
e.emit @ signaling.js:73
(anonymous) @ plot_canvas.js:135
s @ throttle.js:28
requestAnimationFrame (async)
(anonymous) @ throttle.js:37
e.request_paint @ plot_canvas.js:94
e.request_render @ plot_canvas.js:90
e.request_render @ renderer.js:28
e.set_data @ glyph_renderer.js:184
(anonymous) @ glyph_renderer.js:103
t.emit @ signaling.js:60
e.emit @ signaling.js:73
e._setv @ has_props.js:228
e.setv @ has_props.js:251
t.apply_json_patch @ document.js:747
t._handle_patch @ session.js:79
t.handle @ session.js:23
t._steady_state_handler @ connection.js:275
ACK.t.msgtype._current_handler @ connection.js:256
t._on_message @ connection.js:217
t.socket.onmessage @ connection.js:67
And:
jquery-ui is required to enable DataTable.reorderable
t.render @ data_table.js:206
e._layout @ layout_dom.js:187
e._layout @ layout_dom.js:185
e._layout @ layout_dom.js:185
e._layout @ layout_dom.js:185
e._layout @ layout_dom.js:185
e._do_layout @ layout_dom.js:169
e.layout @ layout_dom.js:152
e.renderTo @ dom_view.js:42
n @ embed.js:101
l @ embed.js:114
(anonymous) @ embed.js:144
(anonymous) @ es6-promise.js:281
f @ es6-promise.js:290
p @ es6-promise.js:268
r @ es6-promise.js:102
characterData (async)
(anonymous) @ es6-promise.js:81
k @ es6-promise.js:45
c @ es6-promise.js:235
a @ es6-promise.js:205
l @ es6-promise.js:217
(anonymous) @ es6-promise.js:320
t._steady_state_handler @ connection.js:273
ACK.t.msgtype._current_handler @ connection.js:256
t._on_message @ connection.js:217
t.socket.onmessage @ connection.js:67
On Friday, April 6, 2018 at 12:26:47 PM UTC-4, dan.cu...@gmail.com wrote:
That feature might be helpful.
It's still very peculiar to me that 0.12.10 is very smooth with all of these objects.
I'll keep poking around and let you know what I find.
Thanks Bryan
On Friday, April 6, 2018 at 12:19:42 PM UTC-4, Bryan Van de ven wrote:
That's probably too much for Bokeh's layout constraint solver, since everything gets considered together. (Though that is only speculation at this point) The next release will have the ability to place individual server app items in templates, so that reliance Bokeh's layout system can be minimized or avoided.
Thanks,
Bryan
> On Apr 6, 2018, at 11:15, dan.cu...@gmail.com wrote:
>
> Tables: 18
> Figures: 7
> Text fields: 25
> Dropdowns: 30
> Butons: 21
> Other: 15 (radio buttons, check boxes, etc)
>
> On Friday, April 6, 2018 at 12:07:41 PM UTC-4, Bryan Van de ven wrote:
> Oh, this might be an issue with layout performance then. What exactly does "lots of objects" mean?
>
> Bryan
>
> > On Apr 6, 2018, at 11:05, dan.cu...@gmail.com wrote:
> >
> > The slow down appears to occur in the browser. If I turn off the bokeh server after the terminal has indicated all data updates have been completed, my browser will eventually display the changes.
> >
> > I have 9 tabs, each with lots of objects in each. The webpage is relatively quick if I cut that down to 2, no one tab appears to be the sole culprit. But still slower than 0.12.10. My concern is that Bokeh 0.12.10 can handle all of these objects in one document perfectly fine.
> >
> > I'm using:
> > Chrome Version 64.0.3282.186 (Official Build) (64-bit)
> > Mac OS 10.13.3
> >
> > WiIl update if I find more and post simple code on GitHub if I can.
> >
> > On Friday, April 6, 2018 at 11:39:58 AM UTC-4, dan.cu...@gmail.com wrote:
> > This issue persists in 0.12.15. The software I've built is basically unusable for Bokeh >0.12.10.
> >
> > Are there any methods to print an activity log of what bokeh serve is doing during the web view update? I have generated a log within my python code, and the ColumnSourceData is updated in about 0.25 sec. But then it takes another 19 sec for the view to update. Other objects in the view are non-responsive at this time, even the cross-hair in a plot will not update.
> >
> > I'll spend some time trying to come up with a simple code to demonstrate this... but my code is pretty massive and currently depends on database access, so this is no easy task to track down.
> >
> >
> > On Tuesday, February 13, 2018 at 8:47:56 AM UTC-5, chupach wrote:
> > hello,
> >
> > see also my comments from 15. of December, just after release of 0.12.11.
> > I also stick to 0.12.10 since then, which is unfortunate because other bugs have been eliminated.
> > I was not able to isolate a self contained example from a rather large project.
> >
> > My comments were from looking at the js console, but it was a bit cryptic (to me). Like unnecessary refresh of non involved canvas when zooming.
> >
> >
> >
> >
> >
> > On Tuesday, February 13, 2018 at 2:32:15 PM UTC+1, dan.cu...@gmail.com wrote:
> > Bokeh 0.12.14 has the same issue.
> >
> > But on the bright side, my tables now render without having to scroll them first.
> >
> > On Thursday, February 8, 2018 at 1:27:12 PM UTC-5, dan.cu...@gmail.com wrote:
> > Thanks Bryan. I'm working with a pretty massive Bokeh project, so it will take a lot of effort to track down some test code. Since 0.12.10 is working great, it hasn't been a priority to investigate. Seems related to memory management though, from what I can tell my calculations using loaded data is the same... seems like web UI response issue.
> >
> > I'll be sure to post on GitHub if I can definitely nail down the issue. Sorry I can't clarify further right now.
> >
> >
> > On Monday, February 5, 2018 at 9:02:32 AM UTC-5, Bryan Van de ven wrote:
> > Hi,
> >
> > There are certainly specific situations I have noticed, but nothing I'd describe as general. However, my day to day usage is not an all (or even most) platforms. But to investigate a performance problem we would really need:
> >
> > * a GitHub issue
> > * with complete test case code
> > * platform/browser/version info
> >
> > Thanks,
> >
> > Bryan
> >
> > > On Feb 3, 2018, at 08:39, dan.cu...@gmail.com wrote:
> > >
> > > Has anyone else noticed a significant slow-down in GUI response starting with 0.12.11? 0.12.13 has the same issue.
> > >
> > > In the meantime, I've just been sticking with 0.12.10 which works very smoothly.
> > >
> > > For example, after I've defined a a query, and loaded some data.. the tabs are not clickable for an extended period of time. I have a plot connected to a drop down that lets you pick your y-axis, what used to be a near instant update after dropdown selection takes 5 - 10 seconds now, or longer. I tried my code without tabs, same issue... in fact, I can't even scroll the webpage for several seconds after data is loaded or after a dropdown selection.
> > >
> > > Perhaps I could use some downsampling or something, but everything works great in 0.12.10... and I really don't think I have that much data (no imaging data or anything).
> > >
> > > Dan
> > >
> > > --
> > > You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
> > > To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+un...@continuum.io.
> > > To post to this group, send email to bo...@continuum.io.
> > > To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/504944ab-9e5f-4ebd-90c8-0f715bdf9e5e%40continuum.io\.
> > > For more options, visit https://groups.google.com/a/continuum.io/d/optout\.
> >
> >
> > --
> > You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
> > To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+un...@continuum.io.
> > To post to this group, send email to bo...@continuum.io.
> > To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/6347c507-3963-461e-8170-cce3400ba149%40continuum.io\.
> > For more options, visit https://groups.google.com/a/continuum.io/d/optout\.
>
>
> --
> You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+un...@continuum.io.
> To post to this group, send email to bo...@continuum.io.
> To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/bcaad5d4-1c82-4926-8d20-fdb38b6302c2%40continuum.io\.
> For more options, visit https://groups.google.com/a/continuum.io/d/optout\.
--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/8faf0051-8931-47f9-b302-9502ba8f9ffe%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.