Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
Feature Requests
FAQ
Register
Log In
Run results for:
Pushy VS Mappy
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (X11; Linux x86_64; rv:142.0) Gecko/20100101 Firefox/142.0
Browser:
Firefox 142
Operating system:
Linux
Device Platform:
Desktop
Date tested:
one year ago
Benchmark engine:
Benchmark.js
Map
8K/s
Push
2K/s
View exact numbers
Test name
Executions per second
✓
Map
7,874 Ops/sec
Push
1,734 Ops/sec
Script Preparation code:
var strs = Array.from(new Array(10000)).map(() => 'String concat. ') var result = []
Tests:
Push
for (let i = 0; i < strs.length; i++) { result.push(strs[i]) }
Map
result = strs.map((a) => a)