Live data from Hacker News

Firefox's JIT is getting significantly faster

groups.google.com

31–40 of 286 posts

Re: Firefox's JIT is getting significantly faster

#31
post #22

Earlier quoted context omitted.

The last thing I want in my browser is a JVM.

Maybe I'm just ignorant, but haven't browsers nearly become just a VM for JavaScript? Rendering documents is sometimes incidental. I'm not sure Swing would actually be worse than HTML5.

Layout is actually difficult and offers a great many interesting problems when you try to parallelize it or efficiently use GPU acceleration. There are a lot of constraints and text is difficult to size and render.

Re: Firefox's JIT is getting significantly faster

#32
post #27
post #13

Earlier quoted context omitted.

5-15% on web content is significantly faster to me. Also, like many people, I mainly use my browser for visiting websites instead of running things like Octane, but obviously it would be nicer if Octane were faster too.

> 5-15% on web content is significantly faster to me. Is it though? Would you even notice it? If there was an already short processing action, e.g. 1 second, now it would be 850ms -- hardly noticable. If there was some long processing action, say 5 minutes, now it would take 4 minutes and 25 seconds. Hardly something to write home about in either case...

That fits into my definition of "significantly". It may not be a total game-changer, but if up to 15% isn't significant, where do we draw that line?

Re: Firefox's JIT is getting significantly faster

#33
post #14

Earlier quoted context omitted.

Pretty sure v8 gets a few orders of magnitude more attention and development resources than jvm and graal.

You're probably right about Graal, but there is no way that V8 has significantly more effort put into it than the JVM. At best, they're roughly similar, but I suspect that the JVM has quite a bit more development time and effort put into it.

Yep, just work on all those advanced JVM garbage collectors with various performance characteristics and trade offs is unmatched elsewhere in the industry.

Re: Firefox's JIT is getting significantly faster

#34

[flagged]

The last thing I want in my browser is a JVM.

The JVM actually had a lot of features that are slowly appearing in JavaScript. Standard bytecode format (like WebAssembly), security/authentication (origin, content security policy)...

One day JS engines will add cryptographic signatures to replace the complex origin rules and they will unify the WebAssembly workflow with the JavaScript code pipeline and we'll have a full JVM again.

Re: Firefox's JIT is getting significantly faster

#36
post #31
post #22

Earlier quoted context omitted.

Maybe I'm just ignorant, but haven't browsers nearly become just a VM for JavaScript? Rendering documents is sometimes incidental. I'm not sure Swing would actually be worse than HTML5.

Layout is actually difficult and offers a great many interesting problems when you try to parallelize it or efficiently use GPU acceleration. There are a lot of constraints and text is difficult to size and render.

Agreed, layout is probably more difficult problem and definitely the area with more potential for improvements ("forced reflow" anyone?) whereas JS engines are already at the point of quickly diminishing returns.

Re: Firefox's JIT is getting significantly faster

#37
post #27
post #13

Earlier quoted context omitted.

5-15% on web content is significantly faster to me. Also, like many people, I mainly use my browser for visiting websites instead of running things like Octane, but obviously it would be nicer if Octane were faster too.

> 5-15% on web content is significantly faster to me. Is it though? Would you even notice it? If there was an already short processing action, e.g. 1 second, now it would be 850ms -- hardly noticable. If there was some long processing action, say 5 minutes, now it would take 4 minutes and 25 seconds. Hardly something to write home about in either case...

I'm sorry friend, but 10% is a huge incremental improvement. This could save me hours over a year.

Re: Firefox's JIT is getting significantly faster

#38
post #11

It's nice to see some actual good news involving Firefox. With all of the leadership and financial struggles lately, it's made me worry that the browser I've been using for the last 17 years doesn't have long to live. Hopefully that is not the case.

> years doesn't have long to live

the market share is really worrying but OTOH Mozilla just secured another multi year deal with Google so in the short-medium term they are fine financially. I hope that a reason for all those projects cuts is at least partially creation of finacial reserves, in theory they do have enough cash and momentum to stay technologically relevant for at least 10 years.

Re: Firefox's JIT is getting significantly faster

#39

Firefox is a dead man walking. If you want privacy, use a FF fork called Librewolf

You claim it's dead, but suggest using a fork that can't hope to keep up if Firefox dies? They benefit from all the architectural improvements done to Firefox, including this.

Re: Firefox's JIT is getting significantly faster

#40
post #11

It's nice to see some actual good news involving Firefox. With all of the leadership and financial struggles lately, it's made me worry that the browser I've been using for the last 17 years doesn't have long to live. Hopefully that is not the case.

The media autoplay forced on (with settings that don't turn it off in mobile or desktop) make me miserable and seriously considering using something else that isn't Chrome.
Post reply on HN