Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
hash-sum vs object-hash o
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0
Browser:
Firefox 132
Operating system:
Linux
Device Platform:
Desktop
Date tested:
one year ago
Sum
99K/s
Object-hash
3K/s
View exact numbers
Test name
Executions per second
✓
Sum
98,918 Ops/sec
Object-hash
3,187 Ops/sec
HTML Preparation code:
<script src="https://cdn.jsdelivr.net/npm/hash-sum@2.0.0/hash-sum.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/object-hash@2.0.3/dist/object_hash.min.js"></script>
Script Preparation code:
var context1 = { "userId": 12345, "userProfile": { "name": "John Doe", "address": { "street": "123 Main St", "city": "Anytown", "state": "CA", "zip": "12345" } }, "preferences": { "language": "en", "notifications": { "email": true, "sms": false } }, "isActive": true } var context2 = { "userId": 12346, "userProfile": { "name": "Jane Doe", "address": { "street": "123 Main St", "city": "Anytown", "state": "CA", "zip": "12345" } }, "preferences": { "language": "en", "notifications": { "email": true, "sms": false } }, "isActive": true }
Tests:
Sum
sum(context1) === sum(context2)
Object-hash
objectHash(context1) === objectHash(context2)