Repository navigation
Scheduler changes - #203
Conversation
Add inflight_io counter to track I/O operations submitted to the backend. When running in no_wait mode with no pending I/O, skip the epoll_wait/ io_uring_enter/etc syscall entirely since there's nothing to retrieve. This reduces syscall overhead for CPU-bound workloads that use no_wait polling between task batches.
- Rename Rust benchmarks to explicitly indicate runtime (tokio, may) - Add May coroutine library benchmarks for comparison - Add run.sh script for running benchmarks - Rename Zig benchmark targets for consistency - Update .gitignore for benchmark build artifacts
After running 61 tasks, getNextTask() returns null to force an event loop tick. This ensures I/O completions are checked periodically even under heavy CPU-bound workloads. The value 61 comes from Go's scheduler.
📝 WalkthroughWalkthroughThis PR restructures benchmarks to support Tokio and May async runtimes, removes per-message latency tracking from benchmark code across Go/Rust/Zig, integrates a benchmark runner script, increases benchmark iteration counts by 10x, and refactors I/O completion handling with backend-specific finalization and task-scheduling optimizations in the event loop. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ❌ 3❌ Failed checks (1 warning, 2 inconclusive)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
🧹 Recent nitpick comments
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (22)
💤 Files with no reviewable changes (2)
🧰 Additional context used🧠 Learnings (6)📚 Learning: 2025-11-04T10:29:56.949ZApplied to files:
📚 Learning: 2026-01-10T13:55:00.163ZApplied to files:
📚 Learning: 2026-01-10T14:08:37.019ZApplied to files:
📚 Learning: 2026-01-08T21:08:29.444ZApplied to files:
📚 Learning: 2026-01-08T21:08:29.443ZApplied to files:
📚 Learning: 2025-10-10T05:59:17.087ZApplied to files:
🧬 Code graph analysis (3)benchmarks/echo_server_may.rs (1)
benchmarks/ping_pong_tokio.rs (1)
benchmarks/ping_pong_may.rs (2)
🪛 Shellcheck (0.11.0)benchmarks/run.sh[warning] 70-70: i appears unused. Verify use (or export if used externally). (SC2034) ⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
🔇 Additional comments (55)
✏️ Tip: You can disable this entire section by setting Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
No description provided.