Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
Create empty array without elements
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:132.0) Gecko/20100101 Firefox/132.0
Browser:
Firefox 132
Operating system:
Mac OS X 10.15
Device Platform:
Desktop
Date tested:
one year ago
Object.create(Array.prototype)
263.0M/s
new Array()
229.7M/s
[]
224.7M/s
Array()
200.8M/s
Array.of()
61.5M/s
JSON.parse()
12.5M/s
View exact numbers
Test name
Executions per second
✓
Object.create(Array.prototype)
263,022,848 Ops/sec
new Array()
229,692,800 Ops/sec
[]
224,658,512 Ops/sec
Array()
200,823,888 Ops/sec
Array.of()
61,490,936 Ops/sec
JSON.parse()
12,497,430 Ops/sec
Tests:
[]
a = []
new Array()
a = new Array()
Array()
a = Array()
Array.of()
a = Array.of()
JSON.parse()
a = JSON.parse('[]')
Object.create(Array.prototype)
a = Object.create(Array.prototype)