Skip to content

Commit

Permalink
Updated to 5.16.4
Browse files Browse the repository at this point in the history
  • Loading branch information
jbarrez committed Oct 29, 2014
1 parent aff48f4 commit 05e94c9
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 14 deletions.
27 changes: 21 additions & 6 deletions .classpath
Original file line number Diff line number Diff line change
@@ -1,10 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="target/classes" path="src/main/java"/>
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"/>
<classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"/>
<classpathentry kind="src" output="target/classes" path="src/main/java">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/classes"/>
</classpath>
6 changes: 5 additions & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,8 @@ Run 'mvn clean package shade:shade' to build the executable jar.

Execute the jar to get more info about the command line params.

You can pass db connection params as system properties: -DjdbcUrl | -DjdbcDriver | -DjdbcUsername | -DjdbcPassword
You can pass db connection params as system properties: -DjdbcUrl | -DjdbcDriver | -DjdbcUsername | -DjdbcPassword

eg:

java -DjdbcUrl=jdbc:mysql://localhost:3306/activiti_benchmark?characterEncoding=UTF-8 -DjdbcUsername=activiti -DjdbcPassword=activiti -DjdbcDriver=com.mysql.jdbc.Driver -Dhistory=none -Dconfig=spring -jar activiti-basic-benchmark.jar 2500 16
12 changes: 6 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
<dependency>
<groupId>org.activiti</groupId>
<artifactId>activiti-engine</artifactId>
<version>5.15.1</version>
<version>5.16.4</version>
</dependency>
<dependency>
<groupId>org.activiti</groupId>
<artifactId>activiti-spring</artifactId>
<version>5.15.1</version>
<version>5.16.4</version>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
Expand All @@ -34,22 +34,22 @@
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>3.2.7.RELEASE</version>
<version>4.0.6.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
<version>3.2.7.RELEASE</version>
<version>4.0.6.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-tx</artifactId>
<version>3.2.7.RELEASE</version>
<version>4.0.6.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-orm</artifactId>
<version>3.2.7.RELEASE</version>
<version>4.0.6.RELEASE</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ private static void executeBenchmarks(int nrOfProcessExecutions, int maxNrOfThre

private static void writeHtmlReport() {
BenchmarkOuput output = new BenchmarkOuput();
output.start("Activiti 5.10-SNAPSHOT basic benchmark results");
output.start("Activiti " + ProcessEngineHolder.getInstance().VERSION + " basic benchmark results");

for (int i = 1; i <= maxNrOfThreadsInThreadPool; i++) {
output.addBenchmarkResult("Fixed thread pool (" + i + "threads), sequential", fixedPoolSequentialResults.get(i - 1));
Expand Down

0 comments on commit 05e94c9

Please sign in to comment.