Skip to content

Comments

perf: replace tokio full features with explicit list#326

Merged
bug-ops merged 1 commit intomainfrom
perf/tokio-features
Feb 15, 2026
Merged

perf: replace tokio full features with explicit list#326
bug-ops merged 1 commit intomainfrom
perf/tokio-features

Conversation

@bug-ops
Copy link
Owner

@bug-ops bug-ops commented Feb 15, 2026

Summary

  • Replace tokio = { features = ["full"] } with ["macros", "rt-multi-thread", "signal", "sync"] in root binary
  • Avoids compiling unused tokio features (io-util, fs, parking_lot, test-util, etc.)
  • Expected 10-15% tokio compile time reduction on clean builds

Closes #314

@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #326      +/-   ##
==========================================
+ Coverage   79.96%   80.29%   +0.33%     
==========================================
  Files          98       99       +1     
  Lines       23964    23900      -64     
==========================================
+ Hits        19163    19191      +28     
+ Misses       4801     4709      -92     

see 8 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@bug-ops bug-ops merged commit e0113b4 into main Feb 15, 2026
18 checks passed
@bug-ops bug-ops deleted the perf/tokio-features branch February 15, 2026 13:46
@bug-ops bug-ops mentioned this pull request Feb 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

perf: replace tokio full features with explicit list

2 participants