File tree Expand file tree Collapse file tree 5 files changed +71
-1
lines changed
Sources/RediStackPerformanceTester Expand file tree Collapse file tree 5 files changed +71
-1
lines changed Original file line number Diff line number Diff line change 1+ //===----------------------------------------------------------------------===//
2+ //
3+ // This source file is part of the RediStack open source project
4+ //
5+ // Copyright (c) 2023 RediStack project authors
6+ // Licensed under Apache License v2.0
7+ //
8+ // See LICENSE.txt for license information
9+ // See CONTRIBUTORS.txt for the list of RediStack project authors
10+ //
11+ // SPDX-License-Identifier: Apache-2.0
12+ //
13+ //===----------------------------------------------------------------------===//
14+
115import NIOCore
216import RESP3
317
@@ -7,7 +21,7 @@ func benchmarkRESP3Parsing() throws {
721 . blobString( ByteBuffer ( string: " GET " ) ) ,
822 . blobString( ByteBuffer ( string: " welcome " ) ) ,
923 ]
10-
24+
1125 try benchmark {
1226 var valueBuffer = valueBuffer
1327
Original file line number Diff line number Diff line change 1+ //===----------------------------------------------------------------------===//
2+ //
3+ // This source file is part of the RediStack open source project
4+ //
5+ // Copyright (c) 2023 RediStack project authors
6+ // Licensed under Apache License v2.0
7+ //
8+ // See LICENSE.txt for license information
9+ // See CONTRIBUTORS.txt for the list of RediStack project authors
10+ //
11+ // SPDX-License-Identifier: Apache-2.0
12+ //
13+ //===----------------------------------------------------------------------===//
14+
115import RediStack
216import RESP3
317import Foundation
Original file line number Diff line number Diff line change 1+ //===----------------------------------------------------------------------===//
2+ //
3+ // This source file is part of the RediStack open source project
4+ //
5+ // Copyright (c) 2023 RediStack project authors
6+ // Licensed under Apache License v2.0
7+ //
8+ // See LICENSE.txt for license information
9+ // See CONTRIBUTORS.txt for the list of RediStack project authors
10+ //
11+ // SPDX-License-Identifier: Apache-2.0
12+ //
13+ //===----------------------------------------------------------------------===//
14+
115import NIOCore
216import RediStack
317
Original file line number Diff line number Diff line change 1+ //===----------------------------------------------------------------------===//
2+ //
3+ // This source file is part of the RediStack open source project
4+ //
5+ // Copyright (c) 2023 RediStack project authors
6+ // Licensed under Apache License v2.0
7+ //
8+ // See LICENSE.txt for license information
9+ // See CONTRIBUTORS.txt for the list of RediStack project authors
10+ //
11+ // SPDX-License-Identifier: Apache-2.0
12+ //
13+ //===----------------------------------------------------------------------===//
14+
115import RediStack
216import RESP3
317import Foundation
Original file line number Diff line number Diff line change 1+ //===----------------------------------------------------------------------===//
2+ //
3+ // This source file is part of the RediStack open source project
4+ //
5+ // Copyright (c) 2023 RediStack project authors
6+ // Licensed under Apache License v2.0
7+ //
8+ // See LICENSE.txt for license information
9+ // See CONTRIBUTORS.txt for the list of RediStack project authors
10+ //
11+ // SPDX-License-Identifier: Apache-2.0
12+ //
13+ //===----------------------------------------------------------------------===//
14+
115import RediStack
216import Foundation
317import NIOCore
You can’t perform that action at this time.
0 commit comments