With Statement

Benchmark created by Daniel on


Preparation HTML

<script>
  var obj = {
   hello: "world"
  },
      value;
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
without with
value = obj.hello;
ready
with with
with(obj) {
 value = hello;
}
ready

Revisions

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