createElement: html vs tagname (v2)

Revision 2 of this benchmark created on


Setup

var iframe, iframeName='zeIframe';

Test runner

Ready to run.

Testing in
TestOps/sec
html
try{
iframe = document.createElement('<iframe name="' + iframeName + '"/>');
}catch(e) {/*here for non-trident browsers*/}
ready
tagname
iframe = document.createElement('iframe');
iframe.name = iframeName;
ready

Revisions

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