Skip to content

Bar text performance regression from plotlyjs 1.58.4 to 2.1 #5764

Closed
@darintay

Description

@darintay

Bar charts with text appear to be several times slower to render in plotlyjs 2.1 than they were in 1.58.4.

Simple example here:

1.58.4: https://jsbin.com/winiqazavu/edit?html,output
2.1.0: https://jsbin.com/fahedevopo/edit?html,output

The 1.58.4 version runs in a couple of seconds for me, where the 2.1.0 takes over a minute. I've tried on Chrome and Firefox.

If you remove the text, everything renders quickly on either version.

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