FlaxEngine / FlaxEngine/FlaxEngine

Improve Editor performance with large scene hierarchies

Open
#1,700 3 comments 4 reactions 0 assignees View on GitHub
editor performance suggestion
Dominant language
C++
Stars
7k
Forks
713
Avg merge
7d 11h
Merged PRs (30d)
19

Description

Use https://github.com/Tryibion/FlaxPerformanceTest as a reference test point and spawn 10k cubes in the root of the scene. Editor UI update and draw performance should be perfectly stable thus we need to:
* profile current state (with Tracy and with C# profiling like dotTrace or Visual Studio)
* update only visible controls (currently `TreeNode` tick when expanded and enabled)
* draw only visible controls (`ContainerControl` already has some culling mechanism but for tree hierarchy, we can do better)
* use some smart-logic for mouse events (`OnMouseXXX`) to skip iterating over all controls in tree node

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.