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:
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:
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.