regolith-labs / drillx

CPU-friendly hash function for cryptocurrency mining.
76 stars 20 forks source link

add benches to drillx with small improvements #12

Closed shekohex closed 2 months ago

shekohex commented 2 months ago
  1. added Nix and flakes for local develop.
  2. using nightly rust to get some extra optimizations
  3. uses the native blake3 crate instead of the one on Solana-program when compiled using native feature
  4. shares the memory between different equix invocation.
  5. uses -C target-cpu=native RUSTCFLAGS when compiling locally.

Got from 175 H/s to 189 H/s that is about 8% increase.