CPU
did you use sse at least? say sse3.1 have some stuff for that. avx too
SSE is not supported in an ARM device like the M1.
benchmarking all sha256 algorithms ...
"c" : benchmarking algorithm ...
"c" : algorithm runs at 1.52071 MH/s
"cryptopp" : benchmarking algorithm ...
"cryptopp" : algorithm runs at 0.47593 MH/s
"c" : is fastest algorithm at 1.52071 MH/s
That's per core, the M1 has 8 cores.
In an Intel CPU:
benchmarking all sha256 algorithms ...
"c" : benchmarking algorithm ...
"c" : algorithm runs at 1.82270 MH/s
"cryptopp" : benchmarking algorithm ...
"cryptopp" : algorithm runs at 1.11739 MH/s
"sse2_64" : benchmarking algorithm ...
"sse2_64" : algorithm runs at 1.42778 MH/s
"sse4_64" : benchmarking algorithm ...
"sse4_64" : algorithm runs at 1.31795 MH/s
"c" : is fastest algorithm at 1.82270 MH/s
That's per core, the CPU had 20 cores. Also, I've seen the sse4_64 algo being fast at other times in the same CPU.