« Return to Thread: Javascript compile/execute performance in Spidermonkey

RE: Javascript compile/execute performance in Spidermonkey

by Rajesh N-2 :: Rate this Message:

Reply to Author | View in Thread

Hi Rob/All,

The test case basically consists of simple invocation of a set of JS API
functions to realize certain definitive requirements of the software.

Primary set of opertations include (a) creation of simple/composite
variables with defined values, (b) updation of these variables at runtime,
(c) evaluation of Javascript expressions (executable/conditional/iterative
etc).

Please note that the details provided below compare our observations with
JS1.5 and JS1.7 (and not JS 1.8 as I had menioned in my first mail).

The performance measurement takes into account, both the compile and execute
calls to JS. The overall gain is not reflected when we replace Spidermonkey
1.5 with 1.7.  We feel that the direction for speed optimization of
Spidermonkey is to towards making execution faster but not compilation, and
we also noted that there is dip in
performance of compilation time from 1.5 to 1.7.

For our use case, the Compile:Execute time ratio in JS 1.5 is 7:3 whereas in
JS 1.7, it is 9:1

We would like to know whether our analysis of the composite performance
results is in the same lines as how the speed optimization related
modifications in Spidermonkey 1.7

Any pointers towards how differently we can analyze this situation, could
also help.

Thanks
Rajesh

-----Original Message-----
From: dev-tech-js-engine-bounces+rajeshn=huawei.com@...
[mailto:dev-tech-js-engine-bounces+rajeshn=huawei.com@...] On
Behalf Of sayrer
Sent: Saturday, July 19, 2008 12:04 AM
To: dev-tech-js-engine@...
Subject: Re: Javascript compile/execute performance in Spidermonkey

On Jul 18, 6:00 am, Rajesh N <raje...@...> wrote:
>
> Specifically, our comparison analysis of JS1.5 vs JS1.8 has shown
> that, in our usage, CompileScript has dropped in performance in JS
> 1.8, and ExecuteScript has jumped in performance. This trend seems to
> be different from benchmarks for Firefox (including beta) versions,
> which has reported improved Javascript performance over its prior
releases.

Hi Rajesh,

Could you attach test cases that show the performance problem you're seeing?

thanks,
Rob
_______________________________________________
dev-tech-js-engine mailing list
dev-tech-js-engine@...
https://lists.mozilla.org/listinfo/dev-tech-js-engine

_______________________________________________
dev-tech-js-engine mailing list
dev-tech-js-engine@...
https://lists.mozilla.org/listinfo/dev-tech-js-engine

 « Return to Thread: Javascript compile/execute performance in Spidermonkey

LightInTheBox - Buy quality products at wholesale price!