Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Speed comparison #19

Closed
caub opened this issue Jan 10, 2018 · 6 comments
Closed

Speed comparison #19

caub opened this issue Jan 10, 2018 · 6 comments

Comments

@caub
Copy link

caub commented Jan 10, 2018

just did this https://jsfiddle.net/crl/6uaktq3s/ that shows that your lib is the fastest around, and deserve more credit

@tnajdek
Copy link

tnajdek commented Jan 29, 2018

Thanks for sharing the speed comparison demo @caub!

I wasn't convinced by "way slower" so I've uncommented some code to find out that pvorb aka node-md5 is about 50 times slower (10MB test file, 3-yo MBP).

I believe it could make many developers life easier if this package included a speed comparison table in the README file.

@AlttiRi
Copy link

AlttiRi commented Jul 9, 2020

Confirm.
It's works 6-7 times faster than plain old CryptoJS, or md5.js (with over 8kk weekly downloads).
~30 seconds vs ~193 seconds for 3.96 GB file (for little files it works the same way too, but may be no such fast)

I think it's due to the using of Uint32Array. But will this code work on Big-Endian machines?

@caub caub mentioned this issue Jul 9, 2020
@NamelessContributor
Copy link

will this code work on Big-Endian machines?

I tested it on qemu ppc64 and it produced wrong results as expected.

@AlttiRi
Copy link

AlttiRi commented Apr 4, 2022

It's was used in a browser (Do they work fine in BE-machines?), or in Node.js?

@caub
Copy link
Author

caub commented Apr 4, 2022

Which libs are broken on Big-Endian machines?

@emn178
Copy link
Owner

emn178 commented Sep 27, 2023

added benchmarks to README

@emn178 emn178 closed this as completed Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants