compare-dispatch-client.sh benchmarks a pinned pre-migration worktree
against this tree. README records the results; Package.swift and
IMAPDispatchClient.swift point to it.
IMAPProfile runs one corpus N times, for tracing under Instruments'
Allocations template; the README says how to read the trace.
summarize-comparison.py condenses `baseline compare` output.
Encoder benchmarks for commands and responses, through contiguous,
NIO-handler and DispatchData drivers. Adds those drivers to
IMAPBenchmarkSupport, plus the response model corpus.
IMAPDispatchClient's no-ARC note now points at encode.dispatch.*'s.
Parser benchmarks for commands and responses, plus IMAPBenchmarkSupport:
the command corpus and the parse drivers. Post-migration only; not
built with IMAP_IMPL=main.
IMAPDispatchClient: a DispatchData client (parse + encode), measured
with allocation counters (plus ARC counters for parsing) instead of
Date(). Needs Swift 6.3 (malloc-interposer), so CI builds it in its own
job.
The "Legacy" file name anticipates the migration's
DispatchClient+Current.