Skip to content

Audit tests for duplication and coverage - #10458

Open
robert3005 wants to merge 2 commits into
developfrom
rk/removeredundanttests
Open

robert3005 wants to merge 2 commits into
developfrom
rk/removeredundanttests

Conversation

@robert3005

Copy link
Copy Markdown
Contributor

Some of the tests covered duplicate logic, they haven't been updated to latest helper functions or simply didn't check the correct thing. This should have audited all of the tests we have in the repo and fix them without losing coverage

@robert3005 robert3005 added the changelog/chore A trivial change label Oct 12, 2026
@robert3005
robert3005 force-pushed the rk/removeredundanttests branch from 70a4472 to 25ba6a5 Compare October 12, 2026 21:22
@codspeed

codspeed Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

Merging this PR will degrade performance by 13.94%

⚠️ Unknown Walltime execution environment detected

Using the Walltime instrument on standard Hosted Runners will lead to inconsistent data.

For the most accurate results, we recommend using CodSpeed Macro Runners: bare-metal machines fine-tuned for performance measurement consistency.

⚠️ 2 benchmarks measured no execution time

Nothing ran under measurement, usually because the compiler removed the code under test. These results are not comparable, so they count as unchanged.

Preventing compiler optimizations

⚠️ 9 benchmarks spent significant time in system calls

System calls cannot be consistently instrumented, so they are not included in the measure, which understates the real cost. Please switch to the Walltime instrument to accurately measure system calls.

Measurement and system calls

⚠️ Different runtime environments detected

Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.

Open the report in CodSpeed to investigate

⚡ 1 improved benchmark
❌ 4 regressed benchmarks
✅ 2208 untouched benchmarks

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Mode Benchmark BASE HEAD Efficiency
❌ Simulation density_sweep_dense_runs[0.001] 29.6 µs 47 µs -37.06%
❌ WallTime bitpack_blocked_compress_avx512 4.8 µs 5.6 µs -14.06%
❌ WallTime starts_with_avx2[8, VarBin] 41.2 µs 46.6 µs -11.68%
❌ WallTime bitpack_blocked_compress_avx2 6.7 µs 7.6 µs -11.25%
⚡ WallTime words_gather_dispatch_neon[65536] 2.3 µs 2 µs +11.34%

Tip

Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.


Comparing rk/removeredundanttests (97041d3) with develop (58d0490)

Open in CodSpeed

robert3005 added a commit that referenced this pull request Oct 13, 2026
fix the assertions that have been found by test audit

extracted from #10458

---------

Signed-off-by: Robert Kruszewski <[email protected]>
@robert3005
robert3005 force-pushed the rk/removeredundanttests branch from 25ba6a5 to a95bf52 Compare October 13, 2026 14:00
Signed-off-by: Robert Kruszewski <[email protected]>
Signed-off-by: Robert Kruszewski <[email protected]>
@robert3005
robert3005 force-pushed the rk/removeredundanttests branch from 4781ae4 to 97041d3 Compare October 13, 2026 16:07

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/chore A trivial change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant