object property acces2

Benchmark created on


Preparation HTML

<script>
  var object = {property:"value"};
  var property = "value";
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
variable access
for(var i=0;i<1000000000;i++) property = "value";
ready
object property access
for(var i=0;i<1000000000;i++) object.property = "value";
ready

Revisions

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