You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It was quick and dirty testing in GHCi so your mileage may vary, but the results indicate that bindings to Botan may be significantly faster and consumes less memory than `crypton/ite`, if other modules / functions are similarly performant. Further implentation, testing, and benchmarking will be necessary to confirm this.
123
+
Further testing of `Bcrypt` and `SHA-3` with benchmarking using `tasty-bench` shows a considerable increase in speed, although `Botan` memory usage cannot be accurately measured due to the FFI.
5.55 ms ± 423 μs, 1.0 MB allocated, 117 B copied, 97 MB peak memory
159
+
160
+
All 12 tests passed (60.66s)
161
+
Benchmark botan-low-bench: FINISH
162
+
```
163
+
164
+
Results indicate that bindings to Botan may be significantly more performant than `crypton/ite`, if other modules / functions are similarly performant.
165
+
166
+
Note that the memory use increase in Hash.Botan.longtext is due to the rough state of initial bindings, as the bindings are not yet leak-free. Despite this, it is still approximately twice as fast.
0 commit comments