Javascript Performance Thread
- Zlip792
- Posts: 1340
- Joined: May 7th, 2011, 1:47 pm
- Location: Pakistan
Re: Javascript Performance Thread
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?
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?
-
- Posts: 7420
- Joined: July 28th, 2009, 4:52 pm
Re: Javascript Performance Thread
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
- Zlip792
- Posts: 1340
- Joined: May 7th, 2011, 1:47 pm
- Location: Pakistan
Re: Javascript Performance Thread
Thanks JOSA, I does not know that Ion Monkey branch is still kicking in..
-
- Posts: 1033
- Joined: July 18th, 2003, 10:09 pm
Re: Javascript Performance Thread
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.
-
- Posts: 7420
- Joined: July 28th, 2009, 4:52 pm
Re: Javascript Performance Thread
And Brian Hackett is working on off thread compilation. Soon to be enabled. https://bugzilla.mozilla.org/show_bug.cgi?id=813559
-
- Posts: 1030
- Joined: June 28th, 2008, 4:57 am
Re: Javascript Performance Thread
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).
-
- Posts: 1033
- Joined: July 18th, 2003, 10:09 pm
Re: Javascript Performance Thread
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.
-
- Posts: 156
- Joined: April 30th, 2011, 11:30 pm
- Location: HK
Re: Javascript Performance Thread
off thread compilation for browser now on inbound https://bugzilla.mozilla.org/show_bug.cgi?id=815199
- bogas04
- Posts: 977
- Joined: May 18th, 2010, 1:14 am
Re: Javascript Performance Thread
and in central as well
-
- Posts: 5472
- Joined: May 13th, 2012, 10:43 am
Re: Javascript Performance Thread
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
- Grantius
- Posts: 1545
- Joined: June 28th, 2011, 4:14 pm
- Contact:
Re: Javascript Performance Thread
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
Tablet/Laptop: Asus Transformer T100, Intel Atom 2GB RAM, Windows 10 x86
Mobile:Xiaomi Redmi Note 3 Pro
- Zlip792
- Posts: 1340
- Joined: May 7th, 2011, 1:47 pm
- Location: Pakistan
Re: Javascript Performance Thread
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..
-
- Posts: 7420
- Joined: July 28th, 2009, 4:52 pm
Re: Javascript Performance Thread
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.
- Grantius
- Posts: 1545
- Joined: June 28th, 2011, 4:14 pm
- Contact:
Re: Javascript Performance Thread
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
Tablet/Laptop: Asus Transformer T100, Intel Atom 2GB RAM, Windows 10 x86
Mobile:Xiaomi Redmi Note 3 Pro
- Omega X
- Posts: 8225
- Joined: October 18th, 2007, 2:38 pm
- Location: A Parallel Dimension...
Re: Javascript Performance Thread
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.
Turning it on will probably not gain much speed, but script loading might improve. Assuming that the pref works.