asdfasdfqwerqwer

Benchmark created by Jake on


Setup

x = {toString: function(){ return 'property'}};
    wm = new WeakMap();
    wm.set(x, 'abc123');
    obj = {};
    obj[x] = 'abc123';

Test runner

Ready to run.

Testing in
TestOps/sec
WeakMap Get
wm.get(x);
ready
PropGet
obj[x]
ready

Revisions

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