akveo / akveo/ngx-admin

.toggle-layout pulse animation causes constant repaint loop and high cpu utilisation

Aberta
#1,981 0 comentários 1 reação 0 responsáveis Ver no GitHub
Linguagem predominante
TypeScript
Estrelas
25.7k
Forks
7.9k
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

Steps to reproduce:
1. go to http://akveo.com/ngx-admin/#/pages/ui-features/grid
note that this page is static, without any animated diagrams
2. run `top` and observe cpu utilisation (or run devtools/performance profiler)
3. open devtools and disable `animation` and `-webkit-animation` in `.toggle-layout i::after` (cogs icon in the top right corner)
4. observe cpu utilisation

Problem may not be apparent on a workstation.
If it doesn't look like a big deal try running this test on an average consumer laptop.

Tested in Chrome and Firefox.

May be connected to issue https://github.com/akveo/ngx-admin/issues/1873

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.