make/nashorn/build-benchmark.xml
author ccheung
Fri, 12 Jul 2019 08:40:37 -0700
changeset 55694 7b7df2be6219
parent 47231 8fb3178bef87
permissions -rw-r--r--
8226406: JVM fails to detect mismatched or corrupt CDS archive Summary: Check important archive header fields such as _jvm_ident before processing other fields. Reviewed-by: iklam, jiangli
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
36764
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents: 36697
diff changeset
   220
  <target name="-define-nashorn-task">
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents: 36697
diff changeset
   221
    <ant dir="${nashorntask.dir}" inheritAll="false"/>
47231
8fb3178bef87 8187782: no ant build artifact should be produced under make/nashorn directory
sundar
parents: 47216
diff changeset
   222
    <taskdef name="nashorn" classname="jdk.nashorn.ant.NashornTask"
8fb3178bef87 8187782: no ant build artifact should be produced under make/nashorn directory
sundar
parents: 47216
diff changeset
   223
        classpath="${nashorntask.dist.dir}/nashorntask.jar"/>
36764
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents: 36697
diff changeset
   224
  </target>
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents: 36697
diff changeset
   225
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
   226
  <!--
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
   227
      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
   228
      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
   229
  -->
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
   230
36764
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents: 36697
diff changeset
   231
  <target name="octane-process-separate" if="${octane-test-sys-prop.separate.process}"
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents: 36697
diff changeset
   232
      depends="-define-nashorn-task">
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
   233
    <echo message="Running each benchmark in separate processes, starting new JVMs for each."/>
36764
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents: 36697
diff changeset
   234
    <nashorn><![CDATA[
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
   235
      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
   236
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
      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
   238
        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
   239
          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
   240
        }
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
      }
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
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
      //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
   244
      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
   245
        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
   246
          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
   247
        } 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
   248
          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
   249
        } 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
   250
           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
   251
        }
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
      });
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
      
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
      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
   255
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
      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
   257
        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
   258
	// 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
   259
        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
   260
	  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
   261
	}
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
        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
   263
        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
   264
        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
   265
	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
   266
      }
36764
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents: 36697
diff changeset
   267
    ]]></nashorn>
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   268
  </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
   269
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
   270
  <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
   271
    <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
   272
    <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
   273
      <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
   274
    <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
   275
      </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
   276
    </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
   277
    <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
   278
      <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
   279
    </antcall>
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   280
  </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
   281
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
   282
  <!--
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
   283
       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
   284
       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
   285
  -->
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
   286
  <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
   287
    <property name="runtime" value="nashorn"/>
36764
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents: 36697
diff changeset
   288
    <antcall target="octane-process-separate"/>
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents: 36697
diff changeset
   289
    <antcall target="octane-process-single"/>
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   290
  </target>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   291
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
   292
  <!-- 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
   293
  <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
   294
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   295
  <!-- 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
   296
  <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
   297
    <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
   298
    <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
   299
    <antcall target="octane-process-single"/>
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   300
  </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
   301
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
   302
  <!-- 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
   303
  <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
   304
    <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
   305
    <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
   306
    <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
   307
  </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
   308
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
   309
  <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
   310
    <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
   311
    <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
   312
    <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
   313
	<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
   314
	  <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
   315
	</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
   316
    </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
   317
  </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
   318
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
   319
  <target name="run-octane-nashorn">
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   320
    <java classname="${nashorn.shell.tool}"
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   321
          classpath="${run.test.classpath}"
36764
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents: 36697
diff changeset
   322
          fork="true">
20212
5e7711039ab0 8023154: compileAllTests fails with: 2 tests failed to compile
hannesw
parents: 17777
diff changeset
   323
      <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
   324
      <!-- 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
   325
      <syspropertyset>
1db7c8634626 8029090: Developers should be able to pass nashorn properties and enable/disable JFR from command line
sundar
parents: 20212
diff changeset
   326
        <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
   327
      </syspropertyset>
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   328
      <arg value="${octane-test-sys-prop.test.js.framework}"/>
24766
7b54e2362c6c 8043632: Parallelize class installation and various script fixes.
lagergren
parents: 24720
diff changeset
   329
      <arg value="-scripting"/>
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   330
      <arg value="--"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   331
      <arg value="${octane-tests}"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   332
      <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
   333
      <arg value="nashorn"/>
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   334
      <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
   335
      <arg value="--iterations ${octane.iterations}"/>
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   336
    </java>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   337
  </target>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   338
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   339
  <target name="run-octane-v8">
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   340
    <exec executable="${v8.shell}">
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   341
      <arg value="${octane-test-sys-prop.test.js.framework}"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   342
      <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
   343
      <arg value="${octane-tests}"/>
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   344
      <arg value="--runtime"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   345
      <arg value="v8"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   346
      <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
   347
      <arg value="--iterations ${octane.iterations}"/>
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   348
    </exec>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   349
  </target>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   350
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   351
  <target name="run-octane-rhino">
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   352
    <java jar="${rhino.jar}"
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   353
          classpath="${run.test.classpath}"
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   354
          fork="true"
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   355
          dir=".">
20212
5e7711039ab0 8023154: compileAllTests fails with: 2 tests failed to compile
hannesw
parents: 17777
diff changeset
   356
      <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
   357
      <arg value="-opt"/>
75f8388b79df 8035836: Array performance improvements
lagergren
parents: 22385
diff changeset
   358
      <arg value="9"/>
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   359
      <arg value="${octane-test-sys-prop.test.js.framework}"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   360
      <arg value="${octane-tests}"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   361
      <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
   362
      <arg value="rhino"/>
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   363
      <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
   364
      <arg value="--iterations ${octane.iterations}"/>
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   365
    </java>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   366
  </target>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   367
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   368
  <!-- run octane with all known runtimes for comparison -->
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   369
  <target name="octane-all" depends="octane, octane-v8, octane-rhino">
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   370
    <exec executable="${v8.shell}">
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   371
      <arg value="${octane-test-sys-prop.test.js.framework}"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   372
      <arg value="${octane-tests}/"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   373
    </exec>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   374
  </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
   375
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   376
  <target name="sunspider-init" depends="jar">
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   377
    <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
   378
         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
   379
         excludes="${sunspider-test-sys-prop.test.js.exclude.list}">
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   380
      <include name="**/*.js"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   381
    </fileset>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   382
    <pathconvert pathsep=" " property="sunspider-tests" refid="sunspider-set"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   383
  </target>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   384
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
   385
  <!--- 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
   386
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   387
  <!-- 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
   388
  <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
   389
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
  <target name="sunspider-nashorn" depends="sunspider-init">
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   391
    <java classname="${nashorn.shell.tool}"
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   392
          classpath="${run.test.classpath}"
36764
298caeee3757 8152533: ant octane target fails with "Unable to load a script engine manager (org.apache.bsf.BSFManager or javax.script.ScriptEngineManager)"
sundar
parents: 36697
diff changeset
   393
          fork="true">
20212
5e7711039ab0 8023154: compileAllTests fails with: 2 tests failed to compile
hannesw
parents: 17777
diff changeset
   394
      <jvmarg line="${run.test.jvmargs} -Xmx${run.test.xmx}"/>
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   395
      <arg value="-timezone=PST"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   396
      <arg value="--class-cache-size=50"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   397
      <arg value="${sunspider-test-sys-prop.test.js.framework}"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   398
      <arg value="--"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   399
      <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
   400
      <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
   401
      <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
   402
      <arg value="${sunspider.iterations}"/>
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   403
    </java>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   404
  </target>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   405
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   406
  <!-- run sunspider with v8 -->
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   407
  <target name="sunspider-v8" depends="sunspider-init">
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   408
    <exec executable="${v8.shell}">
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   409
      <arg value="${sunspider-test-sys-prop.test.js.framework}"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   410
      <arg value="--"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   411
      <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
   412
      <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
   413
      <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
   414
      <arg value="${sunspider.iterations}"/>
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   415
    </exec>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   416
  </target>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   417
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   418
  <!-- run sunspider with Rhino -->
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   419
  <target name="sunspider-rhino" depends="sunspider-init">
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   420
    <java jar="${rhino.jar}"
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   421
          classpath="${run.test.classpath}"
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   422
          fork="true"
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   423
          dir=".">
20212
5e7711039ab0 8023154: compileAllTests fails with: 2 tests failed to compile
hannesw
parents: 17777
diff changeset
   424
      <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
   425
      <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
   426
      <arg value="9"/>
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   427
      <arg value="${sunspider-test-sys-prop.test.js.framework}"/>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   428
      <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
   429
      <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
   430
      <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
   431
      <arg value="${sunspider.iterations}"/>
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   432
    </java>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   433
  </target>
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   434
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   435
</project>