Skip to content

Perceived sluggish refresh rate #503

Closed
@ubershmekel

Description

@ubershmekel

Hi Plotly folks. I think you guys make the prettiest charts but someone asked me today if my charts stutter because of a problem with my machine. He recommended I use dygraphs instead. Compare these two when you mouse over from left to right:

https://plot.ly/~marianne2/1662.embed?autoscale=true&modebar=false&link=false

http://dygraphs.com/

Looking at the profile data on my machine it seems dygraphs has a mouseMoveHandler_ that takes ~0.6ms to run while plotly has maindrag.onmousemove that takes ~3ms. But that's probably not the problem. I think the number 100 ms is pretty bad for fluid motion. This setTimeout may be what's causing it to feel like 10 fps:

gd._hoverTimer = setTimeout(function() {

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