Firefox libmozjs.so build with gcc

IRIX/Nekoware development, porting and related topics.
Forum rules
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.
diegel
Posts: 285
Joined: Tue Nov 17, 2009 2:08 am
Location: Hamburg, Germany

Firefox libmozjs.so build with gcc

Unread postby diegel » Wed May 09, 2012 5:26 am

I am still playing with the mozilla source. You have to compile most parts of libmozjs.so with -O1 if compiling with Mipspro to get a working library. So I tied to build it with gcc -mtune=r5000 -O3 -mips4.

Here are my results of the javascript benchmark http://celtickane.com/labs/web-browser- ... benchmark/ executed on a 1Ghz Tezro:

current Firefox 2.0.22pre

Code: Select all

Test Type       Runtime (ms)
Array object             402
Date object              361
Error handling           359
Math object              392
RegEx object            1106
String object            341
DOM                      733
Ajax declarations       2154
Total Duration          5848

same Firefox with gcc build libmozjs.so:

Code: Select all

Test Type       Runtime (ms)
Array object             394
Date object              356
Error handling           222
Math object              234
RegEx object             967
String object            267
DOM                      730
Ajax declarations       1999
Total Duration          5169


I attached the library, you can put it in /usr/nekoware/lib/firefox-2.0.0.22pre or the corresponding seamonkey path.
Attachments
libmozjs.so.gz
(502.49 KiB) Downloaded 13 times
:Tezro: :Fuel: :Octane2: :Octane: :Onyx2: :O2+: :O2: :Indy: :Indigo: :Cube:

User avatar
jirka
Posts: 133
Joined: Tue May 04, 2004 7:55 am
Location: Czech Republic
Contact:

Re: Firefox libmozjs.so build with gcc

Unread postby jirka » Wed May 09, 2012 11:49 am

Thank you very much! It works very well on my O2. It really seems to be a bit faster on some sites.

User avatar
jirka
Posts: 133
Joined: Tue May 04, 2004 7:55 am
Location: Czech Republic
Contact:

Re: Firefox libmozjs.so build with gcc

Unread postby jirka » Wed May 09, 2012 12:06 pm

jirka wrote:It works very well on my O2.


Well, I have tried the Flickr. The speedup is definitely noticeable - it's slow but infinite patience is no longer necessary. So many, many thanks for our work!
:O2: :Indy: :Indy:

diegel
Posts: 285
Joined: Tue Nov 17, 2009 2:08 am
Location: Hamburg, Germany

Re: Firefox libmozjs.so build with gcc

Unread postby diegel » Wed May 09, 2012 4:15 pm

Thank you very much for your feedback. I will build a new version of my mozilla builds with this library soon. I have to cool down optimization to -O2 to build mozilla versions without bugs. I think I will cancel the firefox build, because there is no improvement to the existing version, separate from this library.
:Tezro: :Fuel: :Octane2: :Octane: :Onyx2: :O2+: :O2: :Indy: :Indigo: :Cube:

hamei
Posts: 10000
Joined: Tue Feb 24, 2004 4:10 pm
Location: over the rainbow

Re: Firefox libmozjs.so build with gcc

Unread postby hamei » Thu May 10, 2012 12:58 am

Hard for me to say if it's truly faster, but it's not slower and so far (one day) hasn't crashed. I'd say to the more cautious members, "C'mon in ! the water's fine !"

6.5.30, diegel's previous firefox build here.

thank you


Return to “SGI: Development”

Who is online

Users browsing this forum: kshuff and 1 guest