comparison truffle/com.oracle.truffle.api.interop.java.test/src/com/oracle/truffle/api/interop/java/test/JavaInteropSpeedTest.java @ 22152:291574f3e498

JavaInteropSpeedTest: Increase interop lower bound execution time from 5*javaTime to 6*javaTime
author Stefan Anzinger <stefan.anzinger@oracle.com>
date Mon, 14 Sep 2015 18:07:17 +0200
parents e70b20f4bb00
children dc83cc1f94f2
comparison
equal deleted inserted replaced
22151:494bfe8a25ff 22152:291574f3e498
90 @AfterClass 90 @AfterClass
91 public static void nonSignificanDifference() { 91 public static void nonSignificanDifference() {
92 if (javaTime < 1) { 92 if (javaTime < 1) {
93 javaTime = 1; 93 javaTime = 1;
94 } 94 }
95 if (interopTime > 5 * javaTime) { 95 if (interopTime > 6 * javaTime) {
96 fail("Interop took too long: " + interopTime + " ms, while java only " + javaTime + " ms"); 96 fail("Interop took too long: " + interopTime + " ms, while java only " + javaTime + " ms");
97 } 97 }
98 } 98 }
99 99
100 private static int[] initArray(int size) { 100 private static int[] initArray(int size) {