maps

Benchmark created on


Setup

var x;

Test runner

Ready to run.

Testing in
TestOps/sec
set
x = new Map();
x.set( 1, 'a' );
x.set( 2, 'b' );
x.set( 3, 'c' );
x.set( 4, 'd' );
x.set( 5, 'e' );
x.set( 6, 'f' );
x.set( 7, 'g' );
ready
init
x = new Map( [
	[ 1, 'a' ],
	[ 2, 'b' ],
	[ 3, 'c' ],
	[ 4, 'd' ],
	[ 5, 'e' ],
	[ 6, 'f' ],
	[ 7, 'g' ],
] );
ready

Revisions

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