Skip to content

Commit 529a5ec

Browse files
Artem LabazinArtem Labazin
authored andcommitted
Fix build
1 parent ca8e9f6 commit 529a5ec

File tree

6 files changed

+21
-51
lines changed

6 files changed

+21
-51
lines changed

benchmark/pom.xml

Lines changed: 1 addition & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -58,18 +58,17 @@ limitations under the License.
5858
<dependency>
5959
<groupId>org.projectlombok</groupId>
6060
<artifactId>lombok</artifactId>
61+
<scope>provided</scope>
6162
</dependency>
6263

6364
<dependency>
6465
<groupId>org.openjdk.jmh</groupId>
6566
<artifactId>jmh-core</artifactId>
66-
<version>1.21</version>
6767
</dependency>
6868

6969
<dependency>
7070
<groupId>org.openjdk.jmh</groupId>
7171
<artifactId>jmh-generator-annprocess</artifactId>
72-
<version>1.21</version>
7372
<scope>provided</scope>
7473
</dependency>
7574
</dependencies>
@@ -123,46 +122,5 @@ limitations under the License.
123122
</executions>
124123
</plugin>
125124
</plugins>
126-
127-
<pluginManagement>
128-
<plugins>
129-
<plugin>
130-
<artifactId>maven-clean-plugin</artifactId>
131-
<version>2.5</version>
132-
</plugin>
133-
<plugin>
134-
<artifactId>maven-deploy-plugin</artifactId>
135-
<version>2.8.1</version>
136-
</plugin>
137-
<plugin>
138-
<artifactId>maven-install-plugin</artifactId>
139-
<version>2.5.1</version>
140-
</plugin>
141-
<plugin>
142-
<artifactId>maven-jar-plugin</artifactId>
143-
<version>2.4</version>
144-
</plugin>
145-
<plugin>
146-
<artifactId>maven-javadoc-plugin</artifactId>
147-
<version>2.9.1</version>
148-
</plugin>
149-
<plugin>
150-
<artifactId>maven-resources-plugin</artifactId>
151-
<version>2.6</version>
152-
</plugin>
153-
<plugin>
154-
<artifactId>maven-site-plugin</artifactId>
155-
<version>3.3</version>
156-
</plugin>
157-
<plugin>
158-
<artifactId>maven-source-plugin</artifactId>
159-
<version>2.2.1</version>
160-
</plugin>
161-
<plugin>
162-
<artifactId>maven-surefire-plugin</artifactId>
163-
<version>2.17</version>
164-
</plugin>
165-
</plugins>
166-
</pluginManagement>
167125
</build>
168126
</project>

benchmark/src/main/java/io/appulse/encon/benchmark/Encon_Node2NodeBenchmarks.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@
5252
*/
5353
@State(Benchmark)
5454
@OutputTimeUnit(SECONDS)
55-
@Warmup(iterations = 1)
55+
@Warmup(iterations = 10)
5656
@BenchmarkMode(Throughput)
57-
@Measurement(iterations = 1)
57+
@Measurement(iterations = 20)
5858
public class Encon_Node2NodeBenchmarks {
5959

6060
Node serverNode;

benchmark/src/main/java/io/appulse/encon/benchmark/Encon_SimpleBenchmarks.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@
4848
* @author Artem Labazin
4949
*/
5050
@OutputTimeUnit(SECONDS)
51-
@Warmup(iterations = 1)
51+
@Warmup(iterations = 10)
5252
@BenchmarkMode(Throughput)
53-
@Measurement(iterations = 1)
53+
@Measurement(iterations = 20)
5454
public class Encon_SimpleBenchmarks {
5555

5656
@Benchmark

benchmark/src/main/java/io/appulse/encon/benchmark/JInterface_Node2NodeBenchmarks.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@
4747
*/
4848
@State(Benchmark)
4949
@OutputTimeUnit(SECONDS)
50-
@Warmup(iterations = 1)
50+
@Warmup(iterations = 10)
5151
@BenchmarkMode(Throughput)
52-
@Measurement(iterations = 1)
52+
@Measurement(iterations = 20)
5353
public class JInterface_Node2NodeBenchmarks {
5454

5555
OtpNode serverNode;

benchmark/src/main/java/io/appulse/encon/benchmark/JInterface_SimpleBenchmarks.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@
4242
* @author Artem Labazin
4343
*/
4444
@OutputTimeUnit(SECONDS)
45-
@Warmup(iterations = 1)
45+
@Warmup(iterations = 10)
4646
@BenchmarkMode(Throughput)
47-
@Measurement(iterations = 1)
47+
@Measurement(iterations = 20)
4848
public class JInterface_SimpleBenchmarks {
4949

5050
@Benchmark

pom.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,18 @@ limitations under the License.
198198
</exclusions>
199199
</dependency>
200200

201+
<dependency>
202+
<groupId>org.openjdk.jmh</groupId>
203+
<artifactId>jmh-core</artifactId>
204+
<version>1.21</version>
205+
</dependency>
206+
207+
<dependency>
208+
<groupId>org.openjdk.jmh</groupId>
209+
<artifactId>jmh-generator-annprocess</artifactId>
210+
<version>1.21</version>
211+
</dependency>
212+
201213
<dependency>
202214
<groupId>junit</groupId>
203215
<artifactId>junit</artifactId>

0 commit comments

Comments
 (0)