W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2011

[whatwg] Proposal for separating script downloads and execution

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 25 May 2011 21:45:51 -0400
Message-ID: <4DDDB0CF.5000809@mit.edu>
On 5/25/11 8:05 PM, Aryeh Gregor wrote:
> What do you mean by "execution" here?  If the script is already
> compiled, and you write it so that all it does is define a function,
> then executing it should not take any measurable amount of time
> (<1ms).  Currently this might not be observable, since if I understand
> correctly, browsers don't separate compilation from execution.

For what it's worth, if someone can point me to a script they actually 
want such measurements for, I'd be happy to produce at least Gecko 
numbers for how long the various parts take.  While the different parts 
of the pipeline are not separable from the point of view of a web page 
right now, Gecko internals and profilers have no such limitations.

That's assuming people actually want numbers here.

-Boris
Received on Wednesday, 25 May 2011 18:45:51 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:33 UTC