jQuery body vs. document.body selector (v43)

Revision 43 of this benchmark created by alaria rx on


Description

27

Preparation HTML

Wow that was unusual. I just wrote an extremely long comment but after I 
clicked submit my comment didn't show up. Grrrr... well I'm not writing all that 
over again. Anyhow, just wanted to say wonderful blog!

Setup

SH

Teardown


    SH
  

Test runner

Ready to run.

Testing in
TestOps/sec
$('body')
Wow that was unusual. I just wrote an extremely long comment but after I 
clicked submit my comment didn't show up. Grrrr...
well I'm not writing all that over again. Anyhow, just wanted to say wonderful blog!
ready
$(document.body)
Wow that was unusual. I just wrote an extremely long comment but after I 
clicked submit my comment didn't show up.
Grrrr... well I'm not writing all that over again. Anyhow,
just wanted to say wonderful blog!
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.