2025-10-13 9:34 AM
I'm running a build with meta-webkit on the scarthgap branch for the STM32MP257-EV1. I'm trying to get a web browser working for a custom web page and the performance is pretty poor and I'm not quite sure why. It seems like there's a lot of people doing a similar project but not a lot of hard benchmarking so I'm partially hoping we can make this thread to provide help for people in the future and also maybe I can figure out why my build is running so slow.
Here's a more minimal example that anyone should be able to test.
If I run
cog https://webglsamples.org/aquarium/aquarium.html
set it to 500 fish, and then look at top. I get about 79% cpu usage for wpewebkit and the output of /sys/kernel/debug/gc/load is:
The previous 100ms HW load
device : 0
core : 0
load : 62.26%
The screen connected via LVDS has a noticeable lag.
If I set the fish count to 100 then there's no lag. I know using a web browser on the MPU is pushing it's capabilities but it would be awesome if someone could confirm that they have similar performance or let me know what I could do to make it run better.