Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
hash-it vs object-hash (md5) vs hash-sum
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36
Browser:
Chrome 136
Operating system:
Linux
Device Platform:
Desktop
Date tested:
9 months ago
Test name
Executions per second
hash-it
582997.7 Ops/sec
object-hash
6205.3 Ops/sec
hash-sum
316966.5 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, { algorithm: 'md5'}) === objectHash(context2, { algorithm: 'md5'})
hash-sum
hashSum(context1) === hashSum(context2)