hash_benchmark

command module
v0.0.0-...-2fd791a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2020 License: GPL-3.0 Imports: 8 Imported by: 0

README

hash_benchmark

A small hash benchmark written by go.

Some test result

2018 15' MacBook Pro (i7-8750H)

md5 用时: 2.173 s
sha1 用时: 1.481 s
sha224 用时: 3.851 s
sha256 用时: 3.985 s
sha384 用时: 2.606 s
sha512 用时: 2.792 s
md5 用时: 2.108 s
sha1 用时: 1.670 s
sha224 用时: 3.841 s
sha256 用时: 3.839 s
sha384 用时: 2.569 s
sha512 用时: 2.537 s

Red Mi 6X (sdm660)

md5 用时: 4.377 s
sha1 用时: 1.666 s
sha224 用时: 1.578 s
sha256 用时: 1.578 s
sha384 用时: 18.285 s
sha512 用时: 18.303 s
md5 用时: 4.311 s
sha1 用时: 1.665 s
sha224 用时: 1.577 s
sha256 用时: 1.577 s
sha384 用时: 18.289 s
sha512 用时: 18.286 s

极路由1s (mt7620)

md5 用时: 59.468 s
sha1 用时: 316.601 s
sha224 用时: 537.150 s
sha256 用时: 530.069 s
sha384 用时: 623.201 s
sha512 用时: 621.145 s
md5 用时: 57.835 s
(时间有限,未测完)

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL