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
+
1
15
import NIOCore
2
16
import RESP3
3
17
@@ -7,7 +21,7 @@ func benchmarkRESP3Parsing() throws {
7
21
. blobString( ByteBuffer ( string: " GET " ) ) ,
8
22
. blobString( ByteBuffer ( string: " welcome " ) ) ,
9
23
]
10
-
24
+
11
25
try benchmark {
12
26
var valueBuffer = valueBuffer
13
27
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
+
1
15
import RediStack
2
16
import RESP3
3
17
import 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
+
1
15
import NIOCore
2
16
import RediStack
3
17
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
+
1
15
import RediStack
2
16
import RESP3
3
17
import 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
+
1
15
import RediStack
2
16
import Foundation
3
17
import NIOCore
You can’t perform that action at this time.
0 commit comments