Mercurial > hg > truffle
comparison truffle/com.oracle.truffle.api.interop.java.test/src/com/oracle/truffle/api/interop/java/test/JavaInteropSpeedTest.java @ 22157:dc83cc1f94f2
Using fully qualified imports
author | Jaroslav Tulach <jaroslav.tulach@oracle.com> |
---|---|
date | Wed, 16 Sep 2015 11:33:22 +0200 |
parents | 291574f3e498 |
children | 14e6dfb1ef05 |
comparison
equal
deleted
inserted
replaced
22156:50056a161d7f | 22157:dc83cc1f94f2 |
---|---|
26 | 26 |
27 import com.oracle.truffle.api.interop.TruffleObject; | 27 import com.oracle.truffle.api.interop.TruffleObject; |
28 import com.oracle.truffle.api.interop.java.JavaInterop; | 28 import com.oracle.truffle.api.interop.java.JavaInterop; |
29 import java.util.Random; | 29 import java.util.Random; |
30 import org.junit.AfterClass; | 30 import org.junit.AfterClass; |
31 import static org.junit.Assert.assertEquals; | |
32 import static org.junit.Assert.fail; | |
31 import org.junit.BeforeClass; | 33 import org.junit.BeforeClass; |
32 import org.junit.Test; | 34 import org.junit.Test; |
33 import static org.junit.Assert.assertEquals; | |
34 import static org.junit.Assert.fail; | |
35 | 35 |
36 public class JavaInteropSpeedTest { | 36 public class JavaInteropSpeedTest { |
37 private static final int REPEAT = 10000; | 37 private static final int REPEAT = 10000; |
38 private static int[] arr; | 38 private static int[] arr; |
39 private static long javaTime; | 39 private static long javaTime; |