• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Neptune-Crypto / twenty-first / 18561468165
98%

Build:
DEFAULT BRANCH: master
Ran 16 Oct 2025 01:06PM UTC
Jobs 1
Files 22
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

16 Oct 2025 12:24PM UTC coverage: 96.693% (+0.09%) from 96.606%
18561468165

push

github

jan-ferdinand
feat(tip5): Add AVX-512 version of Tip5

On machines that support it, and using conditional compilation, Tip5 can
be vectorized using AVX-512, which results in significant performance
improvements. Credit goes to the team at https://kompilers.com/

== How To ==

To build the new goodies, use:

RUSTFLAGS="-C target-feature=+avx512ifma,+avx512f,+avx512bw,+avx512vbmi"
cargo build

If you are compiling on a machine that has all the necessary features,
you can use the following instead:

RUSTFLAGS="-C target-cpu=native" cargo build

== Performance ==

You can expect the following raw performance gains:

```
hash_10
              time:   [336.29 ns 336.92 ns 337.72 ns]
              change: [−31.354% −31.251% −31.139%] (p = 0.00 < 0.05)
              Performance has improved.

hash_varlen/len/16384
              time:   [526.63 µs 527.02 µs 527.51 µs]
              change: [−32.321% −32.151% −32.017%] (p = 0.00 < 0.05)
              Performance has improved.

hash_parallel/len/65536
              time:   [2.0350 ms 2.0502 ms 2.0656 ms]
              change: [−10.764% −8.6165% −5.8573%] (p = 0.00 < 0.05)
              Performance has improved.
```

In addition, there are now specialized functions for SIMD hashing. Since
those functions didn't exist before, they cannot be compared quite as
easily. For example, we have `hash_varlen_many`:

```
hash_varlen_many/(len, N)/(16384, 2)
              time:   [783.82 µs 787.46 µs 791.45 µs]
```

This is a ~25% speedup over the already sped-up `hash_varlen` (794 μs vs
1054 μs = 2·527 μs). Note that using these new functions requires
changes in the calling code, whereas no changes are needed to get the
performance benefits of the functions that existed already.

All benchmarks performed on the machine known as megingjord.

== Gotchas ==

Note that rust is somewhat conservative when it comes to enabling
CPU-architecture specific features. In particular, even if you compile
this code on a CPU that has all the necessary AV... (continued)

171 of 171 new or added lines in 2 files covered. (100.0%)

5380 of 5564 relevant lines covered (96.69%)

72798768.59 hits per line

Jobs
ID Job ID Ran Files Coverage
1 18561468165.1 16 Oct 2025 01:06PM UTC 22
96.69
GitHub Action Run
Source Files on build 18561468165
  • Tree
  • List 22
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #18561468165
  • 90342e6e on github
  • Prev Build on master (#18373546282)
  • Next Build on master (#18593287131)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc