nashorn/make/build-benchmark.xml
author duke
Wed, 05 Jul 2017 21:30:02 +0200
changeset 36701 a33456868903
parent 36697 665335352bb7
child 36764 298caeee3757
permissions -rw-r--r--
Merge
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     1
<?xml version="1.0" encoding="UTF-8"?>
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
     2
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     3
<!--
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
     4
    Copyright (c) 2010, 2014, Oracle and/or its affiliates. All rights reserved.
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
     5
    DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
     6
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
     7
    This code is free software; you can redistribute it and/or modify it
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
     8
    under the terms of the GNU General Public License version 2 only, as
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
     9
    published by the Free Software Foundation.
24768
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
    10
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
    11
    This code is distributed in the hope that it will be useful, but WITHOUT
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
    12
    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
    13
    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
    14
    version 2 for more details (a copy is included in the LICENSE file that
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
    15
    accompanied this code).
24768
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
    16
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
    17
    You should have received a copy of the GNU General Public License version
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
    18
    2 along with this work; if not, write to the Free Software Foundation,
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
    19
    Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
24768
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
    20
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
    21
    Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
    22
    or visit www.oracle.com if you need additional information or have any
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
    23
    questions.
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    24
-->
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
    25
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
    26
24768
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
    27
<project
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
    28
    name="nashorn-benchmarks"
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
    29
    default="all"
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
    30
    basedir=".."
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
    31
    xmlns:if="ant:if">
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    32
24768
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
    33
  <!--
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
    34
       Below are the octane benchmarks that should be run.
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
    35
       The ones that are excluded, as Nashorn currently has
24768
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
    36
       some issues with them (functionality or performance)
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
    37
       are commented out
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
    38
  -->
24768
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
    39
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    40
  <!-- box2d -->
24768
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
    41
  <target name="octane-box2d" depends="octane-box2d-nashorn"/>
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
    42
  <target name="octane-box2d-nashorn" depends="jar">
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
    43
    <run-one cond="octane.benchmark.box2d" runtime="nashorn"/>
24768
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
    44
  </target>
16169
45718b3a87eb 8006082: Provide option to run octane benchmarks in separate processes
sundar
parents: 16165
diff changeset
    45
  <target name="octane-box2d-v8" depends="jar">
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
    46
    <run-one cond="octane.benchmark.box2d" runtime="v8"/>
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    47
  </target>
16169
45718b3a87eb 8006082: Provide option to run octane benchmarks in separate processes
sundar
parents: 16165
diff changeset
    48
  <target name="octane-box2d-rhino" depends="jar">
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
    49
    <run-one cond="octane.benchmark.box2d" runtime="rhino"/>
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    50
  </target>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    51
24768
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
    52
  <!-- code-load -->
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
    53
  <target name="octane-code-load" depends="octane-code-load-nashorn"/>
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
    54
  <target name="octane-code-load-nashorn" depends="jar">
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
    55
    <run-one cond="octane.benchmark.code-load" runtime="nashorn"/>
24768
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
    56
  </target>
16169
45718b3a87eb 8006082: Provide option to run octane benchmarks in separate processes
sundar
parents: 16165
diff changeset
    57
  <target name="octane-code-load-v8" depends="jar">
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
    58
    <run-one cond="octane.benchmark.code-load" runtime="v8"/>
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    59
  </target>
16169
45718b3a87eb 8006082: Provide option to run octane benchmarks in separate processes
sundar
parents: 16165
diff changeset
    60
  <target name="octane-code-load-rhino" depends="jar">
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
    61
    <run-one cond="octane.benchmark.code-load" runtime="rhino"/>
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    62
  </target>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    63
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    64
  <!-- crypto -->
24768
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
    65
  <target name="octane-crypto" depends="octane-crypto-nashorn"/>
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
    66
  <target name="octane-crypto-nashorn" depends="jar">
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
    67
    <run-one cond="octane.benchmark.crypto" runtime="nashorn"/>
24768
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
    68
  </target>
16169
45718b3a87eb 8006082: Provide option to run octane benchmarks in separate processes
sundar
parents: 16165
diff changeset
    69
  <target name="octane-crypto-v8" depends="jar">
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
    70
    <run-one cond="octane.benchmark.crypto" runtime="v8"/>
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    71
  </target>
16169
45718b3a87eb 8006082: Provide option to run octane benchmarks in separate processes
sundar
parents: 16165
diff changeset
    72
  <target name="octane-crypto-rhino" depends="jar">
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
    73
    <run-one cond="octane.benchmark.crypto" runtime="rhino"/>
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    74
  </target>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    75
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    76
  <!-- deltablue -->
24768
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
    77
  <target name="octane-deltablue" depends="octane-deltablue-nashorn"/>
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
    78
  <target name="octane-deltablue-nashorn" depends="jar">
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
    79
    <run-one cond="octane.benchmark.deltablue" runtime="nashorn"/>
24768
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
    80
  </target>
16169
45718b3a87eb 8006082: Provide option to run octane benchmarks in separate processes
sundar
parents: 16165
diff changeset
    81
  <target name="octane-deltablue-v8" depends="jar">
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
    82
    <run-one cond="octane.benchmark.deltablue" runtime="v8"/>
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    83
  </target>
16169
45718b3a87eb 8006082: Provide option to run octane benchmarks in separate processes
sundar
parents: 16165
diff changeset
    84
  <target name="octane-deltablue-rhino" depends="jar">
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
    85
    <run-one cond="octane.benchmark.deltablue" runtime="rhino"/>
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    86
  </target>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    87
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    88
  <!-- earley-boyer -->
24768
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
    89
  <target name="octane-earley-boyer" depends="octane-earley-boyer-nashorn"/>
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
    90
  <target name="octane-earley-boyer-nashorn" depends="jar">
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
    91
    <run-one cond="octane.benchmark.earley-boyer" runtime="nashorn"/>
24768
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
    92
  </target>
16169
45718b3a87eb 8006082: Provide option to run octane benchmarks in separate processes
sundar
parents: 16165
diff changeset
    93
  <target name="octane-earley-boyer-v8" depends="jar">
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
    94
    <run-one cond="octane.benchmark.earley-boyer" runtime="v8"/>
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    95
  </target>
16169
45718b3a87eb 8006082: Provide option to run octane benchmarks in separate processes
sundar
parents: 16165
diff changeset
    96
  <target name="octane-earley-boyer-rhino" depends="jar">
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
    97
    <run-one cond="octane.benchmark.earley-boyer" runtime="rhino"/>
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    98
  </target>
24768
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
    99
  
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   100
  <!-- gbemu -->
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   101
  <target name="octane-gbemu" depends="octane-gbemu-nashorn"/>
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   102
  <target name="octane-gbemu-nashorn" depends="jar">
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   103
    <run-one cond="octane.benchmark.gbemu" runtime="nashorn"/>
24768
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   104
  </target>
16169
45718b3a87eb 8006082: Provide option to run octane benchmarks in separate processes
sundar
parents: 16165
diff changeset
   105
  <target name="octane-gbemu-v8" depends="jar">
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   106
    <run-one cond="octane.benchmark.gbemu" runtime="v8"/>
16169
45718b3a87eb 8006082: Provide option to run octane benchmarks in separate processes
sundar
parents: 16165
diff changeset
   107
  </target>
45718b3a87eb 8006082: Provide option to run octane benchmarks in separate processes
sundar
parents: 16165
diff changeset
   108
  <target name="octane-gbemu-rhino" depends="jar">
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   109
    <run-one cond="octane.benchmark.gbemu" runtime="rhino"/>
16169
45718b3a87eb 8006082: Provide option to run octane benchmarks in separate processes
sundar
parents: 16165
diff changeset
   110
  </target>
45718b3a87eb 8006082: Provide option to run octane benchmarks in separate processes
sundar
parents: 16165
diff changeset
   111
24768
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   112
  <!-- mandreel -->
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   113
  <target name="octane-mandreel" depends="octane-mandreel-nashorn"/>
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   114
  <target name="octane-mandreel-nashorn" depends="jar">
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   115
    <run-one cond="octane.benchmark.mandreel" runtime="nashorn"/>
24768
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   116
  </target>
16169
45718b3a87eb 8006082: Provide option to run octane benchmarks in separate processes
sundar
parents: 16165
diff changeset
   117
  <target name="octane-mandreel-v8" depends="jar">
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   118
    <run-one cond="octane.benchmark.mandreel" runtime="v8"/>
16169
45718b3a87eb 8006082: Provide option to run octane benchmarks in separate processes
sundar
parents: 16165
diff changeset
   119
  </target>
45718b3a87eb 8006082: Provide option to run octane benchmarks in separate processes
sundar
parents: 16165
diff changeset
   120
  <target name="octane-mandreel-rhino" depends="jar">
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   121
    <run-one cond="octane.benchmark.mandreel" runtime="rhino"/>
16169
45718b3a87eb 8006082: Provide option to run octane benchmarks in separate processes
sundar
parents: 16165
diff changeset
   122
  </target>
45718b3a87eb 8006082: Provide option to run octane benchmarks in separate processes
sundar
parents: 16165
diff changeset
   123
45718b3a87eb 8006082: Provide option to run octane benchmarks in separate processes
sundar
parents: 16165
diff changeset
   124
  <!-- navier-stokes -->
24768
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   125
  <target name="octane-navier-stokes" depends="octane-navier-stokes-nashorn"/>
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   126
  <target name="octane-navier-stokes-nashorn" depends="jar">
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   127
    <run-one cond="octane.benchmark.navier-stokes" runtime="nashorn"/>
24768
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   128
  </target>
16169
45718b3a87eb 8006082: Provide option to run octane benchmarks in separate processes
sundar
parents: 16165
diff changeset
   129
  <target name="octane-navier-stokes-v8" depends="jar">
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   130
    <run-one cond="octane.benchmark.navier-stokes" runtime="v8"/>
16169
45718b3a87eb 8006082: Provide option to run octane benchmarks in separate processes
sundar
parents: 16165
diff changeset
   131
  </target>
45718b3a87eb 8006082: Provide option to run octane benchmarks in separate processes
sundar
parents: 16165
diff changeset
   132
  <target name="octane-navier-stokes-rhino" depends="jar">
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   133
    <run-one cond="octane.benchmark.navier-stokes" runtime="rhino"/>
16169
45718b3a87eb 8006082: Provide option to run octane benchmarks in separate processes
sundar
parents: 16165
diff changeset
   134
  </target>
45718b3a87eb 8006082: Provide option to run octane benchmarks in separate processes
sundar
parents: 16165
diff changeset
   135
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   136
  <!-- pdfjs -->
24768
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   137
  <target name="octane-pdfjs" depends="octane-pdfjs-nashorn"/>
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   138
  <target name="octane-pdfjs-nashorn" depends="jar">
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   139
    <run-one cond="octane.benchmark.pdfjs" runtime="nashorn"/>
24768
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   140
  </target>
16169
45718b3a87eb 8006082: Provide option to run octane benchmarks in separate processes
sundar
parents: 16165
diff changeset
   141
  <target name="octane-pdfjs-v8" depends="jar">
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   142
    <run-one cond="octane.benchmark.pdfjs" runtime="v8"/>
16169
45718b3a87eb 8006082: Provide option to run octane benchmarks in separate processes
sundar
parents: 16165
diff changeset
   143
  </target>
45718b3a87eb 8006082: Provide option to run octane benchmarks in separate processes
sundar
parents: 16165
diff changeset
   144
  <target name="octane-pdfjs-rhino" depends="jar">
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   145
    <run-one cond="octane.benchmark.pdfjs" runtime="rhino"/>
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   146
  </target>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   147
16169
45718b3a87eb 8006082: Provide option to run octane benchmarks in separate processes
sundar
parents: 16165
diff changeset
   148
  <!-- raytrace -->
24768
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   149
  <target name="octane-raytrace" depends="octane-raytrace-nashorn"/>
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   150
  <target name="octane-raytrace-nashorn" depends="jar">
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   151
    <run-one cond="octane.benchmark.raytrace" runtime="nashorn"/>
24768
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   152
  </target>
16169
45718b3a87eb 8006082: Provide option to run octane benchmarks in separate processes
sundar
parents: 16165
diff changeset
   153
  <target name="octane-raytrace-v8" depends="jar">
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   154
    <run-one cond="octane.benchmark.raytrace" runtime="v8"/>
16169
45718b3a87eb 8006082: Provide option to run octane benchmarks in separate processes
sundar
parents: 16165
diff changeset
   155
  </target>
45718b3a87eb 8006082: Provide option to run octane benchmarks in separate processes
sundar
parents: 16165
diff changeset
   156
  <target name="octane-raytrace-rhino" depends="jar">
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   157
    <run-one cond="octane.benchmark.raytrace" runtime="rhino"/>
16169
45718b3a87eb 8006082: Provide option to run octane benchmarks in separate processes
sundar
parents: 16165
diff changeset
   158
  </target>
45718b3a87eb 8006082: Provide option to run octane benchmarks in separate processes
sundar
parents: 16165
diff changeset
   159
45718b3a87eb 8006082: Provide option to run octane benchmarks in separate processes
sundar
parents: 16165
diff changeset
   160
  <!-- regexp -->
24768
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   161
  <target name="octane-regexp" depends="octane-regexp-nashorn"/>
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   162
  <target name="octane-regexp-nashorn" depends="jar">
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   163
    <run-one cond="octane.benchmark.regexp" runtime="nashorn"/>
24768
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   164
  </target>
22384
042ba96233f6 8029780: "ant externals" broke our test harness with the latest version of the octane benchmarks
lagergren
parents: 20212
diff changeset
   165
  <target name="octane-regexp-v8" depends="jar">
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   166
    <run-one cond="octane.benchmark.regexp" runtime="v8"/>
16169
45718b3a87eb 8006082: Provide option to run octane benchmarks in separate processes
sundar
parents: 16165
diff changeset
   167
  </target>
45718b3a87eb 8006082: Provide option to run octane benchmarks in separate processes
sundar
parents: 16165
diff changeset
   168
  <target name="octane-regexp-rhino" depends="jar">
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   169
    <run-one cond="octane.benchmark.regexp" runtime="rhino"/>
16169
45718b3a87eb 8006082: Provide option to run octane benchmarks in separate processes
sundar
parents: 16165
diff changeset
   170
  </target>
45718b3a87eb 8006082: Provide option to run octane benchmarks in separate processes
sundar
parents: 16165
diff changeset
   171
45718b3a87eb 8006082: Provide option to run octane benchmarks in separate processes
sundar
parents: 16165
diff changeset
   172
  <!-- richards -->
24768
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   173
  <target name="octane-richards" depends="octane-richards-nashorn"/>
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   174
  <target name="octane-richards-nashorn" depends="jar">
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   175
    <run-one cond="octane.benchmark.richards" runtime="nashorn"/>
24768
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   176
  </target>
16169
45718b3a87eb 8006082: Provide option to run octane benchmarks in separate processes
sundar
parents: 16165
diff changeset
   177
  <target name="octane-richards-v8" depends="jar">
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   178
    <run-one cond="octane.benchmark.richards" runtime="v8"/>
16169
45718b3a87eb 8006082: Provide option to run octane benchmarks in separate processes
sundar
parents: 16165
diff changeset
   179
  </target>
45718b3a87eb 8006082: Provide option to run octane benchmarks in separate processes
sundar
parents: 16165
diff changeset
   180
  <target name="octane-richards-rhino" depends="jar">
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   181
    <run-one cond="octane.benchmark.richards" runtime="rhino"/>
16169
45718b3a87eb 8006082: Provide option to run octane benchmarks in separate processes
sundar
parents: 16165
diff changeset
   182
  </target>
45718b3a87eb 8006082: Provide option to run octane benchmarks in separate processes
sundar
parents: 16165
diff changeset
   183
45718b3a87eb 8006082: Provide option to run octane benchmarks in separate processes
sundar
parents: 16165
diff changeset
   184
  <!-- splay -->
24768
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   185
  <target name="octane-splay" depends="octane-splay-nashorn"/>
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   186
  <target name="octane-splay-nashorn" depends="jar">
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   187
    <run-one cond="octane.benchmark.splay" runtime="nashorn"/>
24768
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   188
  </target>
16169
45718b3a87eb 8006082: Provide option to run octane benchmarks in separate processes
sundar
parents: 16165
diff changeset
   189
  <target name="octane-splay-v8" depends="jar">
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   190
    <run-one cond="octane.benchmark.splay" runtime="v8"/>
16169
45718b3a87eb 8006082: Provide option to run octane benchmarks in separate processes
sundar
parents: 16165
diff changeset
   191
  </target>
45718b3a87eb 8006082: Provide option to run octane benchmarks in separate processes
sundar
parents: 16165
diff changeset
   192
  <target name="octane-splay-rhino" depends="jar">
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   193
    <run-one cond="octane.benchmark.splay" runtime="rhino"/>
16169
45718b3a87eb 8006082: Provide option to run octane benchmarks in separate processes
sundar
parents: 16165
diff changeset
   194
  </target>
45718b3a87eb 8006082: Provide option to run octane benchmarks in separate processes
sundar
parents: 16165
diff changeset
   195
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   196
  <!-- typescript -->
24768
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   197
  <target name="octane-typescript" depends="octane-typescript-nashorn"/>
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   198
  <target name="octane-typescript-nashorn" depends="jar">
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   199
    <run-one cond="octane.benchmark.typescript" runtime="nashorn"/>
24768
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   200
  </target>
22384
042ba96233f6 8029780: "ant externals" broke our test harness with the latest version of the octane benchmarks
lagergren
parents: 20212
diff changeset
   201
  <target name="octane-typescript-v8" depends="jar">
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   202
    <run-one cond="octane.benchmark.typescript" runtime="v8"/>
22384
042ba96233f6 8029780: "ant externals" broke our test harness with the latest version of the octane benchmarks
lagergren
parents: 20212
diff changeset
   203
  </target>
042ba96233f6 8029780: "ant externals" broke our test harness with the latest version of the octane benchmarks
lagergren
parents: 20212
diff changeset
   204
  <target name="octane-typescript-rhino" depends="jar">
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   205
    <run-one cond="octane.benchmark.typescript" runtime="rhino"/>
22384
042ba96233f6 8029780: "ant externals" broke our test harness with the latest version of the octane benchmarks
lagergren
parents: 20212
diff changeset
   206
  </target>
042ba96233f6 8029780: "ant externals" broke our test harness with the latest version of the octane benchmarks
lagergren
parents: 20212
diff changeset
   207
042ba96233f6 8029780: "ant externals" broke our test harness with the latest version of the octane benchmarks
lagergren
parents: 20212
diff changeset
   208
  <!-- zlib -->
24768
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   209
  <target name="octane-zlib" depends="octane-zlib-nashorn"/>
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   210
  <target name="octane-zlib-nashorn" depends="jar">
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   211
    <run-one cond="octane.benchmark.zlib" runtime="nashorn"/>
24768
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   212
  </target>
22384
042ba96233f6 8029780: "ant externals" broke our test harness with the latest version of the octane benchmarks
lagergren
parents: 20212
diff changeset
   213
  <target name="octane-zlib-v8" depends="jar">
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   214
    <run-one cond="octane.benchmark.zlib" runtime="v8"/>
22384
042ba96233f6 8029780: "ant externals" broke our test harness with the latest version of the octane benchmarks
lagergren
parents: 20212
diff changeset
   215
  </target>
042ba96233f6 8029780: "ant externals" broke our test harness with the latest version of the octane benchmarks
lagergren
parents: 20212
diff changeset
   216
  <target name="octane-zlib-rhino" depends="jar">
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   217
    <run-one cond="octane.benchmark.zlib" runtime="rhino"/>
22384
042ba96233f6 8029780: "ant externals" broke our test harness with the latest version of the octane benchmarks
lagergren
parents: 20212
diff changeset
   218
  </target>
042ba96233f6 8029780: "ant externals" broke our test harness with the latest version of the octane benchmarks
lagergren
parents: 20212
diff changeset
   219
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   220
  <!--
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   221
      Benchmark runners for one or more benchmarks, single
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   222
      or multiple process
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   223
  -->
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   224
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   225
  <target name="octane-process-separate" if="${octane-test-sys-prop.separate.process}">
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   226
    <echo message="Running each benchmark in separate processes, starting new JVMs for each."/>
24768
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   227
    <script language="javascript"><![CDATA[
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   228
      var props = [];
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   229
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   230
      for (var prop in project.getProperties()) {
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   231
        if (prop.startsWith("octane.benchmark.")) {
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   232
          props.push(prop);
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   233
        }
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   234
      }
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   235
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   236
      //sort benchmark props in alphabetical order by name
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   237
      props.sort(function(a, b) {
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   238
        if (a < b) {
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   239
          return -1;
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   240
        } else if (a > b) {
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   241
          return 1;
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   242
        } else {
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   243
           return 0;
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   244
        }
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   245
      });
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   246
      
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   247
      var runtime = project.getProperty("runtime");
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   248
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   249
      for (var i in props) {
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   250
        var task = project.createTask("run-one");
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   251
	// workaround for https://issues.apache.org/bugzilla/show_bug.cgi?id=53831, still not fixed
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   252
        if (task.getOwningTarget() == null) {
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   253
	  task.setOwningTarget(self.getOwningTarget());
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   254
	}
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   255
        var prop = props[i];
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   256
        task.setDynamicAttribute("cond", prop);
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   257
        task.setDynamicAttribute("runtime", runtime);
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   258
	task.perform();
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   259
      }
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   260
    ]]></script>
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   261
  </target>
24768
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   262
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   263
  <target name="octane-process-single" unless="${octane-test-sys-prop.separate.process}">
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   264
    <echo message="Running all benchmarks in the same process."/>
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   265
    <pathconvert property="octane.benchmarks" pathsep=" ">
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   266
      <propertyset>
24768
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   267
    <propertyref prefix="octane.benchmark."/>
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   268
      </propertyset>
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   269
    </pathconvert>
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   270
    <antcall target="run-octane${runtime}">
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   271
      <param name="octane-tests" value="${octane.benchmarks}"/>
24768
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   272
    </antcall>
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   273
  </target>
24768
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   274
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   275
  <!--
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   276
       run 'octane' in single or separate processes based on config
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   277
       This uses nashorn as the default runtime
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   278
  -->
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   279
  <target name="octane-nashorn" depends="jar">
24768
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   280
    <property name="runtime" value="nashorn"/>
36697
665335352bb7 8152646: disable ant octane target to avoid hudson build failure notifications
sundar
parents: 34732
diff changeset
   281
    <!--
665335352bb7 8152646: disable ant octane target to avoid hudson build failure notifications
sundar
parents: 34732
diff changeset
   282
       Temporarily disabled because ant script tag is broken with
665335352bb7 8152646: disable ant octane target to avoid hudson build failure notifications
sundar
parents: 34732
diff changeset
   283
       jdk9. See also: JDK-8152533.
665335352bb7 8152646: disable ant octane target to avoid hudson build failure notifications
sundar
parents: 34732
diff changeset
   284
665335352bb7 8152646: disable ant octane target to avoid hudson build failure notifications
sundar
parents: 34732
diff changeset
   285
       <antcall target="octane-process-separate"/>
665335352bb7 8152646: disable ant octane target to avoid hudson build failure notifications
sundar
parents: 34732
diff changeset
   286
       <antcall target="octane-process-single"/>
665335352bb7 8152646: disable ant octane target to avoid hudson build failure notifications
sundar
parents: 34732
diff changeset
   287
    -->
665335352bb7 8152646: disable ant octane target to avoid hudson build failure notifications
sundar
parents: 34732
diff changeset
   288
    <echo message="octane target temporarily disabled"/>
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   289
  </target>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   290
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   291
  <!-- alias for 'octane' -->
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   292
  <target name="octane" depends="octane-nashorn"/>
24768
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   293
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   294
  <!-- run octane benchmarks using octane as runtime -->
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   295
  <target name="octane-v8" depends="jar">
24768
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   296
    <property name="runtime" value="v8"/>
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   297
    <antcall target="octane-process-separate"/>
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   298
    <antcall target="octane-process-single"/>
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   299
  </target>
24768
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   300
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   301
  <!-- run octane benchmarks using Rhino as runtime -->
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   302
  <target name="octane-rhino" depends="jar">
24768
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   303
    <property name="runtime" value="rhino"/>
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   304
    <antcall target="octane-process-separate"/>
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   305
    <antcall target="octane-process-single"/>
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   306
  </target>
24768
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   307
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   308
  <macrodef name="run-one">
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   309
    <attribute name="cond"/>
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   310
    <attribute name="runtime" default=""/>
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   311
    <sequential>
24768
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   312
	<antcall target="run-octane-@{runtime}" if:set="@{cond}">
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   313
	  <param name="octane-tests" value="${@{cond}}"/>
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   314
	</antcall>
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   315
    </sequential>
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   316
  </macrodef>
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   317
24768
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   318
  <target name="run-octane-nashorn">
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   319
    <java classname="${nashorn.shell.tool}"
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   320
          classpath="${run.test.classpath}"
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   321
          fork="true"
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   322
          dir=".">
34732
6605efbe8447 8144020: Remove long as an internal numeric type
hannesw
parents: 24768
diff changeset
   323
      <jvmarg line="${boot.class.path}"/>
20212
5e7711039ab0 8023154: compileAllTests fails with: 2 tests failed to compile
hannesw
parents: 17777
diff changeset
   324
      <jvmarg line="${run.test.jvmargs.octane} -Xms${run.test.xms} -Xmx${run.test.xmx}"/>
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   325
      <!-- pass on all properties prefixed with 'nashorn' to the runtime -->
22366
1db7c8634626 8029090: Developers should be able to pass nashorn properties and enable/disable JFR from command line
sundar
parents: 20212
diff changeset
   326
      <syspropertyset>
1db7c8634626 8029090: Developers should be able to pass nashorn properties and enable/disable JFR from command line
sundar
parents: 20212
diff changeset
   327
        <propertyref prefix="nashorn."/>
1db7c8634626 8029090: Developers should be able to pass nashorn properties and enable/disable JFR from command line
sundar
parents: 20212
diff changeset
   328
      </syspropertyset>
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   329
      <arg value="${octane-test-sys-prop.test.js.framework}"/>
24766
7b54e2362c6c 8043632: Parallelize class installation and various script fixes.
lagergren
parents: 24720
diff changeset
   330
      <arg value="-scripting"/>
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   331
      <arg value="--"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   332
      <arg value="${octane-tests}"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   333
      <arg value="--runtime"/>
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   334
      <arg value="nashorn"/>
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   335
      <arg value="--verbose"/>
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   336
      <arg value="--iterations ${octane.iterations}"/>
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   337
    </java>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   338
  </target>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   339
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   340
  <target name="run-octane-v8">
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   341
    <exec executable="${v8.shell}">
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   342
      <arg value="${octane-test-sys-prop.test.js.framework}"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   343
      <arg value="--"/>
24768
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   344
      <arg value="${octane-tests}"/>
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   345
      <arg value="--runtime"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   346
      <arg value="v8"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   347
      <arg value="--verbose"/>
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   348
      <arg value="--iterations ${octane.iterations}"/>
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   349
    </exec>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   350
  </target>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   351
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   352
  <target name="run-octane-rhino">
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   353
    <java jar="${rhino.jar}"
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   354
          classpath="${run.test.classpath}"
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   355
          fork="true"
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   356
          dir=".">
20212
5e7711039ab0 8023154: compileAllTests fails with: 2 tests failed to compile
hannesw
parents: 17777
diff changeset
   357
      <jvmarg line="${run.test.jvmargs.octane} -Xms${run.test.xms} -Xmx${run.test.xmx}"/>
24720
75f8388b79df 8035836: Array performance improvements
lagergren
parents: 22385
diff changeset
   358
      <arg value="-opt"/>
75f8388b79df 8035836: Array performance improvements
lagergren
parents: 22385
diff changeset
   359
      <arg value="9"/>
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   360
      <arg value="${octane-test-sys-prop.test.js.framework}"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   361
      <arg value="${octane-tests}"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   362
      <arg value="--runtime"/>
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   363
      <arg value="rhino"/>
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   364
      <arg value="--verbose"/>
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   365
      <arg value="--iterations ${octane.iterations}"/>
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   366
    </java>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   367
  </target>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   368
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   369
  <!-- run octane with all known runtimes for comparison -->
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   370
  <target name="octane-all" depends="octane, octane-v8, octane-rhino">
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   371
    <exec executable="${v8.shell}">
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   372
      <arg value="${octane-test-sys-prop.test.js.framework}"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   373
      <arg value="${octane-tests}/"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   374
    </exec>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   375
  </target>
24768
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   376
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   377
  <target name="sunspider-init" depends="jar">
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   378
    <fileset id="sunspider-set"
24768
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   379
         dir="${sunspider-test-sys-prop.test.js.roots}"
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   380
         excludes="${sunspider-test-sys-prop.test.js.exclude.list}">
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   381
      <include name="**/*.js"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   382
    </fileset>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   383
    <pathconvert pathsep=" " property="sunspider-tests" refid="sunspider-set"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   384
  </target>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   385
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   386
  <!--- SUNSPIDER JOB BELOW -->
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   387
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   388
  <!-- run sunspider with Nashorn -->
24768
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   389
  <target name="sunspider" depends="sunspider-nashorn"/>
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   390
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   391
  <target name="sunspider-nashorn" depends="sunspider-init">
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   392
    <java classname="${nashorn.shell.tool}"
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   393
          classpath="${run.test.classpath}"
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   394
          fork="true"
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   395
          dir=".">
34732
6605efbe8447 8144020: Remove long as an internal numeric type
hannesw
parents: 24768
diff changeset
   396
      <jvmarg line="${boot.class.path}"/>
20212
5e7711039ab0 8023154: compileAllTests fails with: 2 tests failed to compile
hannesw
parents: 17777
diff changeset
   397
      <jvmarg line="${run.test.jvmargs} -Xmx${run.test.xmx}"/>
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   398
      <arg value="-timezone=PST"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   399
      <arg value="--class-cache-size=50"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   400
      <arg value="${sunspider-test-sys-prop.test.js.framework}"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   401
      <arg value="--"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   402
      <arg value="${sunspider-tests}/"/>
24768
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   403
      <arg value="--verbose"/>
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   404
      <arg value="--times"/>
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   405
      <arg value="${sunspider.iterations}"/>
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   406
    </java>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   407
  </target>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   408
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   409
  <!-- run sunspider with v8 -->
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   410
  <target name="sunspider-v8" depends="sunspider-init">
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   411
    <exec executable="${v8.shell}">
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   412
      <arg value="${sunspider-test-sys-prop.test.js.framework}"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   413
      <arg value="--"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   414
      <arg value="${sunspider-tests}/"/>
24768
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   415
      <arg value="--verbose"/>
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   416
      <arg value="--times"/>
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   417
      <arg value="${sunspider.iterations}"/>
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   418
    </exec>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   419
  </target>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   420
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   421
  <!-- run sunspider with Rhino -->
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   422
  <target name="sunspider-rhino" depends="sunspider-init">
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   423
    <java jar="${rhino.jar}"
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   424
          classpath="${run.test.classpath}"
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   425
          fork="true"
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   426
          dir=".">
20212
5e7711039ab0 8023154: compileAllTests fails with: 2 tests failed to compile
hannesw
parents: 17777
diff changeset
   427
      <jvmarg line="${run.test.jvmargs} -Xmx${run.test.xmx}"/>
24767
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   428
      <arg value="-opt"/>
0b8af588070b 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
lagergren
parents: 24766
diff changeset
   429
      <arg value="9"/>
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   430
      <arg value="${sunspider-test-sys-prop.test.js.framework}"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   431
      <arg value="${sunspider-tests}/"/>
24768
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   432
      <arg value="--verbose"/>
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   433
      <arg value="--times"/>
ae21f28f0ddc 8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
lagergren
parents: 24767
diff changeset
   434
      <arg value="${sunspider.iterations}"/>
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   435
    </java>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   436
  </target>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   437
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   438
</project>