Skip to content

net: Replace IPC with generic channels in file/blob management - #48002

Merged
jdm merged 3 commits into
servo:mainfrom
Uiniel:ipc-file-blob
Sep 13, 2026
Merged

jdm merged 3 commits into
servo:mainfrom
Uiniel:ipc-file-blob

Conversation

@Uiniel

@Uiniel Uiniel commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Replaces the IPC channels in the file/blob code with generic channels for better performance in single process mode. Also adds a new_blocking function for GenericCallback with profiling enabled to avoid using an additional crossbeam channel in the synchronous read_file function and to keep changes to the tests to a minimum.

Testing: Only replaces the IPC channels with generic channels, so no new tests should be required. The existent tests got modified to work with generic channels.
Fixes: #47671

@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Sep 11, 2026
@Uiniel
Uiniel requested a review from gterzian as a code owner September 11, 2026 21:23
@Narfinger
Narfinger self-requested a review September 12, 2026 20:06

@jdm jdm left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for doing this work!

@servo-highfive servo-highfive added S-needs-code-changes Changes have not yet been made that were requested by a reviewer. and removed S-awaiting-review There is new code that needs to be reviewed. labels Sep 13, 2026
@servo-highfive servo-highfive added S-awaiting-review There is new code that needs to be reviewed. and removed S-needs-code-changes Changes have not yet been made that were requested by a reviewer. labels Sep 13, 2026
@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Sep 13, 2026
@jdm
jdm added this pull request to the merge queue Sep 13, 2026
@servo-highfive servo-highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Sep 13, 2026
Merged via the queue into servo:main with commit 3459eb3 Sep 13, 2026
33 checks passed
@servo-highfive servo-highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Sep 13, 2026
@Uiniel
Uiniel deleted the ipc-file-blob branch September 15, 2026 19:23
RichardTjokroutomo pushed a commit to RichardTjokroutomo/servo that referenced this pull request Oct 6, 2026
…#48002)

Replaces the IPC channels in the file/blob code with generic channels
for better performance in single process mode. Also adds a
`new_blocking` function for `GenericCallback` with profiling enabled to
avoid using an additional crossbeam channel in the synchronous
`read_file` function and to keep changes to the tests to a minimum.

Testing: Only replaces the IPC channels with generic channels, so no new
tests should be required. The existent tests got modified to work with
generic channels.
Fixes: servo#47671

---------

Signed-off-by: Uiniel <[email protected]>
hhhwsqhhh pushed a commit to hhhwsqhhh/servo that referenced this pull request Oct 12, 2026
…#48002)

Replaces the IPC channels in the file/blob code with generic channels
for better performance in single process mode. Also adds a
`new_blocking` function for `GenericCallback` with profiling enabled to
avoid using an additional crossbeam channel in the synchronous
`read_file` function and to keep changes to the tests to a minimum.

Testing: Only replaces the IPC channels with generic channels, so no new
tests should be required. The existent tests got modified to work with
generic channels.
Fixes: servo#47671

---------

Signed-off-by: Uiniel <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace IPC usage in file/blob management

3 participants