Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
Ramda equals vs JSON.stringify
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/119.0.0.0 Safari/537.36
Browser:
Chrome 119
Operating system:
Windows
Device Platform:
Desktop
Date tested:
2 years ago
Test name
Executions per second
Ramda
183220.7 Ops/sec
JSON.stringify
1002863.8 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 data = [{foo: {bar: {foo: {bar: ''}}}}, {}, {}];
Tests:
Ramda
var result = R.equals(data, [{foo: {bar: {foo: {bar: ''}}}}, {}, {}]);
JSON.stringify
var result = JSON.stringify(data) === JSON.stringify([{foo: {bar: {foo: {bar: ''}}}}, {}, {}]);