package zutil.benchmark; import com.carrotsearch.junitbenchmarks.BenchmarkRule; import org.junit.Rule; import org.junit.Test; public class LoopBenchmark { public static final int TEST_EXECUTIONS = 500; @Rule public BenchmarkRule benchmarkRun = new BenchmarkRule(); private int[] matrix = new int[100_000]; private int[] matrix2 = new int[50_000]; @Test public void oneLoop() { for(int k=0; k