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(animation): optimize animation object memory #6025

Merged
merged 1 commit into from
Jul 12, 2024
Merged

Conversation

Aarebecca
Copy link
Contributor

  • 释放动画对象内存

G 图形示例会存储动画对象,这在 G6 中并没有什么作用,当动画播放次数较多时,会创建大量的动画对象,导致内存持续增长,使得交互过程卡顿
目前在 G6 中手动对相关动画对象进行清理


  • Release animation object memory

G graphics example will store animation objects, which does not have any effect in G6, when the animation is played more times, a large number of animation objects will be created, resulting in continuous memory growth, making the interaction process stuck
The relevant animation objects are currently cleaned manually at G6

issue: antvis/G#1731

@Aarebecca Aarebecca merged commit 81414f3 into v5 Jul 12, 2024
5 checks passed
@Aarebecca Aarebecca deleted the perf/animation branch July 12, 2024 02:09
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.

1 participant