new Image vs. createElement('img') (v4)

Revision 4 of this benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
new Image
var i= new Image();
i.src = 'http://static.top.de/1.10/img/common/logo.png';
ready
createElement
var j = document.createElement('img');
j.src = 'http://static.top.de/1.10/img/common/logo.png';
j.height = "1";
j.width = "1";
j.border = "0";
document.body.appendChild(j);
 
ready

Revisions

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