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
Note that the framerate counter is offscreen in Servo and can be fixed by adding left: 100px; top: 100px to the #fps rule in the CSS.
@metajack What about left: 0; top: 0;? The initial location of absolute elements is typically where they would have ended up in the flow. If this does not yet work in Servo, left: 0; top: 0; should pin the counter to the top left which is where it lives on other browsers.
@gordonbrander I think the issue with left and top is that left: 0 and top: 0 are under the Android system toolbar, so it can't be seen. That's a bug in Servo we should probably fix.
Also I needed to add --device-pixel-ratio 2.0 to the hardcoded startup args for the G Pad since it's high res.
We hit about 60fps around 25 particles, but we are better than Chrome at most points I measured (1000, 500, 250, 125 and the original 1500). Our performance feels more uneven (lots of 7fps followed by 60fps avging to 20, etc).
Comparing Servo built against commit 633d746 with the profiling profile on Arch Linux x86_64 (Intel i7-9700K, NVIDIA GeForce RTX 2070 SUPER) and the production profile (after way too many ugly shims) on Android (Samsung Galaxy S23: Qualcomm SM8550-AC Snapdragon 8 Gen 2, Adreno 740), 35FPS average on PC and 31FPS average on Android, so this is probably fixed now:
Activity
gordonbrander commentedon Aug 10, 2015
@metajack What about
left: 0; top: 0;? The initial location of absolute elements is typically where they would have ended up in the flow. If this does not yet work in Servo,left: 0; top: 0;should pin the counter to the top left which is where it lives on other browsers.gordonbrander commentedon Aug 10, 2015
If we are constrained by the HW, we can reduce the number of particles, or add a toggle that lets us define a workload size.
metajack commentedon Aug 10, 2015
@gordonbrander I think the issue with left and top is that left: 0 and top: 0 are under the Android system toolbar, so it can't be seen. That's a bug in Servo we should probably fix.
Also I needed to add --device-pixel-ratio 2.0 to the hardcoded startup args for the G Pad since it's high res.
We hit about 60fps around 25 particles, but we are better than Chrome at most points I measured (1000, 500, 250, 125 and the original 1500). Our performance feels more uneven (lots of 7fps followed by 60fps avging to 20, etc).
metajack commentedon Aug 13, 2015
@pcwalton discovered that Skia was not being built with ARM NEON optimizations at all. Working on a fix for that.
metajack commentedon Aug 13, 2015
servo/skia#66
metajack commentedon Aug 14, 2015
servo/skia#66 has landed, but made little difference in the demos unfortunately. More investigation is needed.
CYBAI commentedon Dec 15, 2018
Got slow perf with the physics demo on my MBP with latest master (c9229f3).
And the dots even don't move 😂
lumiscosity commentedon Jul 28, 2025
Comparing Servo built against commit 633d746 with the profiling profile on Arch Linux x86_64 (Intel i7-9700K, NVIDIA GeForce RTX 2070 SUPER) and the production profile (after way too many ugly shims) on Android (Samsung Galaxy S23: Qualcomm SM8550-AC Snapdragon 8 Gen 2, Adreno 740), 35FPS average on PC and 31FPS average on Android, so this is probably fixed now:
jdm commentedon Jul 28, 2025
Seems reasonable!