You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was curious about this, so I took a look and found some room for optimizations. Final results are:
(index)
Task name
Latency avg (ns)
Latency med (ns)
Throughput avg (ops/s)
Throughput med (ops/s)
Samples
0
'@uswriting/bcrypt'
1144860 ± 0.16%
1147083 ± 20875.00
874 ± 0.16%
872 ± 16
1311
1
'bcryptjs'
1161371 ± 0.16%
1162771 ± 20563.00
862 ± 0.15%
860 ± 15
1292
2
'node.bcrypt.js'
932114 ± 0.15%
932625 ± 17792.00
1074 ± 0.14%
1072 ± 20
1610
3
'@node-rs/bcrypt'
982096 ± 0.14%
984834 ± 18249.50
1019 ± 0.14%
1015 ± 19
1528
so 22.8% slower than node.bcrypt.js, and about 16.6% slower than node-rs/bcrypt which isn't bad given both of those are native code, and its faster than bcryptjs.
as per title
The text was updated successfully, but these errors were encountered: