benchmarks
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>io.zipkin</groupId> <artifactId>benchmarks</artifactId> <version>2.22.1</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright 2015-2020 The OpenZipkin Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>io.zipkin</groupId> <artifactId>zipkin-parent</artifactId> <version>2.22.1</version> </parent> <artifactId>benchmarks</artifactId> <name>Benchmarks</name> <description>Benchmarks (JMH)</description> <properties> <main.basedir>${project.basedir}/..</main.basedir> <main.java.version>1.8</main.java.version> <main.signature.artifact>java18</main.signature.artifact> <jmh.version>1.26</jmh.version> <unpack-proto.directory>${project.build.directory}/main/proto</unpack-proto.directory> </properties> <dependencies> <!-- for codec benchmarks --> <dependency> <groupId>com.google.code.gson</groupId> <artifactId>gson</artifactId> </dependency> <dependency> <groupId>com.squareup.moshi</groupId> <artifactId>moshi</artifactId> <version>1.11.0</version> <exclusions> <!-- let wire control the okio version --> <exclusion> <groupId>com.squareup.okio</groupId> <artifactId>okio</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>com.esotericsoftware</groupId> <artifactId>kryo</artifactId> </dependency> <dependency> <groupId>org.openjdk.jmh</groupId> <artifactId>jmh-core</artifactId> <version>${jmh.version}</version> </dependency> <dependency> <groupId>org.openjdk.jmh</groupId> <artifactId>jmh-generator-annprocess</artifactId> <version>${jmh.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.google.protobuf</groupId> <artifactId>protobuf-java</artifactId> <version>3.13.0</version> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>zipkin-server</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>${project.groupId}.zipkin2</groupId> <artifactId>zipkin-storage-elasticsearch</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>com.squareup.wire</groupId> <artifactId>wire-runtime</artifactId> <version>${wire.version}</version> </dependency> <dependency> <groupId>io.zipkin.proto3</groupId> <artifactId>zipkin-proto3</artifactId> </dependency> <dependency> <groupId>${project.groupId}.zipkin2</groupId> <artifactId>zipkin-tests</artifactId> <version>${project.version}</version> <scope>test</scope> </dependency> <!-- zipkin-server optional dependencies for running ServerIntegratedBenchmark --> <dependency> <groupId>${project.groupId}.zipkin2</groupId> <artifactId>zipkin-storage-cassandra</artifactId> <version>${project.version}</version> <exclusions> <exclusion> <groupId>io.netty</groupId> <artifactId>*</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>${project.groupId}.zipkin2</groupId> <artifactId>zipkin-storage-cassandra-v1</artifactId> <version>${project.version}</version> <scope>test</scope> <exclusions> <exclusion> <groupId>com.datastax.oss</groupId> <artifactId>java-driver-core</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>com.datastax.oss</groupId> <artifactId>java-driver-core</artifactId> <version>${java-driver.version}</version> <scope>test</scope> <exclusions> <exclusion> <groupId>io.netty</groupId> <artifactId>*</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>${project.groupId}.zipkin2</groupId> <artifactId>zipkin-storage-mysql-v1</artifactId> <version>${project.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.mariadb.jdbc</groupId> <artifactId>mariadb-java-client</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>com.zaxxer</groupId> <artifactId>HikariCP</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.testcontainers</groupId> <artifactId>testcontainers</artifactId> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <artifactId>maven-dependency-plugin</artifactId> </plugin> <plugin> <groupId>com.squareup.wire</groupId> <artifactId>wire-maven-plugin</artifactId> </plugin> <!-- The benchmark test suite is not a valid dependency to others --> <plugin> <artifactId>maven-deploy-plugin</artifactId> <configuration> <skip>true</skip> </configuration> </plugin> <plugin> <artifactId>maven-install-plugin</artifactId> <configuration> <skip>true</skip> </configuration> </plugin> <plugin> <artifactId>maven-shade-plugin</artifactId> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> <configuration> <finalName>benchmarks</finalName> <transformers> <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> <mainClass>org.openjdk.jmh.Main</mainClass> </transformer> </transformers> <createDependencyReducedPom>false</createDependencyReducedPom> </configuration> </execution> </executions> </plugin> <plugin> <artifactId>maven-compiler-plugin</artifactId> <executions> <execution> <id>default-compile</id> <phase>compile</phase> <goals> <goal>compile</goal> </goals> <configuration combine.self="override"> <!-- instead of javac-with-errorprone --> <compilerId>javac</compilerId> <source>1.8</source> <target>1.8</target> <!-- scrub errorprone compiler args --> <compilerArgs /> </configuration> </execution> </executions> </plugin> </plugins> </build> </project>