String access vs direct access

Benchmark created on


Setup

var a = new Set();

Teardown

a = null;

Test runner

Ready to run.

Testing in
TestOps/sec
String access
a['add']('TEST');
ready
Direct access
a.add('TEST');
ready

Revisions

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