Skip to content

Poor performances on UI logs and flow run status view #18495

@jeremiebelaid

Description

@jeremiebelaid

Describe the current behavior

refreshing the flow run status view is very heavy on the CPU, it stucks at close to 100% usage.
Seems to be a problem in the performance of the DOM updated, the flame graph is showing a surprisingly long commit phase suggesting heavy DOM updates are being computed when really not much is happening, just a few more lines of logs and task progress bar ongoing.

Describe the proposed behavior

The page live refresh should not take as much CPU. I am no UI expert so not sure of the actual root cause, but the problem is very obvious and should be quite easily reproduced.

Example Use

No response

Additional context

The problem seems related to the canvas component and the way it's poorly optimized. I was running my browser from a VDI with no hardware for graphic acceleration, that's where the CPU got bloated. I don't have the problem when running on a machine with GPU.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementAn improvement of an existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions