Created
May 19, 2014 20:54
-
-
Save thoughtpolice/e461148a72db66cb03fb to your computer and use it in GitHub Desktop.
Ed25519 signatures
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
$ time icc -march=native -ipo -std=gnu99 -O3 -parallel sign.c -o sign.icc | |
icc -march=native -ipo -std=gnu99 -O3 -parallel sign.c -o sign.icc 9.94s user 0.22s system 99% cpu 10.203 total | |
$ time gcc -march=native -flto -O3 -fuse-linker-plugin -std=gnu99 -O3 sign.c -o sign.gcc | |
gcc -march=native -flto -O3 -fuse-linker-plugin -std=gnu99 -O3 sign.c -o 9.51s user 0.43s system 99% cpu 9.957 total | |
$ time clang -march=native -O3 -std=gnu99 -O3 sign.c -o sign.clang | |
clang -march=native -O3 -std=gnu99 -O3 sign.c -o sign.clang 2.64s user 0.04s system 99% cpu 2.674 total | |
$ ./sign.icc 4096 | |
Clock frequency: 2.5gHz | |
Warming up (factor=4096)... ok | |
Benchmarking (factor=2048) | |
16 bytes, 2389010 cycles | |
64 bytes, 2386160 cycles | |
256 bytes, 2393120 cycles | |
1024 bytes, 2362.81 cycles/byte | |
8192 bytes, 325.84 cycles/byte | |
$ ./sign.gcc 4096 | |
Clock frequency: 2.5gHz | |
Warming up (factor=4096)... ok | |
Benchmarking (factor=2048) | |
16 bytes, 2405765 cycles | |
64 bytes, 2541900 cycles | |
256 bytes, 2415870 cycles | |
1024 bytes, 2523.20 cycles/byte | |
8192 bytes, 340.35 cycles/byte | |
$ ./sign.clang 4096 | |
Clock frequency: 2.5gHz | |
Warming up (factor=4096)... ok | |
Benchmarking (factor=2048) | |
16 bytes, 1978820 cycles | |
64 bytes, 1980130 cycles | |
256 bytes, 1988450 cycles | |
1024 bytes, 1974.83 cycles/byte | |
8192 bytes, 285.26 cycles/byte |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment