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

perf: performance optimize #6267

Merged
merged 11 commits into from
Sep 3, 2024
Merged

perf: performance optimize #6267

merged 11 commits into from
Sep 3, 2024

Conversation

Aarebecca
Copy link
Contributor

@Aarebecca Aarebecca commented Sep 3, 2024

  1. Implement isElementDataEqual instead of isEqual to achieve high performance.
  2. Disable the animation of 3d massive to reduce load time.
  3. Optimize performance of setOptions API
  4. Optimize performance of Transform

Result:
For 2, the test case can be loaded in 3s (before is more than 10s)
For 3, the time cost in first rendering reduces by 40%
For 4, 100% of the time cost in Transform can be saved.

@Aarebecca Aarebecca merged commit b49ce81 into v5 Sep 3, 2024
3 of 5 checks passed
@Aarebecca Aarebecca deleted the perf/optimize branch September 3, 2024 09:35
@hustcc
Copy link
Member

hustcc commented Sep 3, 2024

@Aarebecca What is the overall optimization performance of this PR?

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

Successfully merging this pull request may close these issues.

2 participants