Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
es-toolkit isEqual vs JSON stringify (2)
(version: 1)
Comparing performance of:
es-toolkit vs JSON.stringify
Created:
one year ago
by:
Registered User
Jump to the latest result
HTML Preparation code:
<script type="importmap"> { "imports": { "es-toolkit": "https://esm.sh/es-toolkit@%5E1" } } </script>
Script Preparation code:
import { isEqual: esToolkitisEqual } from 'es-toolkit'; 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
[Async/Deferred]
esToolkitisEqual(node1, node2);
JSON.stringify
[Async/Deferred]
JSON.stringify(node1) === JSON.stringify(node2);
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
es-toolkit
JSON.stringify
Fastest:
N/A
Slowest:
N/A
Latest run results:
No previous run results
This benchmark does not have any results yet. Be the first one
to run it!
Comments
Confirm delete:
Do you really want to delete benchmark?