Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Suppress TSAN false positives in crossbeam crate due to use of memory fences#8464

Merged
AdamGS merged 1 commit into
developfrom
adamg/tsan-suprressions
Jun 17, 2026
Merged

Suppress TSAN false positives in crossbeam crate due to use of memory fences#8464
AdamGS merged 1 commit into
developfrom
adamg/tsan-suprressions

Conversation

@AdamGS

@AdamGS AdamGS commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Summary

This PR adds a few additional ThreadSanitizer suppressions to deal with false positives caused by crossbeam. They have been surfaced by #8454 and in other cases in the past.

@AdamGS AdamGS requested review from a team, 0ax1 and myrrc June 17, 2026 12:05
@AdamGS AdamGS enabled auto-merge (squash) June 17, 2026 12:10
@codspeed-hq

codspeed-hq Bot commented Jun 17, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

⚠️ 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.

⚡ 3 improved benchmarks
❌ 4 regressed benchmarks
✅ 1538 untouched benchmarks
⏩ 10 skipped benchmarks1

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Mode Benchmark BASE HEAD Efficiency
Simulation decompress_rd[f64, (100000, 0.0)] 845.4 µs 1,024 µs -17.45%
Simulation decompress_rd[f32, (100000, 0.0)] 499 µs 586.5 µs -14.91%
Simulation bitwise_not_vortex_buffer_mut[128] 186.1 ns 215.3 ns -13.55%
Simulation bitwise_not_vortex_buffer_mut[1024] 246.4 ns 275.6 ns -10.58%
Simulation decompress_rd[f64, (100000, 0.01)] 981.1 µs 845.4 µs +16.05%
Simulation decompress_rd[f64, (100000, 0.1)] 981.1 µs 845.4 µs +16.05%
Simulation encode_varbin[(1000, 2)] 176.1 µs 157.7 µs +11.66%

Tip

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


Comparing adamg/tsan-suprressions (962576d) with develop (1726f5e)

Open in CodSpeed

Footnotes

  1. 10 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@AdamGS AdamGS merged commit 679e2c5 into develop Jun 17, 2026
70 of 71 checks passed
@AdamGS AdamGS deleted the adamg/tsan-suprressions branch June 17, 2026 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants