Skip to content

Commit 965c898

Browse files
committed
Update benchmarks using zig cc instead of gcc
1 parent 0ff5ff4 commit 965c898

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

README.md

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -75,22 +75,26 @@ Benchmarks of the `aegis` crate against other options for Rust:
7575

7676
### AMD Zen4
7777

78+
rust 1.73, zig cc 0.11
79+
7880
| cipher | speed |
7981
| ---------------------------- | --------: |
80-
| aes128-gcm (`aes-gcm` crate) | 1.73 G/s |
81-
| aes256-gcm (`aes-gcm` crate) | 1.86 G/s |
82-
| chacha20-poly1305 | 2.47 G/s |
83-
| aes256-gcm (`boring` crate) | 5.14 G/s |
84-
| aes128-gcm (`boring` crate) | 5.92 G/s |
85-
| aegis256 | 14.36 G/s |
86-
| aegis256x2 | 26.92 G/s |
87-
| aegis256x4 | 42.82 G/s |
88-
| aegis128l | 23.35 G/s |
89-
| aegis128x2 | 42.68 G/s |
90-
| aegis128x4 | 55.28 G/s |
82+
| aes128-gcm (`aes-gcm` crate) | 2.19 G/s |
83+
| aes256-gcm (`aes-gcm` crate) | 2.03 G/s |
84+
| chacha20-poly1305 | 2.00 G/s |
85+
| aes256-gcm (`boring` crate) | 5.93 G/s |
86+
| aes128-gcm (`boring` crate) | 6.33 G/s |
87+
| aegis256 | 15.40 G/s |
88+
| aegis256x2 | 30.60 G/s |
89+
| aegis256x4 | 46.17 G/s |
90+
| aegis128l | 26.16 G/s |
91+
| aegis128x2 | 50.35 G/s |
92+
| aegis128x4 | 66.22 G/s |
9193

9294
### Macbook Pro - Apple M1
9395

96+
rust 1.73, Xcode
97+
9498
| cipher | speed |
9599
| ---------------------------- | ---------: |
96100
| aes256-gcm (`aes-gcm` crate) | 139.66 M/s |

0 commit comments

Comments
 (0)