Test

Benchmark created on


Setup

let obj;

function dosomething(a) {
	obj = a;
}


const N = 1000

Test runner

Ready to run.

Testing in
TestOps/sec
array
for(var i=0; i<N; i++){
    dosomething([1,2,3])
}
ready
hex
for(var i=0; i<N; i++){
    dosomething(0x999)
}
ready
int
for(var i=0; i<N; i++){
    dosomething(291)
}
ready

Revisions

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