Skip to content

Conversation

@stormslowly
Copy link
Contributor

Summary

Wall-clock time is not a reliable signal for asserting parallelism benefits, as OS thread scheduling can cause flaky results.

Related links

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@github-actions github-actions bot added the team The issue/pr is created by the member of Rspack. label Feb 2, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR removes flaky timing-based tests from three iterator consumer utility modules. These tests attempted to verify parallelism benefits by comparing wall-clock execution times, which is unreliable due to OS thread scheduling variations.

Changes:

  • Removed time_check test from rayon_fut.rs module
  • Removed time_check test from rayon.rs module
  • Removed time_check test from future.rs module

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
crates/rspack_core/src/utils/iterator_consumer/rayon_fut.rs Removed flaky timing test for parallel future consumption with rayon iterators
crates/rspack_core/src/utils/iterator_consumer/rayon.rs Removed flaky timing test for parallel consumption with rayon iterators
crates/rspack_core/src/utils/iterator_consumer/future.rs Removed flaky timing test for future consumption with standard iterators

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 2, 2026

Rsdoctor Bundle Diff Analysis

Found 5 projects in monorepo, 0 projects with changes.

📊 Quick Summary
Project Total Size Change
react-10k 5.7 MB 0
react-1k 825.4 KB 0
react-5k 2.7 MB 0
rome 984.2 KB 0
ui-components 2.2 MB 0

Generated by Rsdoctor GitHub Action

@github-actions
Copy link
Contributor

github-actions bot commented Feb 2, 2026

📦 Binary Size-limit

Comparing 3d8faa8 to fix(rstest): rstest.importActual not work when imported from @rstest/core (#12908) by 9aoy

🙈 Size remains the same at 48.27MB

@codspeed-hq
Copy link

codspeed-hq bot commented Feb 2, 2026

CodSpeed Performance Report

Merging this PR will not alter performance

Comparing chore/delete_rust_flaky_Test (3d8faa8) with main (5d43d3b)

Summary

✅ 16 untouched benchmarks
⏩ 1 skipped benchmark1

Footnotes

  1. 1 benchmark was skipped, so the baseline result was used instead. If it was deleted from the codebase, click here and archive it to remove it from the performance reports.

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

Labels

team The issue/pr is created by the member of Rspack.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants