Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
hash-it vs object-hash (md5) vs hash-sum
(version: 1)
Comparing performance of:
hash-it vs object-hash vs hash-sum
Created:
10 months ago
by:
Registered User
Jump to the latest result
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)
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (3)
Previous results
Fork
Test case name
Result
hash-it
object-hash
hash-sum
Fastest:
N/A
Slowest:
N/A
Latest run results:
Run details:
(Test run date:
9 months ago
)
User agent:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36
Browser/OS:
Chrome 136 on Linux
View result in a separate tab
Embed
Embed Benchmark Result
Test name
Executions per second
hash-it
582997.7 Ops/sec
object-hash
6205.3 Ops/sec
hash-sum
316966.5 Ops/sec
Comments
Confirm delete:
Do you really want to delete benchmark?