Skip to content

Commit

Permalink
sample benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
mkannwischer committed Apr 11, 2019
1 parent 92f48e6 commit bd28f38
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 21 deletions.
36 changes: 19 additions & 17 deletions benchmarks.csv
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
Speed Evaluation
Key Encapsulation Schemes
Speed Evaluation,,,,,,,,,,
Key Encapsulation Schemes,,,,,,,,,,
Scheme,Implementation,Key Generation [cycles] (mean),Key Generation [cycles] (min),Key Generation [cycles] (max),Encapsulation [cycles] (mean),Encapsulation [cycles] (min),Encapsulation [cycles] (max),Decapsulation [cycles] (mean),Decapsulation [cycles] (min),Decapsulation [cycles] (max)
kyber768 (1 executions),m4,1098786,1098786,1098786,1384731,1384731,1384731,1417090,1417090,1417090
kyber768 (1 executions),ref,1269712,1269712,1269712,1677400,1677400,1677400,1828111,1828111,1828111
Signature Schemes
kyber768 (2 executions),m4,1098748,1098710,1098786,1384692,1384654,1384731,1417052,1417014,1417090
kyber768 (2 executions),ref,1269379,1269047,1269712,1677068,1676737,1677400,1827778,1827445,1828111
Signature Schemes,,,,,,,,,,
Scheme,Implementation,Key Generation [cycles] (mean),Key Generation [cycles] (min),Key Generation [cycles] (max),Sign [cycles] (mean),Sign [cycles] (min),Sign [cycles] (max),Verify [cycles] (mean),Verify [cycles] (min),Verify [cycles] (max)
Memory Evaluation
Key Encapsulation Schemes
Scheme,Implementation,Key Generation [bytes],Encapsulation [bytes],Decapsulation [bytes]
Signature Schemes
Scheme,Implementation,Key Generation [bytes],Sign [bytes],Verify [bytes]
Hashing Evaluation
Key Encapsulation Schemes
Scheme,Implementation,Key Generation [%],Encapsulation [%],Decapsulation [%]
kyber768,m4,68.8,66.8,56.3
kyber768,ref,59.6,55.2,43.6
Signature Schemes
Scheme,Implementation,Key Generation [%],Sign [%],Verify [%]
Memory Evaluation,,,,,,,,,,
Key Encapsulation Schemes,,,,,,,,,,
Scheme,Implementation,Key Generation [bytes],Encapsulation [bytes],Decapsulation [bytes],,,,,,
kyber768,m4,10544,13720,14880,,,,,,
kyber768,ref,10544,13720,14880,,,,,,
Signature Schemes,,,,,,,,,,
Scheme,Implementation,Key Generation [bytes],Sign [bytes],Verify [bytes],,,,,,
Hashing Evaluation,,,,,,,,,,
Key Encapsulation Schemes,,,,,,,,,,
Scheme,Implementation,Key Generation [%],Encapsulation [%],Decapsulation [%],,,,,,
kyber768,m4,68.9,66.8,56.3,,,,,,
kyber768,ref,59.6,55.2,43.6,,,,,,
Signature Schemes,,,,,,,,,,
Scheme,Implementation,Key Generation [%],Sign [%],Verify [%],,,,,,
8 changes: 5 additions & 3 deletions benchmarks.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,25 @@
## Key Encapsulation Schemes
| scheme | implementation | key generation [cycles] | encapsulation [cycles] | decapsulation [cycles] |
| ------ | -------------- | ----------------------- | ---------------------- | ---------------------- |
| kyber768 (1 executions) | m4 | AVG: 1,098,786 <br /> MIN: 1,098,786 <br /> MAX: 1,098,786 | AVG: 1,384,731 <br /> MIN: 1,384,731 <br /> MAX: 1,384,731 | AVG: 1,417,090 <br /> MIN: 1,417,090 <br /> MAX: 1,417,090 |
| kyber768 (1 executions) | ref | AVG: 1,269,712 <br /> MIN: 1,269,712 <br /> MAX: 1,269,712 | AVG: 1,677,400 <br /> MIN: 1,677,400 <br /> MAX: 1,677,400 | AVG: 1,828,111 <br /> MIN: 1,828,111 <br /> MAX: 1,828,111 |
| kyber768 (2 executions) | m4 | AVG: 1,098,748 <br /> MIN: 1,098,710 <br /> MAX: 1,098,786 | AVG: 1,384,692 <br /> MIN: 1,384,654 <br /> MAX: 1,384,731 | AVG: 1,417,052 <br /> MIN: 1,417,014 <br /> MAX: 1,417,090 |
| kyber768 (2 executions) | ref | AVG: 1,269,379 <br /> MIN: 1,269,047 <br /> MAX: 1,269,712 | AVG: 1,677,068 <br /> MIN: 1,676,737 <br /> MAX: 1,677,400 | AVG: 1,827,778 <br /> MIN: 1,827,445 <br /> MAX: 1,828,111 |
## Signature Schemes
| scheme | implementation | key generation [cycles] | sign [cycles] | verify [cycles] |
| ------ | -------------- | ----------------------- | ------------- | --------------- |
# Memory Evaluation
## Key Encapsulation Schemes
| Scheme | Implementation | Key Generation [bytes] | Encapsulation [bytes] | Decapsulation [bytes] |
| ------ | -------------- | ---------------------- | --------------------- | --------------------- |
| kyber768 | m4 | 10,544 | 13,720 | 14,880 |
| kyber768 | ref | 10,544 | 13,720 | 14,880 |
## Signature Schemes
| Scheme | Implementation | Key Generation [bytes] | Sign [bytes] | Verify [bytes] |
| ------ | -------------- | ---------------------- | ------------ | -------------- |
# Hashing Evaluation
## Key Encapsulation Schemes
| Scheme | Implementation | Key Generation [%] | Encapsulation [%] | Decapsulation [%] |
| ------ | -------------- | ------------------ | ----------------- | ----------------- |
| kyber768 | m4 | 68.8% | 66.8% | 56.3% |
| kyber768 | m4 | 68.9% | 66.8% | 56.3% |
| kyber768 | ref | 59.6% | 55.2% | 43.6% |
## Signature Schemes
| Scheme | Implementation | Key Generation [%] | Sign [%] | Verify [%] |
Expand Down
2 changes: 1 addition & 1 deletion mupq
Submodule mupq updated 1 files
+9 −4 mupq.py

0 comments on commit bd28f38

Please sign in to comment.