- From: Boris Zbarsky <bzbarsky@MIT.EDU>
- Date: Sat, 19 Oct 2013 11:58:07 -0400
- To: "Tab Atkins Jr." <jackalmage@gmail.com>
- Cc: Glenn Maynard <glenn@zewt.org>, Ryosuke Niwa <rniwa@apple.com>, whatwg <whatwg@lists.whatwg.org>, Tim Streater <tim@clothears.org.uk>, Ian Hickson <ian@hixie.ch>
On 10/18/13 5:56 PM, Boris Zbarsky wrote: > I used a fairly large subtree that needs walking (1000 > elements) Er, I _meant_ to, but the testcase clearly only has 100 elements. The numbers with 1000 elements are: Chrome: document.getElementById: 50 In-tree querySelector: 210 In-tree querySelector, no string concat: 100 In-tree getElementById: 60 Out-of-tree querySelector: 23590 Out-of-tree querySelector, no string concat: 22870 Out-of-tree getElementById: 4450 Stock Firefox: document.getElementById: 60 In-tree querySelector: 140 In-tree querySelector, no string concat: 130 In-tree getElementById: 190 Out-of-tree querySelector: 8590 Out-of-tree querySelector, no string concat: 8560 Out-of-tree getElementById: 8620 Modified Firefox: document.getElementById: 60 In-tree querySelector: 130 In-tree querySelector, no string concat: 120 In-tree getElementById: 4270 Out-of-tree querySelector: 8320 Out-of-tree querySelector, no string concat: 8300 Out-of-tree getElementById: 4210 -Boris
Received on Saturday, 19 October 2013 15:58:37 UTC