Earlier quoted context omitted.
Baseline interpreter is a good example of doing things that help most Web pages instead of benchmarks. One of the major things that ARES-6 and other benchmarks test is whether generators are JIT'd, for example. This doesn't really help Web pages, as it's a rarely used feature at present and even rarer in hot loops. SpiderMonkey should get around to jitting generators, but I have a hard time blaming the team for focus…
JSC's async-await is constructed on the generator's mechanism so that high performance generator is critical for all the web code using async functions. Not sure how SpiderMonkey is doing.
The Baseline Interpreter: A Faster JavaScript Interpreter in Firefox 70
191–200 of 281 posts
Re: The Baseline Interpreter: A Faster JavaScript Interpreter in Firefox 70
#192Web browsers are some of the worst-performing software we have today. Asking them to do more than display documents and web pages never seems to go well.
Re: The Baseline Interpreter: A Faster JavaScript Interpreter in Firefox 70
#193The Mozilla tech blogs are always a good read. Informative and easy to digest. I can only think of one other company blogging with similar consistency/quality: Cloudflare. Firefox performance has seen tremendous gains since their Project Quantum efforts. It mostly feels on par with Chrome for me pretty much everywhere. There is one glaring omission though: a single company where I have problems with FF on multiple ap…
I use the HTML version instead to deal with this issue
Re: The Baseline Interpreter: A Faster JavaScript Interpreter in Firefox 70
#194The Mozilla tech blogs are always a good read. Informative and easy to digest. I can only think of one other company blogging with similar consistency/quality: Cloudflare. Firefox performance has seen tremendous gains since their Project Quantum efforts. It mostly feels on par with Chrome for me pretty much everywhere. There is one glaring omission though: a single company where I have problems with FF on multiple ap…
I solve this by using Firefox for all web browsing, and Chrome for gmail/gapps/anything by google. It sucks that we have to do that, but I can't entirely blame them for making their own products work better on their own browser.
Re: The Baseline Interpreter: A Faster JavaScript Interpreter in Firefox 70
#195Earlier quoted context omitted.
> Hundreds of millions in revenue and probably < 0.5% of it due to its linux userbase?
It's not that they have huge userbase lately, so they could afford to lose it any further.
Firefox has 230 million monthly users, using FF for an average of over 5 hours per day.
Re: The Baseline Interpreter: A Faster JavaScript Interpreter in Firefox 70
#196What I missed in this article is why the Baseline Interpreter is faster than the C++ interpreter. The code snippet for the load zero instruction looks like what a compiler should produce for a straightforward C++ switch case for that instruction. Except that the code uses a push instruction to store the value directly on the system stack, whereas the C++ interpreter would presumably use a more general store instruction into an array (in the heap, maybe) treated as the interpreter stack.
Is that the difference, or am I missing something else?
Re: The Baseline Interpreter: A Faster JavaScript Interpreter in Firefox 70
#197The Mozilla tech blogs are always a good read. Informative and easy to digest. I can only think of one other company blogging with similar consistency/quality: Cloudflare. Firefox performance has seen tremendous gains since their Project Quantum efforts. It mostly feels on par with Chrome for me pretty much everywhere. There is one glaring omission though: a single company where I have problems with FF on multiple ap…
Gmail is really crazy slow on Firefox, it’s such a deal breaker. I have regularly 30s to load the web application, it’s closer to 2-5s on Edge with the same setup (same ad blockers, etc).
Re: The Baseline Interpreter: A Faster JavaScript Interpreter in Firefox 70
#198Javascript engines gave up on interpreters too quickly. JITs have been a huge source of security holes, and the language is so huge now that verifying the correctness of JS optimizations is extremely hard. JS was never meant to be a high performance language. Plus all the heroic work on exotic optimization has just resulted in induced demand. Web pages have just grown to contain so much Javascript that they're even s…
Re: The Baseline Interpreter: A Faster JavaScript Interpreter in Firefox 70
#199Earlier quoted context omitted.
You mean the ones google is fighting to keep, while trying to convince everyone that allowing more tracking would incentive bad actors to drop fingerprinting ?
Where did you learn that? My understanding is that they like cookies and don't like fingerprinting.
Re: The Baseline Interpreter: A Faster JavaScript Interpreter in Firefox 70
#200The idea of generating an interpreter from the compiler is really neat. What I missed in this article is why the Baseline Interpreter is faster than the C++ interpreter. The code snippet for the load zero instruction looks like what a compiler should produce for a straightforward C++ switch case for that instruction. Except that the code uses a push instruction to store the value directly on the system stack, whereas…
I found the explanation of what they're doing a little unclear though and it seems they might not be doing exactly what is described in the answer above.