Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
Feature Requests
FAQ
Register
Log In
Run results for:
ramda append vs array shallow
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (X11; Linux x86_64; rv:129.0) Gecko/20100101 Firefox/129.0
Browser:
Firefox 129
Operating system:
Linux
Device Platform:
Desktop
Date tested:
2 years ago
Benchmark engine:
Benchmark.js
ramda append
4.1M/s
shallow
2.5M/s
View exact numbers
Test name
Executions per second
✓
ramda append
4,114,823 Ops/sec
shallow
2,489,552 Ops/sec
HTML Preparation code:
<script src="https://cdnjs.cloudflare.com/ajax/libs/ramda/0.25.0/ramda.min.js"></script>
Script Preparation code:
var arr = ['I','a','m','a','r','r','a','y','t','o','c','h','e','c','k'];
Tests:
shallow
var result = [...arr, '!!!']
ramda append
var result = R.append('!!!', arr);