Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
map vs fast map
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36
Browser:
Chrome 132
Operating system:
Windows
Device Platform:
Desktop
Date tested:
one year ago
Test name
Executions per second
regular map
1501.2 Ops/sec
fast.js map
6649.5 Ops/sec
HTML Preparation code:
<script src='https://bundle.run/fast.js@0.1.1'></script>
Script Preparation code:
const lim = 100000; let i = 0; var a = []; while (i < lim) { a.push({memb: i}); i++; } function getMemb(av) { return av.memb; }
Tests:
regular map
var b = a.map(getMemb);
fast.js map
var b = fast_js.map(a, getMemb);