Set

Benchmark created on


Setup

var baseSet = new Set(['foo', 'bar']);

Test runner

Ready to run.

Testing in
TestOps/sec
new Set
new Set(['foo', 'bar'])
ready
clear
baseSet.clear();
baseSet.add('foo');
baseSet.add('bar');
ready

Revisions

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