Test

Benchmark created on


Setup

var array = [[]];
var obj = {t: []}
var map = new Map()
map.set('t', [])

Test runner

Ready to run.

Testing in
TestOps/sec
Arr
for (let i = 0; i < 100; i++) {
  array[0].push(i)
}
ready
Obj
for (let i = 0; i < 100; i++) {
  obj['t'].push(i)
}
ready
Map
for (let i = 0; i < 100; i++) {
  map.get('t').push(i)
}
ready

Revisions

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