Skip to content

Slow loading times for large workflows #1397

Closed

Description

@MysteriousChallenger

Enhancement Requested: large workflows take a long time to load.

On my personal machine, a workflow of 25 operators and 23 links takes ~3 seconds to load while using the performance profiler.
image
(0 fps while Texera is loading the workflow)

The majority of this time appears to be spent performing recalculate style:
image
recalculate style is where the browser notices a change in layout or css and reapplies css rules and page layout for the affected portions of the page.

In the flame chart (a timeline of the JS call stack), you can see that each highlightOperators(), and addCells() joint.js operation triggers a costly 30ms recalculate style
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

featurefrontend

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions