mirror of
https://github.com/apple/swift-nio-imap
synced 2026-11-25 04:47:51 +00:00
Parser benchmarks for commands and responses, plus IMAPBenchmarkSupport: the command corpus and the parse drivers. Post-migration only; not built with IMAP_IMPL=main.
21 lines
990 B
Swift
21 lines
990 B
Swift
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This source file is part of the SwiftNIO open source project
|
|
//
|
|
// Copyright (c) 2026 Apple Inc. and the SwiftNIO project authors
|
|
// Licensed under Apache License v2.0
|
|
//
|
|
// See LICENSE.txt for license information
|
|
// See CONTRIBUTORS.txt for the list of SwiftNIO project authors
|
|
//
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// The corpora moved to their own target so that the `IMAPDispatchClient` comparison — which builds
|
|
// against both the current library and a `main` worktree — can use them without dragging in the
|
|
// drivers here, which name post-migration types. Re-exported so that a benchmark importing
|
|
// `IMAPBenchmarkSupport` still sees `ResponseCorpus`, `ReadSize` and `ByteBuffer.chunks(ofSize:)`
|
|
// where it always did; the split is an assembly detail, not an API change.
|
|
@_exported import IMAPCorpus
|