Mercurial > hg > truffle
view visualizer/Graal/nbproject/build-impl.xml @ 8343:a3c30d467f96
unittest: just do a single JVM call
avoid multiple executions of the JVM in order to avoid high startup costs.
before:
> mx --vm server unittest 355.86s user 2.97s system 175% cpu 3:24.21 total
> mx --vm server longunittest 241.27s user 1.40s system 151% cpu 2:39.88 total
> mx --vm server shortunittest 203.36s user 2.23s system 269% cpu 1:16.42 total
after:
> mx --vm server unittest 202.39s user 1.02s system 130% cpu 2:36.04 total
> mx --vm server longunittest 187.39s user 0.97s system 126% cpu 2:28.38 total
> mx --vm server shortunittest 87.39s user 0.68s system 265% cpu 33.15 total
author | Bernhard Urban <bernhard.urban@jku.at> |
---|---|
date | Mon, 18 Mar 2013 15:11:52 +0100 |
parents | 9ad6d3d11630 |
children |
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?> <!-- *** GENERATED FROM project.xml - DO NOT EDIT *** *** EDIT ../build.xml INSTEAD *** --> <project name="com.sun.hotspot.igv.graal-impl" basedir=".."> <fail message="Please build using Ant 1.7.1 or higher."> <condition> <not> <antversion atleast="1.7.1"/> </not> </condition> </fail> <property file="nbproject/private/suite-private.properties"/> <property file="nbproject/suite.properties"/> <fail unless="suite.dir">You must set 'suite.dir' to point to your containing module suite</fail> <property file="${suite.dir}/nbproject/private/platform-private.properties"/> <property file="${suite.dir}/nbproject/platform.properties"/> <macrodef name="property" uri="http://www.netbeans.org/ns/nb-module-project/2"> <attribute name="name"/> <attribute name="value"/> <sequential> <property name="@{name}" value="${@{value}}"/> </sequential> </macrodef> <macrodef name="evalprops" uri="http://www.netbeans.org/ns/nb-module-project/2"> <attribute name="property"/> <attribute name="value"/> <sequential> <property name="@{property}" value="@{value}"/> </sequential> </macrodef> <property file="${user.properties.file}"/> <nbmproject2:property name="harness.dir" value="nbplatform.${nbplatform.active}.harness.dir" xmlns:nbmproject2="http://www.netbeans.org/ns/nb-module-project/2"/> <nbmproject2:property name="nbplatform.active.dir" value="nbplatform.${nbplatform.active}.netbeans.dest.dir" xmlns:nbmproject2="http://www.netbeans.org/ns/nb-module-project/2"/> <nbmproject2:evalprops property="cluster.path.evaluated" value="${cluster.path}" xmlns:nbmproject2="http://www.netbeans.org/ns/nb-module-project/2"/> <fail message="Path to 'platform' cluster missing in $${cluster.path} property or using corrupt Netbeans Platform (missing harness)."> <condition> <not> <contains string="${cluster.path.evaluated}" substring="platform"/> </not> </condition> </fail> <import file="${harness.dir}/build.xml"/> </project>