tensorflow / tensorflow/tensorboard

Graph processing is slow, freezes tabs

Open
#3,264 1 comment 0 reactions 1 assignee View on GitHub

@davidsoergel is already working on this.

Since Feb 20, 2020.

core:frontend plugin:graph theme:performance
Dominant language
TypeScript
Stars
7.2k
Forks
1.7k
Avg merge
4d 22h
Merged PRs (30d)
1

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.