Open Bug 1506062 Opened 6 years ago Updated 6 years ago

Investigate using react-window/react-virtualized to improve performance of jobs view

Categories

(Tree Management :: Treeherder: Frontend, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: emorley, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: perf)

Using these may mean we can avoid rendering the whole list of pushes, and instead only the proportion that are visible in the current scroll position. https://github.com/bvaughn/react-window https://github.com/bvaughn/react-virtualized (react-window is newer/smaller but has fewer features; see comparison in its README)
I tried playing with this and, while I think this package could be useful for other purposes, since the height of each "row" (or push) is variable, I don't think this will end up helping us for this purpose. I propose closing this as wontfix. Ed: What do you think?
Flags: needinfo?(emorley)
It looks like react-window supports variable size rows? https://react-window.now.sh/#/examples/list/variable-size
Flags: needinfo?(emorley)
No longer blocks: treeherder-react
You need to log in before you can comment on or make changes to this bug.