local variable scope

Benchmark created by Dave Hulbert on


Description

test local vs global scope

Test runner

Ready to run.

Testing in
TestOps/sec
local
var localVarTest = 0;
localVarTest++;
ready
global
window.globalVarTest = 0;
window.globalVarTest++;
ready
implicit global
globalVarTest = 0;
globalVarTest++;
ready

Revisions

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

  • Revision 1: published by Dave Hulbert on