Skip to content

Commit 4c10c67

Browse files
committed
Benchmark Fixes
1 parent 9b4c595 commit 4c10c67

File tree

2 files changed

+23
-9
lines changed

2 files changed

+23
-9
lines changed

test/sdk-benchmarks/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@
193193
<dependency>
194194
<groupId>software.amazon.awssdk.crt</groupId>
195195
<artifactId>aws-crt</artifactId>
196-
<version>0.3.14</version>
196+
<version>0.3.17</version>
197197
<scope>compile</scope>
198198
</dependency>
199199
<dependency>

test/sdk-benchmarks/src/main/java/software/amazon/awssdk/benchmark/apicall/httpclient/async/AwsCrtClientBenchmark.java

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
1+
/*
2+
* Copyright 2010-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License").
5+
* You may not use this file except in compliance with the License.
6+
* A copy of the License is located at
7+
*
8+
* http://aws.amazon.com/apache2.0
9+
*
10+
* or in the "license" file accompanying this file. This file is distributed
11+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12+
* express or implied. See the License for the specific language governing
13+
* permissions and limitations under the License.
14+
*/
15+
116
package software.amazon.awssdk.benchmark.apicall.httpclient.async;
217

18+
import static software.amazon.awssdk.benchmark.utils.BenchmarkConstant.CONCURRENT_CALLS;
19+
import static software.amazon.awssdk.benchmark.utils.BenchmarkUtils.awaitCountdownLatchUninterruptibly;
20+
import static software.amazon.awssdk.benchmark.utils.BenchmarkUtils.countDownUponCompletion;
21+
22+
import java.util.Collection;
23+
import java.util.concurrent.CountDownLatch;
24+
import java.util.concurrent.TimeUnit;
325
import org.openjdk.jmh.annotations.Benchmark;
426
import org.openjdk.jmh.annotations.BenchmarkMode;
527
import org.openjdk.jmh.annotations.Fork;
@@ -28,14 +50,6 @@
2850
import software.amazon.awssdk.http.crt.AwsCrtAsyncHttpClient;
2951
import software.amazon.awssdk.services.protocolrestjson.ProtocolRestJsonAsyncClient;
3052

31-
import java.util.Collection;
32-
import java.util.concurrent.CountDownLatch;
33-
import java.util.concurrent.TimeUnit;
34-
35-
import static software.amazon.awssdk.benchmark.utils.BenchmarkConstant.CONCURRENT_CALLS;
36-
import static software.amazon.awssdk.benchmark.utils.BenchmarkUtils.awaitCountdownLatchUninterruptibly;
37-
import static software.amazon.awssdk.benchmark.utils.BenchmarkUtils.countDownUponCompletion;
38-
3953
/**
4054
* Using aws-crt-client to test against local mock https server.
4155
*/

0 commit comments

Comments
 (0)