Skip to content

Bad performance updating graphs with live-data #1860

Closed
@hcaloto

Description

@hcaloto

I have an issue when updating data traces, somehow the thread is being blocked while data is updated.

I've created an example at codepen

There, we have 3 graphs that get updated using random data once a second. I have added a timer so you can see how the time stops and restarts when updating the graphs. I've tested it with Chrome and Firefox.

This is the way I thought I could showcase the issue, although my real use-case is more severe as I'm have a couple webrtc live video streams displayed along the graphs and the framerate drops to unbearable levels once the graphs update.

I am using extendTraces to update data, maybe I am confused and I should be using another method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions