Changeset 1a49309


Ignore:
Timestamp:
Sep 8, 2017 11:24:36 AM (3 years ago)
Author:
str4d <str4d@…>
Branches:
master
Children:
9e2bd4a
Parents:
3d24cc9
Message:

Add usage info to benchmark script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/scripts/benchmark.sh

    r3d24cc9 r1a49309  
    11#!/bin/sh
     2
     3#
     4# Benchmark runner
     5#
     6# Usage: benchmark.sh [--jbigi] [JMH_ARGS]
     7#
     8# To use:
     9# 1) Set jmh.home in override.properties to a folder containing:
     10#    - jmh-core.jar
     11#    - jmh-generator-annprocess.jar
     12#    - jopt-simple.jar
     13#    - commons-math3.jar
     14#    Fetch these from Maven Central. Tested using JMH 1.19 which requires
     15#    jopt-simple 4.6 and commons-math3 3.2.
     16# 2) Compile the benchmarks with "ant bench".
     17# 3) Run the benchmarks:
     18#    - To see underlying JMH options:
     19#      - ./benchmark.sh -h
     20#    - To run the benchmarks in pure-Java mode:
     21#      - ./benchmark.sh
     22#    - To run the benchmarks with jbigi.jar in the classpath:
     23#      - ./benchmark.sh --jbigi
     24#    - To run the benchmarks with a different JVM:
     25#      - JAVA=/path/to/java ./benchmarks/benchmark.sh
     26#
    227
    328CWD=$(dirname "$0")
Note: See TracChangeset for help on using the changeset viewer.