You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
High CPU usage when using custom styles and very slow on mobile devices but not much on PC
My custom styles are broken after updating to v2.5.0-beta.1, and the problem remains in beta.2
I think one of the reasons for high CPU usage is the use of custom styles. On a separate dashboard, there is only a list of room cards and the corresponding pop-up cards. When using custom styles, the CPU usage can sometimes be as high as 35%. Without custom styles, it is much lower (10-14%), and it is much faster on mobile devices. My dashboard uses a lot of pop-up cards, and the CPU usage is even higher, 60%.
To Reproduce
Steps to reproduce the behavior:
Go to '...'
Click on '....'
Scroll down to '....'
See error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Hi! Have you tried the latest v2.5.0-beta.4 for your styling issues?
And for your CPU issue, you should try to move most of your custom styles into modules, or directly under default: in the bubble-modules.yaml file. This should improve performance a lot 🙂
Edit: One more question, was your CPU usage lower in the previous v2.4.0?
For any feature request you can open a new discussion here:
https://github.com/Clooos/Bubble-Card/discussions/categories/feature-requests
For any question you can open a new discussion here:
https://github.com/Clooos/Bubble-Card/discussions/categories/q-a
Describe the bug
I think one of the reasons for high CPU usage is the use of custom styles. On a separate dashboard, there is only a list of room cards and the corresponding pop-up cards. When using custom styles, the CPU usage can sometimes be as high as 35%. Without custom styles, it is much lower (10-14%), and it is much faster on mobile devices. My dashboard uses a lot of pop-up cards, and the CPU usage is even higher, 60%.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
YAML
If applicable, add any relevant YAML code.
dashboard yaml
https://pastebin.com/gUHKi4Bu
Informations (please complete the following information):
Additional context
![Image](https://private-user-images.githubusercontent.com/8142265/413205066-99bf9836-52b6-411b-98e5-bfb8cef3ed4a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3Lmdpd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tQW16LURhdGU9MjAyNTAyMTZUMDUwNDAzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MDgxMjkwZTIwZWJjNjU4YWZiNmZkOTczNWJjZGY5OWY5MDdmMzNjYmE1MGI5ODVlMDE2YzljNTYzYzMxY2I4ZSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.uC6vbdik9lkNZgWy7qvUq8k16SV_5y8Du7F_gy15tQU)
Add any other context about the problem here.
use styles
no use styles
2.mp4
After v2.5.0-bate.1 update
Before v2.5.0-bate.1 update
Thank you! 🍻
The text was updated successfully, but these errors were encountered: