rt/vmtest/src/main/java/org/apidesign/bck2brwsr/vmtest/Compare.java
changeset 1860 4ce38f21f4cd
parent 1787 ea12a3bb4b33
     1.1 --- a/rt/vmtest/src/main/java/org/apidesign/bck2brwsr/vmtest/Compare.java	Tue Feb 24 11:12:53 2015 +0100
     1.2 +++ b/rt/vmtest/src/main/java/org/apidesign/bck2brwsr/vmtest/Compare.java	Tue Jan 26 04:36:23 2016 +0100
     1.3 @@ -42,4 +42,11 @@
     1.4       * @return 
     1.5       */
     1.6      boolean scripting() default true;
     1.7 +
     1.8 +    /** Compare (or not) execution times. If the value is specified and
     1.9 +     * bigger than zero, then the fastest and slowest execution time is
    1.10 +     * compared and if the ratio between them is higher, the compare fails.
    1.11 +     * @return ratio (e.g. 2x, 3x, 3.5x) between execution times
    1.12 +     */
    1.13 +    double slowdown() default -1;
    1.14  }