Skip to content

docs: mirco-benchmarks best practices#6922

Merged
0ax1 merged 1 commit intodevelopfrom
ad/bench-docs
Mar 13, 2026
Merged

docs: mirco-benchmarks best practices#6922
0ax1 merged 1 commit intodevelopfrom
ad/bench-docs

Conversation

@0ax1
Copy link
Contributor

@0ax1 0ax1 commented Mar 12, 2026

No description provided.

@0ax1 0ax1 requested a review from joseph-isaacs March 12, 2026 16:10
@0ax1 0ax1 added the changelog/docs A docs change label Mar 12, 2026
@0ax1 0ax1 enabled auto-merge (squash) March 12, 2026 16:10
@codspeed-hq
Copy link

codspeed-hq bot commented Mar 12, 2026

Merging this PR will degrade performance by 14.39%

❌ 2 regressed benchmarks
✅ 992 untouched benchmarks
⏩ 1515 skipped benchmarks1

⚠️ Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Mode Benchmark BASE HEAD Efficiency
Simulation bitwise_not_vortex_buffer_mut[1024] 506.4 ns 564.7 ns -10.33%
Simulation bitwise_not_vortex_buffer_mut[128] 346.9 ns 405.3 ns -14.39%

Comparing ad/bench-docs (9dc9843) with develop (c870564)

Open in CodSpeed

Footnotes

  1. 1515 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.

Comment on lines +122 to +125
### Keep per-iteration execution time under ~1 ms

Each individual iteration of the benchmarked closure should complete in roughly
**less than 1ms**. This is to keep benchmarks snappy, locally and on CI.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be nice to be hard no

Copy link
Contributor

@joseph-isaacs joseph-isaacs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️

Signed-off-by: Alexander Droste <alexander.droste@protonmail.com>
@0ax1 0ax1 disabled auto-merge March 13, 2026 11:13
@0ax1 0ax1 enabled auto-merge (squash) March 13, 2026 11:15
@0ax1 0ax1 merged commit 252a1a9 into develop Mar 13, 2026
51 of 52 checks passed
@0ax1 0ax1 deleted the ad/bench-docs branch March 13, 2026 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/docs A docs change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants