Repository navigation
Accelerate bandwidth parser ASCII scanning - #1931
Merged
Merged
Conversation
This was referenced May 1, 2026
oferchen
added a commit
that referenced
this pull request
May 7, 2026
Specifies regression coverage for IocpDiskBatch::submit_write_batch short-completion handling, with a small-ring-buffer harness, a deterministic completion injector, and a memory-pressure scenario that bounds queue depth and verifies byte-for-byte fidelity.
oferchen
added a commit
that referenced
this pull request
May 17, 2026
…1931) Adds a Windows-only integration test that drives the IOCP writer and batched disk writer with a small `buffer_size` and shallow `concurrent_ops` so multi-megabyte payloads must be issued as many overlapped submissions with multiple completion-port drain cycles per flush. This models the shape that surfaces partial completions on memory-constrained Windows hosts and verifies the writer accumulates every byte across resubmissions. Covers five scenarios: - `IocpDiskBatch` 16 MiB payload through 4 KiB buffer with 2-op queue - `IocpWriter` 16 MiB payload through 8 KiB buffer with implicit flushes - `IocpWriter` single `write_all` of a non-buffer-multiple length forced to split across many internal chunks - error path: write/commit against a batch with no active file returns `InvalidInput` - error path: `begin_file` against a read-only handle propagates the underlying `ReOpenFile` failure rather than silently succeeding Gated by `#![cfg(all(target_os = "windows", feature = "iocp"))]` so the file compiles to nothing on Linux and macOS. No new dev-dependencies.
oferchen
added a commit
that referenced
this pull request
May 17, 2026
…1931) (#4234) * test(fast_io): IOCP partial-write integration under memory pressure (#1931) Adds a Windows-only integration test that drives the IOCP writer and batched disk writer with a small `buffer_size` and shallow `concurrent_ops` so multi-megabyte payloads must be issued as many overlapped submissions with multiple completion-port drain cycles per flush. This models the shape that surfaces partial completions on memory-constrained Windows hosts and verifies the writer accumulates every byte across resubmissions. Covers five scenarios: - `IocpDiskBatch` 16 MiB payload through 4 KiB buffer with 2-op queue - `IocpWriter` 16 MiB payload through 8 KiB buffer with implicit flushes - `IocpWriter` single `write_all` of a non-buffer-multiple length forced to split across many internal chunks - error path: write/commit against a batch with no active file returns `InvalidInput` - error path: `begin_file` against a read-only handle propagates the underlying `ReOpenFile` failure rather than silently succeeding Gated by `#![cfg(all(target_os = "windows", feature = "iocp"))]` so the file compiles to nothing on Linux and macOS. No new dev-dependencies. * test(fast_io): import FileWriter trait for bytes_written
oferchen
added a commit
that referenced
this pull request
May 18, 2026
Specifies regression coverage for IocpDiskBatch::submit_write_batch short-completion handling, with a small-ring-buffer harness, a deterministic completion injector, and a memory-pressure scenario that bounds queue depth and verifies byte-for-byte fidelity.
oferchen
added a commit
that referenced
this pull request
May 18, 2026
…1931) (#4234) * test(fast_io): IOCP partial-write integration under memory pressure (#1931) Adds a Windows-only integration test that drives the IOCP writer and batched disk writer with a small `buffer_size` and shallow `concurrent_ops` so multi-megabyte payloads must be issued as many overlapped submissions with multiple completion-port drain cycles per flush. This models the shape that surfaces partial completions on memory-constrained Windows hosts and verifies the writer accumulates every byte across resubmissions. Covers five scenarios: - `IocpDiskBatch` 16 MiB payload through 4 KiB buffer with 2-op queue - `IocpWriter` 16 MiB payload through 8 KiB buffer with implicit flushes - `IocpWriter` single `write_all` of a non-buffer-multiple length forced to split across many internal chunks - error path: write/commit against a batch with no active file returns `InvalidInput` - error path: `begin_file` against a read-only handle propagates the underlying `ReOpenFile` failure rather than silently succeeding Gated by `#![cfg(all(target_os = "windows", feature = "iocp"))]` so the file compiles to nothing on Linux and macOS. No new dev-dependencies. * test(fast_io): import FileWriter trait for bytes_written
oferchen
added a commit
that referenced
this pull request
May 18, 2026
…1931) (#4234) * test(fast_io): IOCP partial-write integration under memory pressure (#1931) Adds a Windows-only integration test that drives the IOCP writer and batched disk writer with a small `buffer_size` and shallow `concurrent_ops` so multi-megabyte payloads must be issued as many overlapped submissions with multiple completion-port drain cycles per flush. This models the shape that surfaces partial completions on memory-constrained Windows hosts and verifies the writer accumulates every byte across resubmissions. Covers five scenarios: - `IocpDiskBatch` 16 MiB payload through 4 KiB buffer with 2-op queue - `IocpWriter` 16 MiB payload through 8 KiB buffer with implicit flushes - `IocpWriter` single `write_all` of a non-buffer-multiple length forced to split across many internal chunks - error path: write/commit against a batch with no active file returns `InvalidInput` - error path: `begin_file` against a read-only handle propagates the underlying `ReOpenFile` failure rather than silently succeeding Gated by `#![cfg(all(target_os = "windows", feature = "iocp"))]` so the file compiles to nothing on Linux and macOS. No new dev-dependencies. * test(fast_io): import FileWriter trait for bytes_written
oferchen
added a commit
that referenced
this pull request
Aug 24, 2026
Specifies regression coverage for IocpDiskBatch::submit_write_batch short-completion handling, with a small-ring-buffer harness, a deterministic completion injector, and a memory-pressure scenario that bounds queue depth and verifies byte-for-byte fidelity.
oferchen
added a commit
that referenced
this pull request
Aug 24, 2026
…1931) (#4234) * test(fast_io): IOCP partial-write integration under memory pressure (#1931) Adds a Windows-only integration test that drives the IOCP writer and batched disk writer with a small `buffer_size` and shallow `concurrent_ops` so multi-megabyte payloads must be issued as many overlapped submissions with multiple completion-port drain cycles per flush. This models the shape that surfaces partial completions on memory-constrained Windows hosts and verifies the writer accumulates every byte across resubmissions. Covers five scenarios: - `IocpDiskBatch` 16 MiB payload through 4 KiB buffer with 2-op queue - `IocpWriter` 16 MiB payload through 8 KiB buffer with implicit flushes - `IocpWriter` single `write_all` of a non-buffer-multiple length forced to split across many internal chunks - error path: write/commit against a batch with no active file returns `InvalidInput` - error path: `begin_file` against a read-only handle propagates the underlying `ReOpenFile` failure rather than silently succeeding Gated by `#![cfg(all(target_os = "windows", feature = "iocp"))]` so the file compiles to nothing on Linux and macOS. No new dev-dependencies. * test(fast_io): import FileWriter trait for bytes_written
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Testing