Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance Degradation on Deep Hierarchies - Wrap selection mode #8067

Closed
sotano42 opened this issue Jun 17, 2024 · 2 comments
Closed

Performance Degradation on Deep Hierarchies - Wrap selection mode #8067

sotano42 opened this issue Jun 17, 2024 · 2 comments
Assignees
Milestone

Comments

@sotano42
Copy link

sotano42 commented Jun 17, 2024

Problem description

When creating complex and deep hierarchies within the editor, the performance of construct degrades greatly to the point it becomes unusable. Construct editor's performance should not degrade.

There are multiple use cases where hierarchies are very deep: windows with nested frames, complex character animations, etc.

Attach

construct-hier-performance.zip

Steps to reproduce

  1. Create a deep hierarchy with several objects

image

  1. Set the selection mode to "Wrap" for the parent object.

image

  1. Try to transform the group of objects within the editor, simply move them around, performance will degrade greatly and the window becomes unresponsive.
    image

Observed result

Performance degrades greatly.

Expected result

Performance should not be affected.

More details

Construct r395 and r388.2
Chrome

System details

No crashes, just poor performance.

View details

PASTE HERE

@TackerTacker
Copy link

TackerTacker commented Jul 3, 2024

I can confirm this, the select mode doesn't even have to be wrap, once a hierarchy gets to a certain node depth I can just move a single node in the hierarchy tree and it will still lag or freeze my editor.

firefox_2024-07-03_15-04-51.mp4

Here is the project file from the video, though it doesn't do anything different than the one already posted, I just added objects that aren't in a hierarchy as a comparison, showing that they don't have any issues.
Hierarchy_performance_test_01.zip

[edit]
Another observation is that even undo [Ctrl + Z] is slow,
so undoing one of the actions previously done to an object in a big hierarchy is just as slow.

@DiegoScirra DiegoScirra added this to the Next beta milestone Aug 19, 2024
@DiegoScirra
Copy link
Collaborator

These issues should be fixed on the next beta.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants