Create Object vs Variable Empty Object

Benchmark created by David Rodrigues on


Preparation HTML

<script>
  var empty = {};
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
Create Object
void({});
ready
Empty Variable Object
void(empty);
ready

Revisions

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

  • Revision 1: published by David Rodrigues on