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

bitshifter / glam-rs / 35218159043
99%

Build:
DEFAULT BRANCH: main
Ran 17 Sep 2026 11:55AM UTC
Jobs 4
Files 154
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

17 Sep 2026 11:54AM UTC coverage: 99.058% (+0.005%) from 99.053%
35218159043

push

github

web-flow
perf(simd): broadcast dot product without an extra shuffle (#833)

The SSE2 broadcast dot product can save a shuffle by computing the
result directly in all four lanes.

## Solution

`dot4_into_m128` now sums the products directly in all four lanes,
keeping the `(x + z) + (y + w)` grouping. Tests and benchmarks are
included.

## Benchmarks

On my Xeon E5-2696 v4:

| Measurement | Before | After | Change |
|---|---:|---:|---:|
| 256-dot-product batch | 301.673 ns | 267.888 ns | -11.2% |
| Throughput | 848.60 M/s | 955.62 M/s | +12.6% |
| Quaternion lerp | 6.491 ns | 6.095 ns | -6.1% |
| Cycles/dot | 3.772 | 3.335 | -11.6% |
| Instructions/dot | 12.104 | 11.104 | -8.3% |
| Allocations | 0 | 0 | Unchanged |

Timing: Criterion on Windows. Counters: five alternating, core-pinned
runs under WSL. Normalization timing stayed within the noise threshold
(+0.7%).

## Testing and linting

- Three million comparisons passed: non-NaN outputs matched bit for bit;
NaNs matched by classification.
- Regression tests cover cancellation, signed zero, subnormals,
overflow, infinities, and NaNs.
- All nine feature configurations, MSRV, and portable SIMD checks
passed.
- Glam-specific Clippy and formatting passed.
- The existing Windows CI-tool lint remains.

🤖 AI disclosure: I used Codex with GPT-6 Astra at xhigh reasoning effort
to help identify the optimization and construct the benchmark. I have
reviewed and understand the resulting implementation.

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

93262 of 94149 relevant lines covered (99.06%)

123554.19 hits per line

Jobs
ID Job ID Ran Files Coverage
1 core_simd-ubuntu-latest - 35218159043.1 17 Sep 2026 11:55AM UTC 121
98.93
GitHub Action Run
2 native_simd-ubuntu-latest - 35218159043.2 17 Sep 2026 11:55AM UTC 122
98.88
GitHub Action Run
3 native_simd-macos-latest - 35218159043.3 17 Sep 2026 11:55AM UTC 122
98.9
GitHub Action Run
4 scalar_math-ubuntu-latest - 35218159043.4 17 Sep 2026 11:55AM UTC 121
98.89
GitHub Action Run
Source Files on build 35218159043
  • Tree
  • List 154
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #35218159043
  • d75cec20 on github
  • Prev Build on main (#35210906750)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc