Javascript Performance Thread

Discussion about official Mozilla Firefox builds
Post Reply
User avatar
Zlip792
Posts: 1340
Joined: May 7th, 2011, 1:47 pm
Location: Pakistan

Re: Javascript Performance Thread

Post by Zlip792 »

I want to clear one thing from JS developer, hope they don't mind it.
Now since 64-bit builds are totally disabled, will they check JS performance (Specifically Ion Monkey) on 64-bit platform or not? Or their focus will be now completely 32-bit and ARM platform?
Josa
Posts: 7364
Joined: July 28th, 2009, 4:52 pm

Re: Javascript Performance Thread

Post by Josa »

There is a group of JS developers creating a "baseline compiler". And it has x64 support. They're using the Ionmonkey branch https://hg.mozilla.org/projects/ionmonkey/shortlog
User avatar
Zlip792
Posts: 1340
Joined: May 7th, 2011, 1:47 pm
Location: Pakistan

Re: Javascript Performance Thread

Post by Zlip792 »

Thanks JOSA, I does not know that Ion Monkey branch is still kicking in..
iwod
Posts: 1033
Joined: July 18th, 2003, 10:09 pm

Re: Javascript Performance Thread

Post by iwod »

Josa wrote:There is a group of JS developers creating a "baseline compiler". And it has x64 support. They're using the Ionmonkey branch https://hg.mozilla.org/projects/ionmonkey/shortlog


Looks like a lot more performance tuning coming in for IM.
Josa
Posts: 7364
Joined: July 28th, 2009, 4:52 pm

Re: Javascript Performance Thread

Post by Josa »

And Brian Hackett is working on off thread compilation. Soon to be enabled. https://bugzilla.mozilla.org/show_bug.cgi?id=813559
Ver Greeneyes
Posts: 1030
Joined: June 28th, 2008, 4:57 am

Re: Javascript Performance Thread

Post by Ver Greeneyes »

Regardless, it's only 64-bit Windows builds that are disabled. Linux distributions without 32-bit support certainly need it, and the MacOS build uses a universal installer containing both 32-bit and 64-bit builds (I don't know much about macs, so that's all I'll say).
iwod
Posts: 1033
Joined: July 18th, 2003, 10:09 pm

Re: Javascript Performance Thread

Post by iwod »

Josa wrote:And Brian Hackett is working on off thread compilation. Soon to be enabled. https://bugzilla.mozilla.org/show_bug.cgi?id=813559


Sounds Great to me. Hopefully no more freeze in Sync.
mozian
Posts: 156
Joined: April 30th, 2011, 11:30 pm
Location: HK

Re: Javascript Performance Thread

Post by mozian »

off thread compilation for browser now on inbound https://bugzilla.mozilla.org/show_bug.cgi?id=815199
User avatar
bogas04
Posts: 977
Joined: May 18th, 2010, 1:14 am

Re: Javascript Performance Thread

Post by bogas04 »

and in central as well
bogas04.github.io
MacBook Air Mid 2013 |@bogas04
TheVisitor
Posts: 5469
Joined: May 13th, 2012, 10:43 am

Re: Javascript Performance Thread

Post by TheVisitor »

bogas04 wrote:and in central as well


And preff'd off by default:

Open about:config
pref: javascript.options.ion.parallel_compilation
toggle to true

I did a restart of browser but not sure that's required.

So far no ill-effects, and I notice very little change in performance.

Tested using latest hourly: https://hg.mozilla.org/mozilla-central/rev/532d0832c09d
User avatar
Grantius
Posts: 1545
Joined: June 28th, 2011, 4:14 pm
Contact:

Re: Javascript Performance Thread

Post by Grantius »

TheVisitor wrote:
bogas04 wrote:and in central as well


And preff'd off by default:

Open about:config
pref: javascript.options.ion.parallel_compilation
toggle to true

I did a restart of browser but not sure that's required.

So far no ill-effects, and I notice very little change in performance.

Tested using latest hourly: https://hg.mozilla.org/mozilla-central/rev/532d0832c09d


Pity it's Mac only, I would be interested in trying it out.
Micro gaming box: AMD A10-7800 APU, 8gb RAM M350 ITX case (size of a book), Windows 10/Ubuntu
Tablet/Laptop: Asus Transformer T100, Intel Atom 2GB RAM, Windows 10 x86
Mobile:Xiaomi Redmi Note 3 Pro
User avatar
Zlip792
Posts: 1340
Joined: May 7th, 2011, 1:47 pm
Location: Pakistan

Re: Javascript Performance Thread

Post by Zlip792 »

Grantius wrote:
TheVisitor wrote:
bogas04 wrote:and in central as well


And preff'd off by default:

Open about:config
pref: javascript.options.ion.parallel_compilation
toggle to true

I did a restart of browser but not sure that's required.

So far no ill-effects, and I notice very little change in performance.

Tested using latest hourly: https://hg.mozilla.org/mozilla-central/rev/532d0832c09d


Pity it's Mac only, I would be interested in trying it out.


I don't think it is Mac only..
Josa
Posts: 7364
Joined: July 28th, 2009, 4:52 pm

Re: Javascript Performance Thread

Post by Josa »

It's not Mac only. Nothing in the JS engine is OS specific. What matters is x86/x64/ARM. And this change I think affect all of them.
User avatar
Grantius
Posts: 1545
Joined: June 28th, 2011, 4:14 pm
Contact:

Re: Javascript Performance Thread

Post by Grantius »

Josa wrote:It's not Mac only. Nothing in the JS engine is OS specific. What matters is x86/x64/ARM. And this change I think affect all of them.


I think I'm getting confused - this isn't OMTC?
Micro gaming box: AMD A10-7800 APU, 8gb RAM M350 ITX case (size of a book), Windows 10/Ubuntu
Tablet/Laptop: Asus Transformer T100, Intel Atom 2GB RAM, Windows 10 x86
Mobile:Xiaomi Redmi Note 3 Pro
User avatar
Omega X
Posts: 8225
Joined: October 18th, 2007, 2:38 pm
Location: A Parallel Dimension...

Re: Javascript Performance Thread

Post by Omega X »

Off main thread compilation is not off main thread compositing. Coincidentally they can use the same abbreviation, but the devs don't call it OMTC to keep confusion down.

Turning it on will probably not gain much speed, but script loading might improve. Assuming that the pref works.
Post Reply