Skip to content

Limit history when show_undo_redo=False #727

Open

Description

@alexcjohnson

After #724 and plotly/dash-renderer#175, the state history is only relevant to revert, which is used for error recovery so only needs to hold one previous (good) state as described in plotly/dash-renderer#175 (comment). If we simplify the history when the undo/redo toolbar is hidden, we may see a significant performance boost for large and/or frequently-updated apps.

Possibly related: #699, #707

Activity

  1. nicolaskruchten commented on May 21, 2019

    @nicolaskruchten
    Contributor

    If undo/redo has a big perf hit it would be nice to add a parameter for "number of undo/redo steps" even when it's on. And then turning it off would default it to 1.

  2. self-assigned this
    on Jul 17, 2024
  3. removed their assignment
    on Aug 2, 2024
  4. changed the title [-][Performance] Limit history when `show_undo_redo=False`[/-] [+]Limit history when `show_undo_redo=False`[/+] on Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions