Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
Object hash vs JSON stringify
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:148.0) Gecko/20100101 Firefox/148.0
Browser:
Firefox 148
Operating system:
Windows
Device Platform:
Desktop
Date tested:
one month ago
Test name
Executions per second
Object hash
3755.6 Ops/sec
JSON.stringify
1036402.9 Ops/sec
HTML Preparation code:
<script src=" https://cdn.jsdelivr.net/npm/object-hash@3.0.0/dist/object_hash.min.js "></script>
Script Preparation code:
window.data = { prop1: { a: 1, b: 'a' }, prop2: { a: 1, b: 'a' }, prop3: { a: 1, b: 'a' }, prop4: { a: 1, b: 'a' }, prop5: { a: 1, b: 'a' }, };
Tests:
Object hash
objectHash(window.data);
JSON.stringify
JSON.stringify(window.data);