createElement vs. new Image()

Benchmark created by Mathias Bynens on


Test runner

Ready to run.

Testing in
TestOps/sec
createElement
document.createElement('p')
ready
new Image
new Image();
ready

Revisions

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

  • Revision 1: published by Mathias Bynens on