Browse Source
Enhance benchmark statistics with Git/working tree details. Specify byte encoding for JSON to byte encoder. Add status code check to HttpResultsWriter to verify that the results were accepted. Convert spaces to tabs in pom.xml. Original pull request: #483.pull/474/head
5 changed files with 142 additions and 94 deletions
@ -1,91 +1,111 @@ |
|||||||
<?xml version="1.0" encoding="UTF-8"?> |
<?xml version="1.0" encoding="UTF-8"?> |
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
<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/maven-v4_0_0.xsd"> |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
||||||
|
|
||||||
<modelVersion>4.0.0</modelVersion> |
<modelVersion>4.0.0</modelVersion> |
||||||
|
|
||||||
<parent> |
<parent> |
||||||
<groupId>org.springframework.data</groupId> |
<groupId>org.springframework.data</groupId> |
||||||
<artifactId>spring-data-mongodb-parent</artifactId> |
<artifactId>spring-data-mongodb-parent</artifactId> |
||||||
<version>2.0.0.BUILD-SNAPSHOT</version> |
<version>2.0.0.BUILD-SNAPSHOT</version> |
||||||
<relativePath>../pom.xml</relativePath> |
<relativePath>../pom.xml</relativePath> |
||||||
</parent> |
</parent> |
||||||
|
|
||||||
<artifactId>spring-data-mongodb-benchmarks</artifactId> |
<artifactId>spring-data-mongodb-benchmarks</artifactId> |
||||||
<packaging>jar</packaging> |
<packaging>jar</packaging> |
||||||
|
|
||||||
<name>Spring Data MongoDB - Microbenchmarks</name> |
<name>Spring Data MongoDB - Microbenchmarks</name> |
||||||
|
|
||||||
<properties> |
<properties> |
||||||
<skipTests>true</skipTests> <!-- Skip tests by default; run only if -DskipTests=false is specified or benchmarks profile is activated --> |
<!-- Skip tests by default; run only if -DskipTests=false is specified or benchmarks profile is activated --> |
||||||
<bundlor.enabled>false</bundlor.enabled> |
<skipTests>true</skipTests> |
||||||
</properties> |
</properties> |
||||||
|
|
||||||
<dependencies> |
<dependencies> |
||||||
<dependency> |
|
||||||
<groupId>${project.groupId}</groupId> |
|
||||||
<artifactId>spring-data-mongodb</artifactId> |
|
||||||
<version>${project.version}</version> |
|
||||||
</dependency> |
|
||||||
<dependency> |
|
||||||
<groupId>junit</groupId> |
|
||||||
<artifactId>junit</artifactId> |
|
||||||
<version>${junit}</version> |
|
||||||
<scope>compile</scope> |
|
||||||
</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> |
|
||||||
</dependencies> |
|
||||||
|
|
||||||
<profiles> |
<dependency> |
||||||
|
<groupId>${project.groupId}</groupId> |
||||||
|
<artifactId>spring-data-mongodb</artifactId> |
||||||
|
<version>${project.version}</version> |
||||||
|
</dependency> |
||||||
|
|
||||||
<profile> |
<dependency> |
||||||
<id>benchmarks</id> |
<groupId>junit</groupId> |
||||||
<properties> |
<artifactId>junit</artifactId> |
||||||
<skipTests>false</skipTests> |
<version>${junit}</version> |
||||||
</properties> |
<scope>compile</scope> |
||||||
</profile> |
</dependency> |
||||||
</profiles> |
|
||||||
|
|
||||||
<build> |
<dependency> |
||||||
<plugins> |
<groupId>org.openjdk.jmh</groupId> |
||||||
<plugin> |
<artifactId>jmh-core</artifactId> |
||||||
<artifactId>maven-jar-plugin</artifactId> |
<version>${jmh.version}</version> |
||||||
<executions> |
</dependency> |
||||||
<execution> |
|
||||||
<id>default-jar</id> |
<dependency> |
||||||
<phase>never</phase> |
<groupId>org.openjdk.jmh</groupId> |
||||||
</execution> |
<artifactId>jmh-generator-annprocess</artifactId> |
||||||
</executions> |
<version>${jmh.version}</version> |
||||||
</plugin> |
<scope>provided</scope> |
||||||
<plugin> |
</dependency> |
||||||
<artifactId>maven-surefire-plugin</artifactId> |
|
||||||
<configuration> |
</dependencies> |
||||||
<testSourceDirectory>${project.build.sourceDirectory}</testSourceDirectory> |
|
||||||
<testClassesDirectory>${project.build.outputDirectory}</testClassesDirectory> |
<profiles> |
||||||
<excludes> |
|
||||||
<exclude>**/AbstractMicrobenchmark.java</exclude> |
<profile> |
||||||
<exclude>**/*$*.class</exclude> |
<id>benchmarks</id> |
||||||
<exclude>**/generated/*.class</exclude> |
<properties> |
||||||
</excludes> |
<skipTests>false</skipTests> |
||||||
<includes> |
</properties> |
||||||
<include>**/*Benchmark*</include> |
</profile> |
||||||
</includes> |
</profiles> |
||||||
<systemPropertyVariables> |
|
||||||
<benchmarkReportDir>${project.build.directory}/reports/performance</benchmarkReportDir> |
<build> |
||||||
<project.version>${project.version}</project.version> |
<plugins> |
||||||
</systemPropertyVariables> |
<plugin> |
||||||
</configuration> |
<groupId>pl.project13.maven</groupId> |
||||||
</plugin> |
<artifactId>git-commit-id-plugin</artifactId> |
||||||
</plugins> |
<version>2.2.2</version> |
||||||
</build> |
<executions> |
||||||
|
<execution> |
||||||
|
<goals> |
||||||
|
<goal>revision</goal> |
||||||
|
</goals> |
||||||
|
</execution> |
||||||
|
</executions> |
||||||
|
</plugin> |
||||||
|
<plugin> |
||||||
|
<artifactId>maven-jar-plugin</artifactId> |
||||||
|
<executions> |
||||||
|
<execution> |
||||||
|
<id>default-jar</id> |
||||||
|
<phase>never</phase> |
||||||
|
</execution> |
||||||
|
</executions> |
||||||
|
</plugin> |
||||||
|
<plugin> |
||||||
|
<artifactId>maven-surefire-plugin</artifactId> |
||||||
|
<configuration> |
||||||
|
<testSourceDirectory>${project.build.sourceDirectory}</testSourceDirectory> |
||||||
|
<testClassesDirectory>${project.build.outputDirectory}</testClassesDirectory> |
||||||
|
<excludes> |
||||||
|
<exclude>**/AbstractMicrobenchmark.java</exclude> |
||||||
|
<exclude>**/*$*.class</exclude> |
||||||
|
<exclude>**/generated/*.class</exclude> |
||||||
|
</excludes> |
||||||
|
<includes> |
||||||
|
<include>**/*Benchmark*</include> |
||||||
|
</includes> |
||||||
|
<systemPropertyVariables> |
||||||
|
<benchmarkReportDir>${project.build.directory}/reports/performance</benchmarkReportDir> |
||||||
|
<project.version>${project.version}</project.version> |
||||||
|
<git.dirty>${git.dirty}</git.dirty> |
||||||
|
<git.commit.id>${git.commit.id}</git.commit.id> |
||||||
|
<git.branch>${git.branch}</git.branch> |
||||||
|
</systemPropertyVariables> |
||||||
|
</configuration> |
||||||
|
</plugin> |
||||||
|
</plugins> |
||||||
|
</build> |
||||||
</project> |
</project> |
||||||
|
|||||||
Loading…
Reference in new issue