Multi Nested Map (v2)

Revision 2 of this benchmark created on


Preparation HTML

<script>
  cache = {}
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
4 layer with bit ops
cache = (cache['a'] = {});
cache = (cache['b'] = {});
cache = (cache['c'] = {});
cache = (cache['d'] = {
 '5': (true & 1) | (true << 2) | (true << 3) | (2 << 4)
});
ready
8 layer
cache = (cache['a'] = {});
cache = (cache['b'] = {});
cache = (cache['c'] = {});
cache = (cache[true] = {});
cache = (cache[true] = {});
cache = (cache[true] = {});
cache = (cache[2] = {});
ready

Revisions

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