Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

115 lines (102 sloc) 3.373 kb
<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">
<parent>
<groupId>org.neo4j</groupId>
<artifactId>parent-central</artifactId>
<version>17</version>
</parent>
<properties>
<neo-version>1.7-SNAPSHOT</neo-version>
<neo-version-name>${neo-version}</neo-version-name>
<storage-folder>${basedir}/tarpit</storage-folder>
<jvm-memory>768M</jvm-memory>
<run-main-class>org.neo4j.bench.regression.main.Main</run-main-class>
<threshold />
<tarToMail />
<chart-file>${project.build.directory}/chart.png</chart-file>
<ops-per-sec-file>${basedir}/performance.history</ops-per-sec-file>
<time-to-run />
<log-file>${project.build.directory}/perftest.log</log-file>
</properties>
<modelVersion>4.0.0</modelVersion>
<groupId>org.neo4j.qa</groupId>
<artifactId>PerformanceRegressionTest</artifactId>
<dependencies>
<dependency>
<groupId>org.neo4j</groupId>
<artifactId>neo4j-community</artifactId>
<version>${neo-version}</version>
</dependency>
<dependency>
<groupId>jfree</groupId>
<artifactId>jfreechart</artifactId>
<version>1.0.12</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.5</version>
</dependency>
<dependency>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty</artifactId>
<version>6.1.22</version>
</dependency>
<dependency>
<groupId>javax.mail</groupId>
<artifactId>mail</artifactId>
<version>1.4.1</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.6</version>
<configuration>
<target>
<!-- Needed for the ant "if" task -->
<taskdef resource="net/sf/antcontrib/antcontrib.properties"
classpathref="maven.plugin.classpath" />
<property name="classpath" refid="maven.runtime.classpath" />
<!-- Run performance tests -->
<exec executable="java" output="${log-file}" dir="${project.build.directory}"
failonerror="false" resultproperty="perftest-result">
<arg value="-Xmx${jvm-memory}" />
<arg value="-server" />
<arg value="-XX:+UseConcMarkSweepGC" />
<arg value="-classpath" />
<arg value="${classpath}" />
<arg value="${run-main-class}" />
<arg value="-threshold=${threshold}" />
<arg value="-neo4j-version=${neo-version-name}" />
<arg value="-tarToMail=${tarToMail}" />
<arg value="-chart-file=${chart-file}" />
<arg value="-ops-per-sec-file=${ops-per-sec-file}" />
<arg value="-time-to-run=${time-to-run}" />
</exec>
<if>
<not>
<equals arg1="${perftest-result}" arg2="0" />
</not>
<then>
<fail
message="Performance regression run failed, see output in ${log-file}"
status="${perftest-result}" />
</then>
</if>
</target>
</configuration>
<dependencies>
<dependency>
<groupId>ant-contrib</groupId>
<artifactId>ant-contrib</artifactId>
<version>20020829</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
</project>
Jump to Line
Something went wrong with that request. Please try again.