News for hackers. Stuff that matters.
Re:Firefox’s new streaming and tiering compiler by axelfontaine on Wednesday January 17, 2018 @12:53PM (#16170081)
Using https://lukewagner.github.io/test-tanks-compile-time/

Chrome 63: 3143.7ms (3.9mb/s)

Firefox 57: 1499ms (8.3mb/s)

Edge 41: 97.3ms (127.2mb/s) !!!

Re:Firefox’s new streaming and tiering compiler by luke_wagner on Wednesday January 17, 2018 @01:39PM (#16170496)
To wit, as described in their blog post: https://blogs.windows.com/msedgedev/2017/04/20/improved- Edge validates and compiles wasm code lazily. Thus, this simplistic benchmark isn't really measuring compile time on Edge. In contrast, Firefox, Chrome and Safari are doing some amount of AOT compilation before WebAssembly.instantiate() resolves.
Re:Firefox’s new streaming and tiering compiler by ehsankia on Wednesday January 17, 2018 @01:48PM (#16170571)
Here's a stupid question, but is the result of the Firefox and Chrome "instantiate" the exact same? Is the compilation doing the same job, or one could be performing more optimizations? Aka faster compilation but slower execution.
Re:Firefox’s new streaming and tiering compiler by computerphage on Wednesday January 17, 2018 @08:12PM (#16173767)
They're doing slightly different things, but not to nearly the extent of Edge which is doing something very different.
Re:Firefox’s new streaming and tiering compiler by isaacaggrey on Wednesday January 17, 2018 @01:39PM (#16170493)
Could someone explain how Edge is performing so well or any references to what they have done in this regard? Has the Edge team already implemented this streaming and tiering compiler technique?
Re:Firefox’s new streaming and tiering compiler by DiThi on Wednesday January 17, 2018 @05:04PM (#16172449)
You tell Edge, "compile this", Edge replies "done!" when what it has done is just verifying it's valid WASM. When you then call a function, it's compiled.
Re:Firefox’s new streaming and tiering compiler by qznc on Wednesday January 17, 2018 @05:11PM (#16172514)
So it is actually sad. It means you just downloaded a lot of stuff and only used a fraction of it.
Re:Firefox’s new streaming and tiering compiler by MrMid on Wednesday January 17, 2018 @01:22PM (#16170322)
Wow.

Firefox 59: 474 ms

Edge 41: 164 ms

The difference is smaller with newer FF, but that is amazing from Edge!

Re:Firefox’s new streaming and tiering compiler by computerphage on Wednesday January 17, 2018 @08:12PM (#16173772)
Edge is doing something very different, see the sibling comments for details.
Re:Firefox’s new streaming and tiering compiler by pimeys on Wednesday January 17, 2018 @01:24PM (#16170344)
Firefox nightly on Linux: 165.6 ms (74.8 MB/s)

Chromium: 1835 ms (6.7 MB/s)