W3C home > Mailing lists > Public > www-svg@w3.org > November 2009

Re: More Ideas around DOM Constructors

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 20 Nov 2009 14:41:43 -0500
Message-ID: <4B06F0F7.2000300@mit.edu>
To: Jeff Schiller <codedread@gmail.com>
CC: www-svg <www-svg@w3.org>
On 11/20/09 2:04 PM, Jeff Schiller wrote:
> I was thinking that the actual DOM calling mechanism cost was not
> insignificant, seems I was mistaken.

It really depends on the browser, and in some browsers on the method 
(e.g. Gecko currently has two separate codepaths for DOM calls, one of 
which is a lot faster than the other at the cost of not being able to 
handle all calls).  And it might compare favorably with the cost of 
extracting things from the innards of a JS object....

Performance measurement is hard.  :(  Performance prediction even harder.

Received on Friday, 20 November 2009 19:42:20 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:54:24 UTC