Path: mv.asterisco.pt!mvalente
From: mvale…@ruido-visual.pt (Mario Valente)
Newsgroups: mv
Subject: Serverside Javascript Tracemonkey Performance – Part II
Date: Sun, 24 Aug 08 18:01:21 GMT
I just ran the Sunspider ubench Javascript performance tests
on serverside JS 1.6 and JS 1.8 (tracemonkey).
http://svn.webkit.org/repository/webkit/trunk/SunSpider/tests/ubench/
The results are listed below. Summarizing, JS1.6 takes 11.408ms to
complete all tests while JS1.8tracemonkey takes 0.705ms. Huge difference,
around the ballpark +-20X increase seen in browserside tests. Keep in
mind that the results below were performed in a usermodelinux virtual
machine, running within a Xen VM, and as such performance is worse than
the browserside tests available on the web (ex. John Resig’s site)
[root@localhost ubench]# less ubench.out
—————————————
function-closure.js
JS 1.6
real 0m0.799s
user 0m0.080s
sys 0m0.010s
JS 1.8
real 0m0.066s
user 0m0.000s
sys 0m0.000s
—————————————
function-empty.js
JS 1.6
real 0m2.008s
user 0m0.500s
sys 0m0.000s
JS 1.8
real 0m0.122s
user 0m0.010s
sys 0m0.000s
—————————————
function-missing-args.js
JS 1.6
real 0m2.019s
user 0m0.470s
sys 0m0.000s
JS 1.8
real 0m0.109s
user 0m0.010s
sys 0m0.000s
—————————————
function-sum.js
JS 1.6
real 0m1.896s
user 0m0.450s
sys 0m0.000s
JS 1.8
real 0m0.112s
user 0m0.000s
sys 0m0.000s
—————————————
loop-empty-resolve.js
JS 1.6
real 0m0.494s
user 0m0.100s
sys 0m0.000s
JS 1.8
real 0m0.085s
user 0m0.000s
sys 0m0.000s
—————————————
loop-empty.js
JS 1.6
real 0m2.000s
user 0m0.520s
sys 0m0.000s
JS 1.8
real 0m0.102s
user 0m0.010s
sys 0m0.000s
—————————————
loop-sum.js
JS 1.6
real 0m2.192s
user 0m0.520s
sys 0m0.010s
JS 1.8
real 0m0.109s
user 0m0.010s
sys 0m0.000s
— MV