question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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: problem

🔬 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:closed
  • Created 4 years ago
  • Comments:30 (29 by maintainers)

github_iconTop GitHub Comments

4reactions
pkozlowski-opensourcecommented, Jan 30, 2020

@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.

1reaction
kukjevovcommented, Jan 29, 2020

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 😃.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found