diff options
author | Dennis Eriksen <d@ennis.no> | 2023-09-07 22:08:01 +0200 |
---|---|---|
committer | Dennis Eriksen <d@ennis.no> | 2023-09-07 22:08:01 +0200 |
commit | 1db76b659c79e4da1e21f200b76a80f55b7e4777 (patch) | |
tree | 233de96f2fa9dd8bf5686c93fb076b897c73c8c5 /README.md | |
parent | Redid the perl-version (diff) | |
download | makepass-1db76b659c79e4da1e21f200b76a80f55b7e4777.tar.gz |
Redid makepass.bash
Without any polish...
But makepass.bash is now about 5.5x faster than previously!
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 28 |
1 files changed, 14 insertions, 14 deletions
@@ -153,31 +153,31 @@ Here are the results so far: ``` % hyperfine --time-unit=millisecond --warmup=1 --shell=none ./makepass.* Benchmark 1: ./makepass.bash - Time (mean ± σ): 422.7 ms ± 3.1 ms [User: 95.0 ms, System: 659.0 ms] - Range (min … max): 417.9 ms … 428.3 ms 10 runs + Time (mean ± σ): 75.5 ms ± 2.1 ms [User: 32.1 ms, System: 38.2 ms] + Range (min … max): 71.9 ms … 79.5 ms 39 runs Benchmark 2: ./makepass.go - Time (mean ± σ): 6.9 ms ± 0.2 ms [User: 1.1 ms, System: 4.7 ms] - Range (min … max): 6.3 ms … 8.1 ms 434 runs + Time (mean ± σ): 6.9 ms ± 0.2 ms [User: 1.5 ms, System: 4.1 ms] + Range (min … max): 6.4 ms … 8.2 ms 432 runs Benchmark 3: ./makepass.pl - Time (mean ± σ): 36.2 ms ± 0.4 ms [User: 17.8 ms, System: 16.2 ms] - Range (min … max): 35.6 ms … 37.9 ms 82 runs + Time (mean ± σ): 38.6 ms ± 0.3 ms [User: 16.8 ms, System: 20.8 ms] + Range (min … max): 38.0 ms … 39.4 ms 77 runs Benchmark 4: ./makepass.sh - Time (mean ± σ): 1107.7 ms ± 15.3 ms [User: 276.0 ms, System: 1790.0 ms] - Range (min … max): 1084.9 ms … 1140.3 ms 10 runs + Time (mean ± σ): 1138.7 ms ± 15.4 ms [User: 268.0 ms, System: 1875.0 ms] + Range (min … max): 1114.3 ms … 1157.5 ms 10 runs Benchmark 5: ./makepass.zsh - Time (mean ± σ): 25.3 ms ± 0.7 ms [User: 12.7 ms, System: 10.8 ms] - Range (min … max): 23.6 ms … 27.7 ms 114 runs + Time (mean ± σ): 26.3 ms ± 0.7 ms [User: 12.1 ms, System: 11.6 ms] + Range (min … max): 24.7 ms … 28.3 ms 112 runs Summary './makepass.go' ran - 3.69 ± 0.15 times faster than './makepass.zsh' - 5.28 ± 0.17 times faster than './makepass.pl' - 61.62 ± 1.86 times faster than './makepass.bash' - 161.48 ± 5.22 times faster than './makepass.sh' + 3.80 ± 0.16 times faster than './makepass.zsh' + 5.57 ± 0.19 times faster than './makepass.pl' + 10.89 ± 0.47 times faster than './makepass.bash' + 164.37 ± 5.94 times faster than './makepass.sh' ``` ## Versions |