Aexyn / caliper

Automatically exported from code.google.com/p/caliper
Apache License 2.0
0 stars 0 forks source link

Factorial example fails #304

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
1. Reproduced the Factorial example
2. Run:
mvn exec:java  -Dexec.mainClass="com.google.caliper.runner.CaliperMain" 
-Dexec.args="benchmark.FactorialBenchmark"

All experiments fail with:

[INFO] Scanning for projects...
[INFO]
[INFO] Using the builder 
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder
 with a thread count of 1
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Benchmark 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- exec-maven-plugin:1.3.2:java (default-cli) @ benchmark ---
[WARNING] Warning: killAfter is now deprecated. Do you need it ? Please comment 
on MEXEC-6.
Experiment selection:
  Instruments:   [allocation, runtime]
  User parameters:   {number=[5, 10, 20]}
  Virtual machines:  [default]
  Selection type:    Full cartesian product

This selection yields 12 experiments.
Starting trial 1 of 12: {instrument=allocation, benchmarkMethod=iterative, 
vm=default, parameters={number=5}}à ERROR: Trial failed to complete (its 
results will not be included in the run):
...

Windows 7-64 / latest master 

Original issue reported on code.google.com by soro...@gmail.com on 17 Nov 2014 at 11:17

GoogleCodeExporter commented 9 years ago
Same issue when invoking with 
>java -cp 
<path-to-jar>\caliper-1.0-beta-SNAPSHOT-all.jar;<path-to-benchmark>\classes 
com.google.caliper.runner.CaliperMain benchmark.FactorialBenchmark

Java version is: "1.7.0_71"

Original comment by soro...@gmail.com on 17 Nov 2014 at 11:30

GoogleCodeExporter commented 9 years ago
attached stdout when run in  eclipse from

 public static void main(String[] args) {
    CaliperMain.main(
        FactorialBenchmark.class,
            new String[]{"-i", "runtime" }
        );
    } 

Original comment by soro...@gmail.com on 17 Nov 2014 at 12:55

Attachments: