Last active
March 25, 2021 22:17
-
-
Save johnmaguire/7a2f2be89b736a5b3d6323d0828eb140 to your computer and use it in GitHub Desktop.
Benchmarking Argon2 KDF on my machines
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jmaguire@scorpion [05:56:26 PM] [~/src/nebula/cert] [pkey-benchmarking] | |
-> % go test -bench=. -benchtime=10x | |
go: downloading github.com/golang/protobuf v1.4.1 | |
go: downloading google.golang.org/protobuf v1.25.0 | |
go: downloading golang.org/x/sys v0.0.0-20191210023423-ac6580df4449 | |
goos: linux | |
goarch: amd64 | |
pkg: github.com/slackhq/nebula/cert | |
cpu: Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz | |
BenchmarkAes256DeriveKey-8 10 2058243018 ns/op | |
BenchmarkAes256DeriveKeyMatrix/memory_=_1048576,_iterations_=_3,_parallelism_=_4-8 10 1.108060019 ns/op | |
BenchmarkAes256DeriveKeyMatrix/memory_=_1048576,_iterations_=_4,_parallelism_=_4-8 10 1.188341647 ns/op | |
BenchmarkAes256DeriveKeyMatrix/memory_=_1048576,_iterations_=_6,_parallelism_=_4-8 10 1.639528848 ns/op | |
BenchmarkAes256DeriveKeyMatrix/memory_=_1048576,_iterations_=_8,_parallelism_=_4-8 10 2.197212209 ns/op | |
BenchmarkAes256DeriveKeyMatrix/memory_=_1048576,_iterations_=_3,_parallelism_=_8-8 10 0.78117204 ns/op | |
BenchmarkAes256DeriveKeyMatrix/memory_=_1048576,_iterations_=_4,_parallelism_=_8-8 10 1.017279448 ns/op | |
BenchmarkAes256DeriveKeyMatrix/memory_=_1048576,_iterations_=_6,_parallelism_=_8-8 10 1.505614534 ns/op | |
BenchmarkAes256DeriveKeyMatrix/memory_=_1048576,_iterations_=_8,_parallelism_=_8-8 10 1.999412843 ns/op | |
BenchmarkAes256DeriveKeyMatrix/memory_=_2097152,_iterations_=_3,_parallelism_=_4-8 10 1.883287792 ns/op | |
BenchmarkAes256DeriveKeyMatrix/memory_=_2097152,_iterations_=_4,_parallelism_=_4-8 10 2.395625572 ns/op | |
BenchmarkAes256DeriveKeyMatrix/memory_=_2097152,_iterations_=_6,_parallelism_=_4-8 10 3.558425107 ns/op | |
BenchmarkAes256DeriveKeyMatrix/memory_=_2097152,_iterations_=_8,_parallelism_=_4-8 10 4.767268502 ns/op | |
BenchmarkAes256DeriveKeyMatrix/memory_=_2097152,_iterations_=_3,_parallelism_=_8-8 10 1.631421334 ns/op | |
BenchmarkAes256DeriveKeyMatrix/memory_=_2097152,_iterations_=_4,_parallelism_=_8-8 10 2.131801906 ns/op | |
BenchmarkAes256DeriveKeyMatrix/memory_=_2097152,_iterations_=_6,_parallelism_=_8-8 10 3.148080472 ns/op | |
BenchmarkAes256DeriveKeyMatrix/memory_=_2097152,_iterations_=_8,_parallelism_=_8-8 10 4.158768536 ns/op | |
PASS | |
ok github.com/slackhq/nebula/cert 416.003s | |
jmaguire@scorpion [06:03:26 PM] [~/src/nebula/cert] [pkey-benchmarking] | |
-> % neofetch | |
-` jmaguire@scorpion | |
.o+` ----------------- | |
`ooo/ OS: Arch Linux x86_64 | |
`+oooo: Host: 20J6003JUS ThinkPad T470p | |
`+oooooo: Kernel: 5.11.7-arch1-1 | |
-+oooooo+: Uptime: 3 days, 6 hours, 57 mins | |
`/:-:++oooo+: Packages: 1263 (pacman) | |
`/++++/+++++++: Shell: zsh 5.8 | |
`/++++++++++++++: Resolution: 2048x1152 | |
`/+++ooooooooooooo/` WM: awesome | |
./ooosssso++osssssso+` Theme: NumixSolarizedDarkBlue [GTK2/3] | |
.oossssso-````/ossssss+` Icons: Solarized-Cyan [GTK2/3] | |
-osssssso. :ssssssso. CPU: Intel i7-7820HQ (8) @ 3.900GHz | |
:osssssss/ osssso+++. GPU: NVIDIA GeForce 940MX | |
/ossssssss/ +ssssooo/- GPU: Intel HD Graphics 630 | |
`/ossssso+/:- -:/+osssso+- Memory: 5708MiB / 15735MiB | |
`+sso+:-` `.-/+oso: | |
`++:. `-/+/ | |
.` `/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jmaguire@Acheron [05:56:21 PM] [~/src/nebula/cert] [pkey-benchmarking] | |
-> % go test -bench=. -benchtime=10x -test.timeout 0 | |
goos: linux | |
goarch: amd64 | |
pkg: github.com/slackhq/nebula/cert | |
cpu: AMD FX(tm)-4300 Quad-Core Processor | |
BenchmarkAes256DeriveKey-4 10 2676341589 ns/op | |
BenchmarkAes256DeriveKeyMatrix/memory_=_1048576,_iterations_=_3,_parallelism_=_4-4 10 1.331587699 ns/op | |
BenchmarkAes256DeriveKeyMatrix/memory_=_1048576,_iterations_=_4,_parallelism_=_4-4 10 1.682848246 ns/op | |
BenchmarkAes256DeriveKeyMatrix/memory_=_1048576,_iterations_=_6,_parallelism_=_4-4 10 2.417071884 ns/op | |
BenchmarkAes256DeriveKeyMatrix/memory_=_1048576,_iterations_=_8,_parallelism_=_4-4 10 3.168717718 ns/op | |
BenchmarkAes256DeriveKeyMatrix/memory_=_1048576,_iterations_=_3,_parallelism_=_8-4 10 1.36136217 ns/op | |
BenchmarkAes256DeriveKeyMatrix/memory_=_1048576,_iterations_=_4,_parallelism_=_8-4 10 1.737472683 ns/op | |
BenchmarkAes256DeriveKeyMatrix/memory_=_1048576,_iterations_=_6,_parallelism_=_8-4 10 2.507825558 ns/op | |
BenchmarkAes256DeriveKeyMatrix/memory_=_1048576,_iterations_=_8,_parallelism_=_8-4 10 3.409833027 ns/op | |
BenchmarkAes256DeriveKeyMatrix/memory_=_2097152,_iterations_=_3,_parallelism_=_4-4 10 2.740222098 ns/op | |
BenchmarkAes256DeriveKeyMatrix/memory_=_2097152,_iterations_=_4,_parallelism_=_4-4 10 3.410764828 ns/op | |
BenchmarkAes256DeriveKeyMatrix/memory_=_2097152,_iterations_=_6,_parallelism_=_4-4 10 6.133892575 ns/op | |
BenchmarkAes256DeriveKeyMatrix/memory_=_2097152,_iterations_=_8,_parallelism_=_4-4 10 7.739363218 ns/op | |
BenchmarkAes256DeriveKeyMatrix/memory_=_2097152,_iterations_=_3,_parallelism_=_8-4 10 2.714449131 ns/op | |
BenchmarkAes256DeriveKeyMatrix/memory_=_2097152,_iterations_=_4,_parallelism_=_8-4 10 3.493640198 ns/op | |
BenchmarkAes256DeriveKeyMatrix/memory_=_2097152,_iterations_=_6,_parallelism_=_8-4 10 4.990670894 ns/op | |
BenchmarkAes256DeriveKeyMatrix/memory_=_2097152,_iterations_=_8,_parallelism_=_8-4 10 6.532273822 ns/op | |
PASS | |
ok github.com/slackhq/nebula/cert 646.733s | |
jmaguire@Acheron [06:09:41 PM] [~/src/nebula/cert] [pkey-benchmarking] | |
-> % neofetch | |
-` jmaguire@Acheron | |
.o+` ---------------- | |
`ooo/ OS: Arch Linux x86_64 | |
`+oooo: Kernel: 5.10.13-arch1-1 | |
`+oooooo: Uptime: 33 days, 17 hours, 30 mins | |
-+oooooo+: Packages: 562 (pacman) | |
`/:-:++oooo+: Shell: zsh 5.8 | |
`/++++/+++++++: CPU: AMD FX-4300 (4) @ 3.800GHz | |
`/++++++++++++++: GPU: NVIDIA Quadro P2200 | |
`/+++ooooooooooooo/` Memory: 4608MiB / 15978MiB | |
./ooosssso++osssssso+` | |
.oossssso-````/ossssss+` | |
-osssssso. :ssssssso. | |
:osssssss/ osssso+++. | |
/ossssssss/ +ssssooo/- | |
`/ossssso+/:- -:/+osssso+- | |
`+sso+:-` `.-/+oso: | |
`++:. `-/+/ | |
.` `/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jmaguire@Johns-MacBook-Pro [17:49:47] [~/src/nebula/cert] [pkey-benchmarking] | |
-> % go test -bench=. -benchtime=10x | |
goos: darwin | |
goarch: amd64 | |
pkg: github.com/slackhq/nebula/cert | |
BenchmarkAes256DeriveKey-16 10 1391261786 ns/op | |
BenchmarkAes256DeriveKeyMatrix/memory_=_1048576,_iterations_=_3,_parallelism_=_4-16 10 0.735289212 ns/op | |
BenchmarkAes256DeriveKeyMatrix/memory_=_1048576,_iterations_=_4,_parallelism_=_4-16 10 0.979919804 ns/op | |
BenchmarkAes256DeriveKeyMatrix/memory_=_1048576,_iterations_=_6,_parallelism_=_4-16 10 1.493678136 ns/op | |
BenchmarkAes256DeriveKeyMatrix/memory_=_1048576,_iterations_=_8,_parallelism_=_4-16 10 1.857725165 ns/op | |
BenchmarkAes256DeriveKeyMatrix/memory_=_1048576,_iterations_=_3,_parallelism_=_8-16 10 0.484629244 ns/op | |
BenchmarkAes256DeriveKeyMatrix/memory_=_1048576,_iterations_=_4,_parallelism_=_8-16 10 0.656521862 ns/op | |
BenchmarkAes256DeriveKeyMatrix/memory_=_1048576,_iterations_=_6,_parallelism_=_8-16 10 1.013421332 ns/op | |
BenchmarkAes256DeriveKeyMatrix/memory_=_1048576,_iterations_=_8,_parallelism_=_8-16 10 1.272230646 ns/op | |
BenchmarkAes256DeriveKeyMatrix/memory_=_2097152,_iterations_=_3,_parallelism_=_4-16 10 1.5081269 ns/op | |
BenchmarkAes256DeriveKeyMatrix/memory_=_2097152,_iterations_=_4,_parallelism_=_4-16 10 2.011072707 ns/op | |
BenchmarkAes256DeriveKeyMatrix/memory_=_2097152,_iterations_=_6,_parallelism_=_4-16 10 2.959167394 ns/op | |
BenchmarkAes256DeriveKeyMatrix/memory_=_2097152,_iterations_=_8,_parallelism_=_4-16 10 3.835864458 ns/op | |
BenchmarkAes256DeriveKeyMatrix/memory_=_2097152,_iterations_=_3,_parallelism_=_8-16 10 0.969962374 ns/op | |
BenchmarkAes256DeriveKeyMatrix/memory_=_2097152,_iterations_=_4,_parallelism_=_8-16 10 1.2796374 ns/op | |
BenchmarkAes256DeriveKeyMatrix/memory_=_2097152,_iterations_=_6,_parallelism_=_8-16 10 1.96541991 ns/op | |
BenchmarkAes256DeriveKeyMatrix/memory_=_2097152,_iterations_=_8,_parallelism_=_8-16 10 2.715833457 ns/op | |
PASS | |
ok github.com/slackhq/nebula/cert 304.562s | |
jmaguire@Johns-MacBook-Pro [17:54:57] [~/src/nebula/cert] [pkey-benchmarking] | |
-> % neofetch | |
'c. [email protected] | |
,xNMM. -------------------------------- | |
.OMMMMo OS: macOS 11.1 20C69 x86_64 | |
OMMM0, Host: MacBookPro16,1 | |
.;loddo:' loolloddol;. Kernel: 20.2.0 | |
cKMMMMMMMMMMNWMMMMMMMMMM0: Uptime: 5 days, 7 hours, 48 mins | |
.KMMMMMMMMMMMMMMMMMMMMMMMWd. Packages: 111 (brew) | |
XMMMMMMMMMMMMMMMMMMMMMMMX. Shell: zsh 5.8 | |
;MMMMMMMMMMMMMMMMMMMMMMMM: Resolution: 1792x1120@2x | |
:MMMMMMMMMMMMMMMMMMMMMMMM: DE: Aqua | |
.MMMMMMMMMMMMMMMMMMMMMMMMX. WM: Quartz Compositor | |
kMMMMMMMMMMMMMMMMMMMMMMMMWd. WM Theme: Blue (Dark) | |
.XMMMMMMMMMMMMMMMMMMMMMMMMMMk Terminal: iTerm2 | |
.XMMMMMMMMMMMMMMMMMMMMMMMMK. Terminal Font: MonacoForPowerline 12 | |
kMMMMMMMMMMMMMMMMMMMMMMd CPU: Intel i9-9880H (16) @ 2.30GHz | |
;KMMMMMMMWXXWMMMMMMMk. GPU: Intel UHD Graphics 630, AMD Radeon Pro 5500M | |
.cooc,. .,coo:. Memory: 7686MiB / 16384MiB |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment