Skip to content

[BUG] Serialization of MessageSent document event includes all model references #11026

@matbryan52

Description

@matbryan52

Observed a drop in performance while upgrading from release 2.2.3 to 2.3.0, on a page using MouseMove events to update a line plot. Fast mouse movement causes events to 'queue' and complete after mouse has stopped.

Issue discussed on Discourse at https://discourse.bokeh.org/t/mousemove-events-queuing-up-after-2-3-0-update/7361.

From @mateusz on Discourse:

Currently serialization of MessageSent document event includes all model references this event’s model field refers to, whereas it should include only previously unknown models. This is a regression since PR #10602.

An MWE is available on the Discourse thread.

Versions:
Bokeh 2.3.0 (upgrading from 2.2.3)
Python 3.9.2 on Ubuntu 20.04 / Firefox 86.0

Video of behaviour:

vokoscreenNG-2021-03-08_23-01-29.mp4

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions