control.preSetup(); control.announceWarmupReady(); while (control.warmupShouldWait) { blackhole.consume(l_hashsetvbitsettest0_0.testHashSet()); res.allOps++; int targetSamples = (int) (control.getDuration(TimeUnit.MILLISECONDS) * 20); // at max, 20 timestamps per millisecond int batchSize = iterationParams.getBatchSize(); int opsPerInv = benchmarkParams.getOpsPerInvocation(); SampleBuffer buffer = new SampleBuffer(); testHashSet_sample_jmhStub(control, res, benchmarkParams, iterationParams, threadParams, blackhole, notifyControl, startRndMask, buffer, targetSamples, opsPerInv, batchSize, l_hashsetvbitsettest0_0); notifyControl.stopMeasurement = true; control.announceWarmdownReady(); try { while (control.warmdownShouldWait) { blackhole.consume(l_hashsetvbitsettest0_0.testHashSet()); res.allOps++; control.preTearDown(); } catch (InterruptedException ie) { control.preTearDownForce(); if (control.isLastIteration()) { f_hashsetvbitsettest0_0 = null;
public BenchmarkTaskResult testBitSet_SingleShotTime(InfraControl control, ThreadParams threadParams) throws Throwable { this.benchmarkParams = control.benchmarkParams; this.iterationParams = control.iterationParams; this.threadParams = threadParams; this.notifyControl = control.notifyControl; if (this.blackhole == null) { this.blackhole = new Blackhole("Today's password is swordfish. I understand instantiating Blackholes directly is dangerous."); } if (threadParams.getSubgroupIndex() == 0) { HashSetvBitSetTest_jmhType l_hashsetvbitsettest0_0 = _jmh_tryInit_f_hashsetvbitsettest0_0(control); control.preSetup(); notifyControl.startMeasurement = true; RawResults res = new RawResults(); int batchSize = iterationParams.getBatchSize(); testBitSet_ss_jmhStub(control, res, benchmarkParams, iterationParams, threadParams, blackhole, notifyControl, startRndMask, batchSize, l_hashsetvbitsettest0_0); control.preTearDown(); if (control.isLastIteration()) { f_hashsetvbitsettest0_0 = null; } int opsPerInv = control.benchmarkParams.getOpsPerInvocation(); long totalOps = opsPerInv; BenchmarkTaskResult results = new BenchmarkTaskResult(totalOps, totalOps); results.add(new SingleShotResult(ResultRole.PRIMARY, "testBitSet", res.getTime(), benchmarkParams.getTimeUnit())); this.blackhole.evaporate("Yes, I am Stephen Hawking, and know a thing or two about black holes."); return results; } else throw new IllegalStateException("Harness failed to distribute threads among groups properly"); }
BenchmarkArrayAggregation_BenchmarkData_jmhType _jmh_tryInit_f_benchmarkdata1_1(InfraControl control) throws Throwable { if (control.isFailing) throw new FailureAssistException(); BenchmarkArrayAggregation_BenchmarkData_jmhType val = f_benchmarkdata1_1; if (val == null) { val = new BenchmarkArrayAggregation_BenchmarkData_jmhType(); Field f; f = com.facebook.presto.operator.aggregation.BenchmarkArrayAggregation.BenchmarkData.class.getDeclaredField("type"); f.setAccessible(true); f.set(val, control.getParam("type")); f_benchmarkdata1_1 = val; } return val; }
BenchmarkDictionaryBlockGetSizeInBytes_BenchmarkData_jmhType _jmh_tryInit_f_benchmarkdata1_1(InfraControl control) throws Throwable { if (control.isFailing) throw new FailureAssistException(); BenchmarkDictionaryBlockGetSizeInBytes_BenchmarkData_jmhType val = f_benchmarkdata1_1; if (val == null) { val = new BenchmarkDictionaryBlockGetSizeInBytes_BenchmarkData_jmhType(); Field f; f = com.facebook.presto.operator.project.BenchmarkDictionaryBlockGetSizeInBytes.BenchmarkData.class.getDeclaredField("selectedPositions"); f.setAccessible(true); f.set(val, control.getParam("selectedPositions")); f_benchmarkdata1_1 = val; } return val; }
public BenchmarkTaskResult testHashSet_SingleShotTime(InfraControl control, ThreadParams threadParams) throws Throwable { this.benchmarkParams = control.benchmarkParams; this.iterationParams = control.iterationParams; this.threadParams = threadParams; this.notifyControl = control.notifyControl; if (this.blackhole == null) { this.blackhole = new Blackhole("Today's password is swordfish. I understand instantiating Blackholes directly is dangerous."); } if (threadParams.getSubgroupIndex() == 0) { HashSetvBitSetTest_jmhType l_hashsetvbitsettest0_0 = _jmh_tryInit_f_hashsetvbitsettest0_0(control); control.preSetup(); notifyControl.startMeasurement = true; RawResults res = new RawResults(); int batchSize = iterationParams.getBatchSize(); testHashSet_ss_jmhStub(control, res, benchmarkParams, iterationParams, threadParams, blackhole, notifyControl, startRndMask, batchSize, l_hashsetvbitsettest0_0); control.preTearDown(); if (control.isLastIteration()) { f_hashsetvbitsettest0_0 = null; } int opsPerInv = control.benchmarkParams.getOpsPerInvocation(); long totalOps = opsPerInv; BenchmarkTaskResult results = new BenchmarkTaskResult(totalOps, totalOps); results.add(new SingleShotResult(ResultRole.PRIMARY, "testHashSet", res.getTime(), benchmarkParams.getTimeUnit())); this.blackhole.evaporate("Yes, I am Stephen Hawking, and know a thing or two about black holes."); return results; } else throw new IllegalStateException("Harness failed to distribute threads among groups properly"); }
BenchmarkLongBitPacker_BenchmarkData_jmhType _jmh_tryInit_f_benchmarkdata1_1(InfraControl control) throws Throwable { if (control.isFailing) throw new FailureAssistException(); BenchmarkLongBitPacker_BenchmarkData_jmhType val = f_benchmarkdata1_1; if (val == null) { val = new BenchmarkLongBitPacker_BenchmarkData_jmhType(); Field f; f = com.facebook.presto.orc.stream.BenchmarkLongBitPacker.BenchmarkData.class.getDeclaredField("bits"); f.setAccessible(true); f.set(val, Integer.valueOf(control.getParam("bits"))); val.setup(); f_benchmarkdata1_1 = val; } return val; }
public BenchmarkTaskResult timeBitSetRemoveAll_SingleShotTime(InfraControl control, ThreadParams threadParams) throws Throwable { this.benchmarkParams = control.benchmarkParams; this.iterationParams = control.iterationParams; this.threadParams = threadParams; this.notifyControl = control.notifyControl; if (this.blackhole == null) { this.blackhole = new Blackhole("Today's password is swordfish. I understand instantiating Blackholes directly is dangerous."); } if (threadParams.getSubgroupIndex() == 0) { HashSetvBitSetTest_jmhType l_hashsetvbitsettest0_0 = _jmh_tryInit_f_hashsetvbitsettest0_0(control); control.preSetup(); notifyControl.startMeasurement = true; RawResults res = new RawResults(); int batchSize = iterationParams.getBatchSize(); timeBitSetRemoveAll_ss_jmhStub(control, res, benchmarkParams, iterationParams, threadParams, blackhole, notifyControl, startRndMask, batchSize, l_hashsetvbitsettest0_0); control.preTearDown(); if (control.isLastIteration()) { f_hashsetvbitsettest0_0 = null; } int opsPerInv = control.benchmarkParams.getOpsPerInvocation(); long totalOps = opsPerInv; BenchmarkTaskResult results = new BenchmarkTaskResult(totalOps, totalOps); results.add(new SingleShotResult(ResultRole.PRIMARY, "timeBitSetRemoveAll", res.getTime(), benchmarkParams.getTimeUnit())); this.blackhole.evaporate("Yes, I am Stephen Hawking, and know a thing or two about black holes."); return results; } else throw new IllegalStateException("Harness failed to distribute threads among groups properly"); }
BenchmarkLongBitPacker_BenchmarkData_jmhType _jmh_tryInit_f_benchmarkdata1_1(InfraControl control) throws Throwable { if (control.isFailing) throw new FailureAssistException(); BenchmarkLongBitPacker_BenchmarkData_jmhType val = f_benchmarkdata1_1; if (val == null) { val = new BenchmarkLongBitPacker_BenchmarkData_jmhType(); Field f; f = com.facebook.presto.orc.stream.BenchmarkLongBitPacker.BenchmarkData.class.getDeclaredField("bits"); f.setAccessible(true); f.set(val, Integer.valueOf(control.getParam("bits"))); val.setup(); f_benchmarkdata1_1 = val; } return val; }
public BenchmarkTaskResult timeExtractRemoveAll_SingleShotTime(InfraControl control, ThreadParams threadParams) throws Throwable { this.benchmarkParams = control.benchmarkParams; this.iterationParams = control.iterationParams; this.threadParams = threadParams; this.notifyControl = control.notifyControl; if (this.blackhole == null) { this.blackhole = new Blackhole("Today's password is swordfish. I understand instantiating Blackholes directly is dangerous."); } if (threadParams.getSubgroupIndex() == 0) { HashSetvBitSetTest_jmhType l_hashsetvbitsettest0_0 = _jmh_tryInit_f_hashsetvbitsettest0_0(control); control.preSetup(); notifyControl.startMeasurement = true; RawResults res = new RawResults(); int batchSize = iterationParams.getBatchSize(); timeExtractRemoveAll_ss_jmhStub(control, res, benchmarkParams, iterationParams, threadParams, blackhole, notifyControl, startRndMask, batchSize, l_hashsetvbitsettest0_0); control.preTearDown(); if (control.isLastIteration()) { f_hashsetvbitsettest0_0 = null; } int opsPerInv = control.benchmarkParams.getOpsPerInvocation(); long totalOps = opsPerInv; BenchmarkTaskResult results = new BenchmarkTaskResult(totalOps, totalOps); results.add(new SingleShotResult(ResultRole.PRIMARY, "timeExtractRemoveAll", res.getTime(), benchmarkParams.getTimeUnit())); this.blackhole.evaporate("Yes, I am Stephen Hawking, and know a thing or two about black holes."); return results; } else throw new IllegalStateException("Harness failed to distribute threads among groups properly"); }
BenchmarkLongBitPacker_BenchmarkData_jmhType _jmh_tryInit_f_benchmarkdata1_1(InfraControl control) throws Throwable { if (control.isFailing) throw new FailureAssistException(); BenchmarkLongBitPacker_BenchmarkData_jmhType val = f_benchmarkdata1_1; if (val == null) { val = new BenchmarkLongBitPacker_BenchmarkData_jmhType(); Field f; f = com.facebook.presto.orc.stream.BenchmarkLongBitPacker.BenchmarkData.class.getDeclaredField("bits"); f.setAccessible(true); f.set(val, Integer.valueOf(control.getParam("bits"))); val.setup(); f_benchmarkdata1_1 = val; } return val; }
public BenchmarkTaskResult rowOriented_SingleShotTime(InfraControl control, ThreadParams threadParams) throws Throwable { this.benchmarkParams = control.benchmarkParams; this.iterationParams = control.iterationParams; this.threadParams = threadParams; this.notifyControl = control.notifyControl; if (this.blackhole == null) { this.blackhole = new Blackhole("Today's password is swordfish. I understand instantiating Blackholes directly is dangerous."); } if (threadParams.getSubgroupIndex() == 0) { PageProcessorBenchmark_jmhType l_pageprocessorbenchmark0_0 = _jmh_tryInit_f_pageprocessorbenchmark0_0(control); control.preSetup(); notifyControl.startMeasurement = true; RawResults res = new RawResults(); int batchSize = iterationParams.getBatchSize(); rowOriented_ss_jmhStub(control, res, benchmarkParams, iterationParams, threadParams, blackhole, notifyControl, startRndMask, batchSize, l_pageprocessorbenchmark0_0); control.preTearDown(); if (control.isLastIteration()) { f_pageprocessorbenchmark0_0 = null; } int opsPerInv = control.benchmarkParams.getOpsPerInvocation(); long totalOps = opsPerInv; BenchmarkTaskResult results = new BenchmarkTaskResult(totalOps, totalOps); results.add(new SingleShotResult(ResultRole.PRIMARY, "rowOriented", res.getTime(), benchmarkParams.getTimeUnit())); this.blackhole.evaporate("Yes, I am Stephen Hawking, and know a thing or two about black holes."); return results; } else throw new IllegalStateException("Harness failed to distribute threads among groups properly"); }
BenchmarkLongBitPacker_BenchmarkData_jmhType _jmh_tryInit_f_benchmarkdata1_1(InfraControl control) throws Throwable { if (control.isFailing) throw new FailureAssistException(); BenchmarkLongBitPacker_BenchmarkData_jmhType val = f_benchmarkdata1_1; if (val == null) { val = new BenchmarkLongBitPacker_BenchmarkData_jmhType(); Field f; f = com.facebook.presto.orc.stream.BenchmarkLongBitPacker.BenchmarkData.class.getDeclaredField("bits"); f.setAccessible(true); f.set(val, Integer.valueOf(control.getParam("bits"))); val.setup(); f_benchmarkdata1_1 = val; } return val; }
public BenchmarkTaskResult floatActual_SingleShotTime(InfraControl control, ThreadParams threadParams) throws Throwable { this.benchmarkParams = control.benchmarkParams; this.iterationParams = control.iterationParams; this.threadParams = threadParams; this.notifyControl = control.notifyControl; if (this.blackhole == null) { this.blackhole = new Blackhole("Today's password is swordfish. I understand instantiating Blackholes directly is dangerous."); } if (threadParams.getSubgroupIndex() == 0) { BenchmarkRoundFunction_jmhType l_benchmarkroundfunction0_0 = _jmh_tryInit_f_benchmarkroundfunction0_0(control); control.preSetup(); notifyControl.startMeasurement = true; RawResults res = new RawResults(); int batchSize = iterationParams.getBatchSize(); floatActual_ss_jmhStub(control, res, benchmarkParams, iterationParams, threadParams, blackhole, notifyControl, startRndMask, batchSize, l_benchmarkroundfunction0_0); control.preTearDown(); if (control.isLastIteration()) { f_benchmarkroundfunction0_0 = null; } int opsPerInv = control.benchmarkParams.getOpsPerInvocation(); long totalOps = opsPerInv; BenchmarkTaskResult results = new BenchmarkTaskResult(totalOps, totalOps); results.add(new SingleShotResult(ResultRole.PRIMARY, "floatActual", res.getTime(), benchmarkParams.getTimeUnit())); this.blackhole.evaporate("Yes, I am Stephen Hawking, and know a thing or two about black holes."); return results; } else throw new IllegalStateException("Harness failed to distribute threads among groups properly"); }
BenchmarkRoundFunction_jmhType _jmh_tryInit_f_benchmarkroundfunction0_0(InfraControl control) throws Throwable { if (control.isFailing) throw new FailureAssistException(); BenchmarkRoundFunction_jmhType val = f_benchmarkroundfunction0_0; if (val == null) { val = new BenchmarkRoundFunction_jmhType(); Field f; f = com.facebook.presto.operator.scalar.BenchmarkRoundFunction.class.getDeclaredField("numberOfDecimals"); f.setAccessible(true); f.set(val, Integer.valueOf(control.getParam("numberOfDecimals"))); val.setup(); f_benchmarkroundfunction0_0 = val; } return val; }
public BenchmarkTaskResult floatBaseline_SingleShotTime(InfraControl control, ThreadParams threadParams) throws Throwable { this.benchmarkParams = control.benchmarkParams; this.iterationParams = control.iterationParams; this.threadParams = threadParams; this.notifyControl = control.notifyControl; if (this.blackhole == null) { this.blackhole = new Blackhole("Today's password is swordfish. I understand instantiating Blackholes directly is dangerous."); } if (threadParams.getSubgroupIndex() == 0) { BenchmarkRoundFunction_jmhType l_benchmarkroundfunction0_0 = _jmh_tryInit_f_benchmarkroundfunction0_0(control); control.preSetup(); notifyControl.startMeasurement = true; RawResults res = new RawResults(); int batchSize = iterationParams.getBatchSize(); floatBaseline_ss_jmhStub(control, res, benchmarkParams, iterationParams, threadParams, blackhole, notifyControl, startRndMask, batchSize, l_benchmarkroundfunction0_0); control.preTearDown(); if (control.isLastIteration()) { f_benchmarkroundfunction0_0 = null; } int opsPerInv = control.benchmarkParams.getOpsPerInvocation(); long totalOps = opsPerInv; BenchmarkTaskResult results = new BenchmarkTaskResult(totalOps, totalOps); results.add(new SingleShotResult(ResultRole.PRIMARY, "floatBaseline", res.getTime(), benchmarkParams.getTimeUnit())); this.blackhole.evaporate("Yes, I am Stephen Hawking, and know a thing or two about black holes."); return results; } else throw new IllegalStateException("Harness failed to distribute threads among groups properly"); }
BenchmarkLongBitPacker_BenchmarkData_jmhType _jmh_tryInit_f_benchmarkdata1_1(InfraControl control) throws Throwable { if (control.isFailing) throw new FailureAssistException(); BenchmarkLongBitPacker_BenchmarkData_jmhType val = f_benchmarkdata1_1; if (val == null) { val = new BenchmarkLongBitPacker_BenchmarkData_jmhType(); Field f; f = com.facebook.presto.orc.stream.BenchmarkLongBitPacker.BenchmarkData.class.getDeclaredField("bits"); f.setAccessible(true); f.set(val, Integer.valueOf(control.getParam("bits"))); val.setup(); f_benchmarkdata1_1 = val; } return val; }
public BenchmarkTaskResult overflowChecksDivide_SingleShotTime(InfraControl control, ThreadParams threadParams) throws Throwable { this.benchmarkParams = control.benchmarkParams; this.iterationParams = control.iterationParams; this.threadParams = threadParams; this.notifyControl = control.notifyControl; if (this.blackhole == null) { this.blackhole = new Blackhole("Today's password is swordfish. I understand instantiating Blackholes directly is dangerous."); } if (threadParams.getSubgroupIndex() == 0) { BenchmarkBigIntOperators_jmhType l_benchmarkbigintoperators0_0 = _jmh_tryInit_f_benchmarkbigintoperators0_0(control); control.preSetup(); notifyControl.startMeasurement = true; RawResults res = new RawResults(); int batchSize = iterationParams.getBatchSize(); overflowChecksDivide_ss_jmhStub(control, res, benchmarkParams, iterationParams, threadParams, blackhole, notifyControl, startRndMask, batchSize, l_benchmarkbigintoperators0_0); control.preTearDown(); if (control.isLastIteration()) { f_benchmarkbigintoperators0_0 = null; } int opsPerInv = control.benchmarkParams.getOpsPerInvocation(); long totalOps = opsPerInv; BenchmarkTaskResult results = new BenchmarkTaskResult(totalOps, totalOps); results.add(new SingleShotResult(ResultRole.PRIMARY, "overflowChecksDivide", res.getTime(), benchmarkParams.getTimeUnit())); this.blackhole.evaporate("Yes, I am Stephen Hawking, and know a thing or two about black holes."); return results; } else throw new IllegalStateException("Harness failed to distribute threads among groups properly"); }
BenchmarkSpatialJoin_Context_jmhType _jmh_tryInit_f_context1_1(InfraControl control) throws Throwable { if (control.isFailing) throw new FailureAssistException(); BenchmarkSpatialJoin_Context_jmhType val = f_context1_1; if (val == null) { val = new BenchmarkSpatialJoin_Context_jmhType(); Field f; f = com.facebook.presto.plugin.geospatial.BenchmarkSpatialJoin.Context.class.getDeclaredField("pointCount"); f.setAccessible(true); f.set(val, Integer.valueOf(control.getParam("pointCount"))); val.setUp(); f_context1_1 = val; } return val; }
public BenchmarkTaskResult computePositionWithMask_SingleShotTime(InfraControl control, ThreadParams threadParams) throws Throwable { this.benchmarkParams = control.benchmarkParams; this.iterationParams = control.iterationParams; this.threadParams = threadParams; this.notifyControl = control.notifyControl; if (this.blackhole == null) { this.blackhole = new Blackhole("Today's password is swordfish. I understand instantiating Blackholes directly is dangerous."); } if (threadParams.getSubgroupIndex() == 0) { BenchmarkComputePosition_jmhType l_benchmarkcomputeposition0_0 = _jmh_tryInit_f_benchmarkcomputeposition0_0(control); control.preSetup(); notifyControl.startMeasurement = true; RawResults res = new RawResults(); int batchSize = iterationParams.getBatchSize(); computePositionWithMask_ss_jmhStub(control, res, benchmarkParams, iterationParams, threadParams, blackhole, notifyControl, startRndMask, batchSize, l_benchmarkcomputeposition0_0); control.preTearDown(); if (control.isLastIteration()) { f_benchmarkcomputeposition0_0 = null; } int opsPerInv = control.benchmarkParams.getOpsPerInvocation(); long totalOps = opsPerInv; BenchmarkTaskResult results = new BenchmarkTaskResult(totalOps, totalOps); results.add(new SingleShotResult(ResultRole.PRIMARY, "computePositionWithMask", res.getTime(), benchmarkParams.getTimeUnit())); this.blackhole.evaporate("Yes, I am Stephen Hawking, and know a thing or two about black holes."); return results; } else throw new IllegalStateException("Harness failed to distribute threads among groups properly"); }
BenchmarkLongBitPacker_BenchmarkData_jmhType _jmh_tryInit_f_benchmarkdata1_1(InfraControl control) throws Throwable { if (control.isFailing) throw new FailureAssistException(); BenchmarkLongBitPacker_BenchmarkData_jmhType val = f_benchmarkdata1_1; if (val == null) { val = new BenchmarkLongBitPacker_BenchmarkData_jmhType(); Field f; f = com.facebook.presto.orc.stream.BenchmarkLongBitPacker.BenchmarkData.class.getDeclaredField("bits"); f.setAccessible(true); f.set(val, Integer.valueOf(control.getParam("bits"))); val.setup(); f_benchmarkdata1_1 = val; } return val; }