Originally posted by Weasel
View Post
Announcement
Collapse
No announcement yet.
A Quick Benchmark Of Mozilla Firefox With WebRender Beta vs. Chrome
Collapse
X
-
Originally posted by tomtomme View Post
is this for nightly? my about config only has
gfx.canvas.azure.backends skia
gfx.content.azure.backends skia
as options
Comment
-
Originally posted by msotirov View PostWTF are you smoking? Rust is comparable in performance and in many cases faster than C++ and even C. Look at the benchmarks.
Comment
-
Originally posted by Weasel View PostMaybe badly written C/C++. WTF are you smoking thinking that adding EXTRA code (bounds checks) would EVER be faster, it's just logic.
- Rust's compiler eliminates most bound checks anyway, so most of your time is spent elsewhere.
- Rust is already capable of generating more efficient machine code than C and C++, due to the extra type & lifetime information, and borrowck guarantees.
- Likes 1
Comment
-
Originally posted by mmstick View Post- Bounds checking on a modern CPU is effectively free of cost.
Originally posted by mmstick View Post- Rust's compiler eliminates most bound checks anyway, so most of your time is spent elsewhere.
Originally posted by mmstick View Post- Rust is already capable of generating more efficient machine code than C and C++, due to the extra type & lifetime information, and borrowck guarantees.
Comment
-
Originally posted by Weasel View PostNothing redundant is ever free, it is a physical fact.
Can't do that on input it doesn't know about (but the programmer does).
That's even less of an impact on a "modern CPU" than a branch which messes up with the branch predictor. You know, it has limited entries.Last edited by mmstick; 28 October 2018, 12:44 PM.
Comment
-
VERIFIED (lsalzman) in Core - Canvas: 2D. Last updated 2018-08-29.Last edited by johnp117; 28 October 2018, 12:57 PM.
Comment
-
It exposes us to a large amount of extra code and churn from Skia upstream. If we just relied on software Skia instead, we would avoid this problem and simplify Skia maintenance.
Comment
-
It's not prevented (yet), only deprecated. And you conveniently left out the important part:
Software Skia performance is competitive and on some benchmarks (i.e. CanvasMark) our performance is actually better in software than with SkiaGL.
Comment
Comment