Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
es-toolkit isEqual vs JSON stringify
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36
Browser:
Chrome 132
Operating system:
Mac OS X 10.15.7
Device Platform:
Desktop
Date tested:
one year ago
Test name
Executions per second
es-toolkit
2126577.0 Ops/sec
JSON.stringify
3280117.2 Ops/sec
HTML Preparation code:
<script src="https://cdn.jsdelivr.net/npm/es-toolkit@%5E1"></script>
Script Preparation code:
const node1 = { id: "n-w71cvCJS6w7WM8E3C3_6w", order: "a06DJ", type: "shape", attributes: { width: 100, height: 100, color: '#fff', } }; const node2 = { id: "n-w71cvCJS6w7WM8E3C3_6w", order: "a06DJ", type: "shape", attributes: { width: 100, height: 100, color: '#fff', } };
Tests:
es-toolkit
_.isEqual(node1, node2);
JSON.stringify
JSON.stringify(node1) === JSON.stringify(node2);