local-global-var (v3)

Revision 3 of this benchmark created by aaronzh on


Preparation HTML

<script>
var i, str ='';
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
global
  for (i = 0; i < 100; i++) {
    str += i;
  }
ready
local
  var i, str = '';
  for (i = 0; i < 100; i++) {
    str += i;
  }
ready

Revisions

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