Commit Graph
5 Commits
Author SHA1 Message Date
Daniel Eggert b193b1c18a Add before/after script for IMAPDispatchClient
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.
2026-11-24 09:48:37 +09:00
Daniel Eggert 5caa77d7be Add IMAPProfile and a baseline-comparison summarizer
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.
2026-11-24 09:48:37 +09:00
Daniel Eggert f1a5b029ab Add IMAPEncoding benchmarks
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.
2026-11-24 09:48:37 +09:00
Daniel Eggert 9adb7fbf04 Add IMAPParsing benchmarks
Parser benchmarks for commands and responses, plus IMAPBenchmarkSupport:
the command corpus and the parse drivers. Post-migration only; not
built with IMAP_IMPL=main.
2026-11-24 09:48:35 +09:00
Daniel Eggert b7783878e8 Replace PerformanceTester with ordo-one/benchmark suite
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.
2026-11-24 09:47:23 +09:00