apple / apple/swift-network-evolution

Migrate the IPUDPBenchmark to use `BridgeDatagramProtocol` instead of shuffling packets with loopOutputHandlerPackets

Open
#18 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
70
Forks
22
Avg merge
3d 2m
Merged PRs (30d)
46

Description

In https://github.com/apple/swift-network-evolution/pull/16 I updated QUICTransfer to use the more modern technique of using `BridgeDatagramProtocol` to transfer packets at the bottom instead of using the utility function `loopOutputHandlerPackets`. This issue is to also update the IPUDPBenchmark to use `BridgeDatagramProtocol` as well.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the QUICTransfer changes in pull request 16 to understand how BridgeDatagramProtocol replaces loopOutputHandlerPackets, then locate IPUDPBenchmark. Update that benchmark to use the same packet-transfer approach and verify that it no longer relies on loopOutputHandlerPackets.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
networking
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
66/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.