Skip to content

kminwoog/practical-elixir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PracticalElixir

Hex.pm Version

Benchmark test

hash_bench.exs

benchmark name iterations average time
sha-2(384) 1000000 1.22 µs/op
sha-2(256) 1000000 1.24 µs/op
sha-2(512) 1000000 1.44 µs/op
md5 1000000 1.48 µs/op
sha-1 1000000 1.56 µs/op
sha-2(224) 1000000 1.58 µs/op
md5 - v2 1000000 2.02 µs/op
ripemd160 1000000 2.23 µs/op
md5 - base16 1000000 2.94 µs/op
sha-1 - base16 1000000 3.55 µs/op
md5 - v2 - base16 500000 3.94 µs/op
sha-1 - base64 500000 4.37 µs/op
md5 - base64 500000 4.69 µs/op
md5 - v2 - base64 500000 5.16 µs/op

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/practical_elixir.

About

Practical elixir codes and examples

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages