Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
hash-it vs object-hash vs hash-sum
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Browser:
Chrome 131
Operating system:
Windows
Device Platform:
Desktop
Date tested:
one year ago
Test name
Executions per second
hash-it
1358011.5 Ops/sec
object-hash
18733.9 Ops/sec
hash-sum
619194.1 Ops/sec
HTML Preparation code:
<script type="module"> import hashSum from 'https://cdn.jsdelivr.net/npm/hash-sum@2/+esm' window.hashSum = hashSum </script> <script type="module"> import hashIt from 'https://cdn.jsdelivr.net/npm/hash-it@6/+esm' window.hashIt = hashIt </script> <script type="module"> import objectHash from 'https://cdn.jsdelivr.net/npm/object-hash@3/+esm' window.objectHash = objectHash </script>
Script Preparation code:
var context1 = { title: 'fish', position: 1 } var context2 = { title: 'fish', position: 1 }
Tests:
hash-it
hashIt(context1) === hashIt(context2)
object-hash
objectHash(context1) === objectHash(context2)
hash-sum
hashSum(context1) === hashSum(context2)