forked from mjpt777/rw-concurrency
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
58 lines (50 loc) · 1.81 KB
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?xml version="1.0" encoding="ISO-8859-1"?>
<project name="rw-concurrency" default="all" basedir=".">
<property name="dir.src" value="src"/>
<property name="dir.build" value="target/classes"/>
<path id="test.classpath">
<pathelement location="${dir.build}"/>
</path>
<target name="prepare">
<mkdir dir="${dir.build}"/>
</target>
<target name="clean">
<delete dir="target"/>
</target>
<target name="build" depends="prepare">
<javac destdir="${dir.build}"
includeAntRuntime="false"
debug="true"
nowarn="true">
<src path="${dir.src}"/>
<classpath refid="test.classpath"/>
</javac>
</target>
<target name="test" depends="build">
<java classname="PerfTest" classpathref="test.classpath" fork="true">
<jvmarg value="-XX:BiasedLockingStartupDelay=0"/>
<arg value="1"/>
<arg value="1"/>
<arg value="5000"/>
</java>
<java classname="PerfTest" classpathref="test.classpath" fork="true">
<jvmarg value="-XX:BiasedLockingStartupDelay=0"/>
<arg value="2"/>
<arg value="1"/>
<arg value="5000"/>
</java>
<java classname="PerfTest" classpathref="test.classpath" fork="true">
<jvmarg value="-XX:BiasedLockingStartupDelay=0"/>
<arg value="3"/>
<arg value="1"/>
<arg value="5000"/>
</java>
<java classname="PerfTest" classpathref="test.classpath" fork="true">
<jvmarg value="-XX:BiasedLockingStartupDelay=0"/>
<arg value="2"/>
<arg value="2"/>
<arg value="5000"/>
</java>
</target>
<target name="all" depends="clean, build, test"/>
</project>