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

Chome Flag investigations for speed and success (Aditional chrome startup flags for complex pages or low power Pi Zero W) #25

Closed
andiohn opened this issue Jul 30, 2024 · 4 comments
Labels
good first issue Good for newcomers
Milestone

Comments

@andiohn
Copy link

andiohn commented Jul 30, 2024

Taken directly from this issue, could be huge?

jareware/chilipie-kiosk#197

@andiohn
Copy link
Author

andiohn commented Jul 30, 2024

Other flags to investigate:
jareware/chilipie-kiosk#181

@andiohn andiohn changed the title Aditional chrome startup flags for complex pages or low power Pi Zero W #197 Chome Flag investigations for speed and success (Aditional chrome startup flags for complex pages or low power Pi Zero W) Jul 30, 2024
@debloper debloper added this to the v3.0.0 milestone Jul 31, 2024
@debloper debloper added the good first issue Good for newcomers label Jul 31, 2024
@debloper
Copy link
Owner

debloper commented Aug 1, 2024

Added these following flags (patch landing soon):

  --fast \
  --fast-start \
  --enable-accelerated-video-decode \
  --enable-gpu-rasterization \
  --enable-oop-rasterization \
  --ignore-gpu-blocklist \
  --disable-smooth-scrolling \
  --disable-low-res-tiling \
  --enable-low-end-device-mode \
  --disable-composited-antialiasing \

It's hard to do thorough differential benchmarking to validate each flag's impact on performance, and it's even harder to choose the specific pages as sample to benchmark on. For example, time.is is super easy on resources (1-2% CPU usage on RPi4), whereas windy.com takes up over 50% of CPU on all 4 cores while active.

And even with that much of disparity I didn't see much of a difference on resource footprint (with htop) between the before and after the flags being applied. Also, some of the flags may even be deprecated, for example: --disable-features=OverscrollHistoryNavigation.

However, there's nothing misbehaving, so I'm leaving them in. Might be better to split them up (required vs optional) as part of config.json & configurable by the user through the dashboard.

@andiohn
Copy link
Author

andiohn commented Sep 30, 2024

https://pimylifeup.com/raspberry-pi-kiosk/

This one has a lot more options too, some of them look good, like avoiding the errors etc.

@debloper
Copy link
Owner

debloper commented Oct 7, 2024

Error suppression wouldn't be enabled by default, but user config to enable/disable certain startup flags can be implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants