Skip to content

Instantly share code, notes, and snippets.

@siv2r
Created October 19, 2021 01:29
Show Gist options
  • Save siv2r/2452b57ba31373517006cb16849f908b to your computer and use it in GitHub Desktop.
Save siv2r/2452b57ba31373517006cb16849f908b to your computer and use it in GitHub Desktop.
Benchmark Command Line Output
```bash
Benchmark , Min(us) , Avg(us) , Max(us)
ecdh , 92.3 , 92.7 , 93.6
```
Benchmark , Min(us) , Avg(us) , Max(us)
ecmult_gen , 42.6 , 42.9 , 44.0
ecmult_const , 87.4 , 89.0 , 93.9
ecmult 1 , 65.2 , 65.3 , 65.4
ecmult 1g , 45.8 , 46.0 , 46.2
ecmult 2g , 38.1 , 38.6 , 40.0
ecmult_multi 1g , 45.9 , 46.3 , 46.7
ecmult_multi 2g , 55.9 , 56.7 , 59.2
ecmult_multi 3g , 59.1 , 59.8 , 61.6
ecmult_multi 4g , 60.9 , 61.2 , 62.5
ecmult_multi 5g , 61.7 , 62.7 , 65.0
ecmult_multi 6g , 62.6 , 63.2 , 65.0
ecmult_multi 7g , 62.8 , 63.5 , 65.5
ecmult_multi 8g , 63.3 , 63.4 , 63.7
ecmult_multi 9g , 63.5 , 64.0 , 65.6
ecmult_multi 10g , 63.7 , 64.0 , 64.8
ecmult_multi 11g , 64.0 , 64.7 , 67.3
ecmult_multi 12g , 63.7 , 64.3 , 65.0
ecmult_multi 13g , 64.2 , 65.5 , 69.4
ecmult_multi 14g , 64.3 , 65.0 , 69.0
ecmult_multi 15g , 64.4 , 64.8 , 65.4
ecmult_multi 16g , 64.4 , 65.3 , 67.7
ecmult_multi 18g , 64.6 , 65.2 , 66.6
ecmult_multi 20g , 64.7 , 65.4 , 66.9
ecmult_multi 22g , 64.8 , 64.9 , 65.0
ecmult_multi 24g , 64.8 , 64.9 , 65.0
ecmult_multi 26g , 64.9 , 64.9 , 65.1
ecmult_multi 28g , 64.9 , 65.0 , 65.1
ecmult_multi 30g , 65.0 , 65.4 , 66.6
ecmult_multi 32g , 65.0 , 67.0 , 75.3
ecmult_multi 36g , 65.2 , 67.5 , 70.5
ecmult_multi 40g , 65.2 , 66.0 , 68.1
ecmult_multi 44g , 65.2 , 65.5 , 67.0
ecmult_multi 48g , 65.3 , 65.7 , 66.5
ecmult_multi 52g , 65.4 , 67.3 , 71.5
ecmult_multi 56g , 65.5 , 67.8 , 74.8
ecmult_multi 60g , 65.3 , 66.4 , 72.8
ecmult_multi 64g , 65.3 , 66.2 , 70.0
ecmult_multi 72g , 65.4 , 66.5 , 68.4
ecmult_multi 80g , 65.4 , 65.7 , 66.4
ecmult_multi 88g , 65.4 , 65.8 , 68.0
ecmult_multi 96g , 65.4 , 65.5 , 66.0
ecmult_multi 104g , 65.5 , 67.0 , 74.6
ecmult_multi 112g , 65.8 , 67.1 , 69.6
ecmult_multi 120g , 65.6 , 66.3 , 66.7
ecmult_multi 128g , 65.5 , 66.1 , 66.5
ecmult_multi 144g , 65.5 , 66.1 , 66.5
ecmult_multi 160g , 65.5 , 66.0 , 66.5
ecmult_multi 176g , 65.5 , 66.1 , 66.6
ecmult_multi 192g , 65.8 , 66.6 , 67.5
ecmult_multi 208g , 65.9 , 67.4 , 71.3
ecmult_multi 224g , 65.8 , 67.2 , 70.8
ecmult_multi 240g , 66.4 , 68.6 , 71.2
ecmult_multi 256g , 66.0 , 66.7 , 67.5
ecmult_multi 288g , 65.6 , 67.0 , 70.0
ecmult_multi 320g , 66.2 , 68.0 , 71.3
ecmult_multi 352g , 65.7 , 67.0 , 69.6
ecmult_multi 384g , 65.7 , 68.1 , 75.4
ecmult_multi 416g , 65.8 , 67.6 , 72.7
ecmult_multi 448g , 65.6 , 66.8 , 72.8
ecmult_multi 480g , 65.6 , 66.5 , 69.4
ecmult_multi 512g , 65.8 , 67.9 , 75.3
ecmult_multi 576g , 65.6 , 67.0 , 69.6
ecmult_multi 640g , 66.0 , 67.5 , 70.2
```bash
Benchmark , Min(us) , Avg(us) , Max(us)
scalar_add , 0.0189 , 0.0191 , 0.0204
scalar_negate , 0.00947 , 0.00948 , 0.00949
scalar_mul , 0.0741 , 0.0742 , 0.0743
scalar_split , 0.344 , 0.344 , 0.346
scalar_inverse , 3.80 , 3.81 , 3.87
scalar_inverse_var , 2.67 , 2.70 , 2.94
field_normalize , 0.0203 , 0.0204 , 0.0205
field_normalize_weak , 0.00952 , 0.00958 , 0.00965
field_sqr , 0.0358 , 0.0360 , 0.0363
field_mul , 0.0444 , 0.0451 , 0.0499
field_inverse , 3.78 , 3.79 , 3.87
field_inverse_var , 2.66 , 2.66 , 2.72
field_sqrt , 9.66 , 9.67 , 9.72
group_double_var , 0.282 , 0.283 , 0.293
group_add_var , 0.657 , 0.660 , 0.665
group_add_affine , 0.555 , 0.561 , 0.594
group_add_affine_var , 0.466 , 0.467 , 0.470
group_to_affine_var , 2.85 , 2.86 , 2.88
wnaf_const , 0.534 , 0.537 , 0.541
ecmult_wnaf , 1.16 , 1.16 , 1.17
hash_sha256 , 0.583 , 0.588 , 0.599
hash_hmac_sha256 , 2.36 , 2.37 , 2.40
hash_rfc6979_hmac_sha256 , 13.1 , 13.1 , 13.2
context_verify , 1.24 , 1.25 , 1.33
context_sign , 64.8 , 65.5 , 68.0
```
```bash
Benchmark , Min(us) , Avg(us) , Max(us)
ecdsa_recover , 89.4 , 90.0 , 90.8
```
```bash
Benchmark , Min(us) , Avg(us) , Max(us)
schnorrsig_sign , 49.5 , 50.0 , 50.9
schnorrsig_verify , 89.7 , 90.2 , 91.5
```
```bash
Benchmark , Min(us) , Avg(us) , Max(us)
ecdsa_sign , 64.2 , 64.9 , 66.6
```
```bash
Benchmark , Min(us) , Avg(us) , Max(us)
ecdsa_verify , 88.2 , 88.8 , 90.0
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment