Commit d27ef8c
committed
Improve: New Rust benchmark suite
AMD Turin, f32 x 1536d vectors
8-way loop unrolled Rust code with separate accumulators
vs SimSIMD for cosine (angular) distance:
> 913 ns vs 85 ns - 10x improvement
For dot-product:
> 252 ns vs 66 ns - 3.8x1 parent b6dd492 commit d27ef8c
File tree
5 files changed
+522
-361
lines changed- scripts
5 files changed
+522
-361
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
| 34 | + | |
40 | 35 | | |
41 | 36 | | |
42 | 37 | | |
| |||
0 commit comments