IVY: animation performance issues, on :enter trigger
See original GitHub issue🐞 bug report
Affected Package
probably one of these
@angular/core
@angular/animations
@angular/common
Is this a regression?
Yes it is much more fluent with less FPS drops during animations in version 8.
Description
When new part of template is added using ngIf
animation framerates drops much more drastically than in previous version of Angular.
This happens also when animating route, so it means any new template, component is added using ViewContainerRef
.
Here are measured results, same page same operation, top is v9.0.0-rc.11 IVY, bottom v8.2.0:
🔬 Minimal Reproduction
I have it only on private project with quite complicated page with many many components. I`ll try to mock it and paste it here as sample.
🔥 Exception or Error
No exception.
🌍 Your Environment
Angular Version: Angular 9-rc.11
Anything else relevant? Windows: 10.0.17763 Node: 11.6.0 NPM: 6.9.0
Issue Analytics
- State:
- Created 4 years ago
- Comments:30 (29 by maintainers)
Top Results From Across the Web
Animating Angular Route Transitions | by Jared Youtsey | ngconf
Remember, an animation is caused by a trigger that causes a transition from one state to another state. When we define an animation...
Read more >How to create high-performance CSS animations - web.dev
Debug slow or janky animations # · Check if an animation triggers layout # · Check if an animation is dropping frames #...
Read more >Release Notes — Axon Ivy Platform 10.0 documentation
Axon Ivy; Release Notes. Release Notes . 10.0.2 . We suggest to install this update release if you are suffering from...
Read more >Tips for Improving CSS and JS Animation Performance
Are your site's animations slowing down your website? Check out these tips for improving CSS and JS animation performance.
Read more >Change Log | NG-ZORRO - Ant Design
Enhanced Performance#. Fix the problems that may cause memory leak. BREAKING CHANGES#. dropdown. [nzHasBackdrop] input value are ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@kukjevov I’ve pulled your webpack update and now I can get proper build without
ngDevMode
mode! So we are good here, I can investigate. Thnx for amending the build as requested!For now I’ve got everything I need to investigate, I will come back to you if I need / got more info.
I will try to take existing code and just mock data and provide it i hope it will work, tomorrow i should have time for this 😃.