-
Notifications
You must be signed in to change notification settings - Fork 69
Closed
Description
Hey there, thanks for this amazing repo!
I'm currently using chacha20 crate, unfortunately, on arm64 CPU I'm getting poor performances with and without -Ctarget-feature=+neon.
test chacha12_bench1_16b ... bench: 34.15 ns/iter (+/- 1.03) = 470 MB/s
test chacha12_bench2_256b ... bench: 417.99 ns/iter (+/- 16.83) = 613 MB/s
test chacha12_bench3_1kib ... bench: 1,653.14 ns/iter (+/- 39.99) = 619 MB/s
test chacha12_bench4_16kib ... bench: 26,417.67 ns/iter (+/- 919.50) = 620 MB/s
test chacha20_bench1_16b ... bench: 48.31 ns/iter (+/- 0.44) = 333 MB/s
test chacha20_bench2_256b ... bench: 704.38 ns/iter (+/- 53.47) = 363 MB/s
test chacha20_bench3_1kib ... bench: 2,710.32 ns/iter (+/- 109.84) = 377 MB/s
test chacha20_bench4_16kib ... bench: 43,389.69 ns/iter (+/- 2,237.09) = 377 MB/s
test chacha8_bench1_16b ... bench: 26.71 ns/iter (+/- 2.61) = 615 MB/s
test chacha8_bench2_256b ... bench: 284.31 ns/iter (+/- 12.14) = 901 MB/s
test chacha8_bench3_1kib ... bench: 1,121.32 ns/iter (+/- 50.64) = 913 MB/s
test chacha8_bench4_16kib ... bench: 17,929.43 ns/iter (+/- 378.40) = 913 MB/s
Am I missing something ? Thanks in advance :)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels