Files
swift-nio-imap/Examples/PerformanceTester/Benchmarks/IMAPDispatchClient
Daniel Eggert 854a5256f0 Measure IMAPDispatchClient against either library
The DispatchData client now has two drivers. DispatchClient+Current
uses IMAPInputBuffer (each read appended with append(contentsOf:)),
IMAPBuffer payloads and IMAPOutputBuffer donated via
makeDispatchData(); DispatchClient+Legacy, the ByteBuffer client,
compiles only under IMAP_LEGACY_BUFFERS. IMAP_IMPL=main in Package.swift
points the path dependency at a pre-migration checkout (IMAP_MAIN_PATH)
and defines that flag, so one set of case names yields before/after
numbers.

The encode cases' no-ARC note gains the reasons donation adds: the
queue-dependent retain deltas and the thread the hook race fires on.

Built both ways (IMAP_IMPL=main against f5fa7d36). Thresholds follow
separately.
2026-11-24 09:48:18 +09:00
..