Skip to content

Graph processing is slow, freezes tabs #3264

Open
@psybuzz

Description

@psybuzz

The Graph v1 dashboard currently builds the layout for its graph on the main thread. While the graph is loading (progress bar shows reading pbtxt, parsing, etc) the user can switch to another dashboard and see an unresponsive UI. For example, switching to the Scalars dashboard while the Graph is loading, and being unable to click on anything.

This performance recently regressed from Chromium M79 to M80. In M79, a case that used to freeze the tab for ~4 sec now freezes the TensorBoard for ~50sec, rendering it unusable.

Sample performance trace:

image

We should invest in either

  • Moving heavy JS work from the main thread to a worker
  • Producing a small reproducible case and filing a bug against Chromium to fix the performance regression

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions