Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
Ramda toString vs JSON.stringify
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (X11; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0
Browser:
Firefox 122
Operating system:
Linux
Device Platform:
Desktop
Date tested:
2 years ago
Test name
Executions per second
Ramda
95177.2 Ops/sec
JSON.stringify
1581000.2 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.toString(data, [{foo: {bar: {foo: {bar: ''}}}}, {}, {}]);
JSON.stringify
var result = JSON.stringify(data) === JSON.stringify([{foo: {bar: {foo: {bar: ''}}}}, {}, {}]);