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

Constant cpu usage on idle page #585

Closed
jelleVandendriessche opened this issue Oct 29, 2023 · 1 comment · Fixed by #583
Closed

Constant cpu usage on idle page #585

jelleVandendriessche opened this issue Oct 29, 2023 · 1 comment · Fixed by #583

Comments

@jelleVandendriessche
Copy link

What is the expected behavior?

No cpu usage once it's rendered.

What is the current behavior?

image

What are the steps to reproduce?

On edge using the peformance monitor you can see that a constant style recals are being triggered when using a static gallery.

What is the use-case or motivation for changing an existing behavior?

In some use-cases this pushed our apllication cpu usage to a constant 100%. (The gaps in the data is when switching tabs)
image
Removing the gallery or enabling the thumbs fixed this for us, but we don't want thumbs.
On the demo page I was unable to reproduce this.

Which versions are you using for the following packages?

Angular: 16.1.5
Angular CDK: 16.1.5
Angular CLI: 16.2.4
Typescript: 5.1.6
Gallery: 11.0.0

@MurhafSousli MurhafSousli linked a pull request Dec 23, 2023 that will close this issue
@MurhafSousli
Copy link
Owner

I released v12 beta, the core functionality is written from scratch and the technique has changed.. please try out the new version and feel free to open a new issue if you encountered any, I am closing this for now...

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 a pull request may close this issue.

2 participants