The following document contains the results of PMD's CPD 6.55.0.
File | Line |
---|---|
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 123 |
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 331 |
testDataRevQueue_thrpt_jmhStub(control, res, benchmarkParams, iterationParams, threadParams, blackhole, notifyControl, startRndMask, l_benchmarkstate1_G, l_daterevqueuebenchmark0_0); notifyControl.stopMeasurement = true; control.announceWarmdownReady(); try { while (control.warmdownShouldWait) { if (DateRevQueueBenchmark_BenchmarkState_jmhType.setupInvocationMutexUpdater.compareAndSet(l_benchmarkstate1_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); if (!l_benchmarkstate1_G.readyInvocation) { l_benchmarkstate1_G.readyInvocation = true; } } catch (Throwable t) { control.isFailing = true; throw t; } finally { DateRevQueueBenchmark_BenchmarkState_jmhType.setupInvocationMutexUpdater.set(l_benchmarkstate1_G, 0); } } else { while (DateRevQueueBenchmark_BenchmarkState_jmhType.setupInvocationMutexUpdater.get(l_benchmarkstate1_G) == 1) { if (control.isFailing) throw new FailureAssistException(); if (Thread.interrupted()) throw new InterruptedException(); } } l_daterevqueuebenchmark0_0.testDataRevQueue(l_benchmarkstate1_G); if (DateRevQueueBenchmark_BenchmarkState_jmhType.tearInvocationMutexUpdater.compareAndSet(l_benchmarkstate1_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); if (l_benchmarkstate1_G.readyInvocation) { l_benchmarkstate1_G.check(); l_benchmarkstate1_G.readyInvocation = false; } } catch (Throwable t) { control.isFailing = true; throw t; } finally { DateRevQueueBenchmark_BenchmarkState_jmhType.tearInvocationMutexUpdater.set(l_benchmarkstate1_G, 0); } } else { while (DateRevQueueBenchmark_BenchmarkState_jmhType.tearInvocationMutexUpdater.get(l_benchmarkstate1_G) == 1) { if (control.isFailing) throw new FailureAssistException(); if (Thread.interrupted()) throw new InterruptedException(); } } if (control.shouldYield) Thread.yield(); res.allOps++; } } catch (Throwable e) { if (!(e instanceof InterruptedException)) throw e; } control.preTearDown(); if (control.isLastIteration()) { if (DateRevQueueBenchmark_BenchmarkState_jmhType.tearTrialMutexUpdater.compareAndSet(l_benchmarkstate1_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); if (l_benchmarkstate1_G.readyTrial) { l_benchmarkstate1_G.teardown(); l_benchmarkstate1_G.readyTrial = false; } } catch (Throwable t) { control.isFailing = true; throw t; } finally { DateRevQueueBenchmark_BenchmarkState_jmhType.tearTrialMutexUpdater.set(l_benchmarkstate1_G, 0); } } else { long l_benchmarkstate1_G_backoff = 1; while (DateRevQueueBenchmark_BenchmarkState_jmhType.tearTrialMutexUpdater.get(l_benchmarkstate1_G) == 1) { TimeUnit.MILLISECONDS.sleep(l_benchmarkstate1_G_backoff); l_benchmarkstate1_G_backoff = Math.max(1024, l_benchmarkstate1_G_backoff * 2); if (control.isFailing) throw new FailureAssistException(); if (Thread.interrupted()) throw new InterruptedException(); } } synchronized(this.getClass()) { f_benchmarkstate1_G = null; } f_daterevqueuebenchmark0_0 = null; } res.allOps += res.measuredOps; int batchSize = iterationParams.getBatchSize(); int opsPerInv = benchmarkParams.getOpsPerInvocation(); res.allOps *= opsPerInv; res.allOps /= batchSize; res.measuredOps *= opsPerInv; res.measuredOps /= batchSize; BenchmarkTaskResult results = new BenchmarkTaskResult((long)res.allOps, (long)res.measuredOps); results.add(new ThroughputResult(ResultRole.PRIMARY, "testDataRevQueue", res.measuredOps, res.getTime(), benchmarkParams.getTimeUnit())); |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/CreateFileSnapshotBenchmark_testCreateFileSnapshot_jmhTest.java | 36 |
org/eclipse/jgit/benchmarks/jmh_generated/CreateFileSnapshotBenchmark_testCreateFile_jmhTest.java | 36 |
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToExistingDirExists_jmhTest.java | 36 |
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToExistingDir_jmhTest.java | 36 |
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToMissingDirExists_jmhTest.java | 36 |
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToMissingDir_jmhTest.java | 36 |
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetExactRef_jmhTest.java | 37 |
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetRefsByPrefix_jmhTest.java | 37 |
org/eclipse/jgit/benchmarks/jmh_generated/LookupFileStoreBenchmark_testLookupFileStore_jmhTest.java | 36 |
org/eclipse/jgit/benchmarks/jmh_generated/SHA1Benchmark_testSHA1_jmhTest.java | 37 |
org/eclipse/jgit/benchmarks/jmh_generated/SimpleLruCacheBenchmark_readwrite_jmhTest.java | 36 |
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 37 |
public final class CreateFileSnapshotBenchmark_testCreateFileSnapshot_jmhTest { byte p000, p001, p002, p003, p004, p005, p006, p007, p008, p009, p010, p011, p012, p013, p014, p015; byte p016, p017, p018, p019, p020, p021, p022, p023, p024, p025, p026, p027, p028, p029, p030, p031; byte p032, p033, p034, p035, p036, p037, p038, p039, p040, p041, p042, p043, p044, p045, p046, p047; byte p048, p049, p050, p051, p052, p053, p054, p055, p056, p057, p058, p059, p060, p061, p062, p063; byte p064, p065, p066, p067, p068, p069, p070, p071, p072, p073, p074, p075, p076, p077, p078, p079; byte p080, p081, p082, p083, p084, p085, p086, p087, p088, p089, p090, p091, p092, p093, p094, p095; byte p096, p097, p098, p099, p100, p101, p102, p103, p104, p105, p106, p107, p108, p109, p110, p111; byte p112, p113, p114, p115, p116, p117, p118, p119, p120, p121, p122, p123, p124, p125, p126, p127; byte p128, p129, p130, p131, p132, p133, p134, p135, p136, p137, p138, p139, p140, p141, p142, p143; byte p144, p145, p146, p147, p148, p149, p150, p151, p152, p153, p154, p155, p156, p157, p158, p159; byte p160, p161, p162, p163, p164, p165, p166, p167, p168, p169, p170, p171, p172, p173, p174, p175; byte p176, p177, p178, p179, p180, p181, p182, p183, p184, p185, p186, p187, p188, p189, p190, p191; byte p192, p193, p194, p195, p196, p197, p198, p199, p200, p201, p202, p203, p204, p205, p206, p207; byte p208, p209, p210, p211, p212, p213, p214, p215, p216, p217, p218, p219, p220, p221, p222, p223; byte p224, p225, p226, p227, p228, p229, p230, p231, p232, p233, p234, p235, p236, p237, p238, p239; byte p240, p241, p242, p243, p244, p245, p246, p247, p248, p249, p250, p251, p252, p253, p254, p255; int startRndMask; BenchmarkParams benchmarkParams; IterationParams iterationParams; ThreadParams threadParams; Blackhole blackhole; Control notifyControl; public BenchmarkTaskResult testCreateFileSnapshot_Throughput(InfraControl control, ThreadParams threadParams) throws Throwable { |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_BenchmarkState_jmhType_B1.java | 3 |
org/eclipse/jgit/benchmarks/jmh_generated/SHA1Benchmark_BenchmarkState_jmhType_B1.java | 3 |
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_BenchmarkState_jmhType_B1.java | 3 |
public class GetRefsBenchmark_BenchmarkState_jmhType_B1 extends org.eclipse.jgit.benchmarks.GetRefsBenchmark.BenchmarkState { byte b1_000, b1_001, b1_002, b1_003, b1_004, b1_005, b1_006, b1_007, b1_008, b1_009, b1_010, b1_011, b1_012, b1_013, b1_014, b1_015; byte b1_016, b1_017, b1_018, b1_019, b1_020, b1_021, b1_022, b1_023, b1_024, b1_025, b1_026, b1_027, b1_028, b1_029, b1_030, b1_031; byte b1_032, b1_033, b1_034, b1_035, b1_036, b1_037, b1_038, b1_039, b1_040, b1_041, b1_042, b1_043, b1_044, b1_045, b1_046, b1_047; byte b1_048, b1_049, b1_050, b1_051, b1_052, b1_053, b1_054, b1_055, b1_056, b1_057, b1_058, b1_059, b1_060, b1_061, b1_062, b1_063; byte b1_064, b1_065, b1_066, b1_067, b1_068, b1_069, b1_070, b1_071, b1_072, b1_073, b1_074, b1_075, b1_076, b1_077, b1_078, b1_079; byte b1_080, b1_081, b1_082, b1_083, b1_084, b1_085, b1_086, b1_087, b1_088, b1_089, b1_090, b1_091, b1_092, b1_093, b1_094, b1_095; byte b1_096, b1_097, b1_098, b1_099, b1_100, b1_101, b1_102, b1_103, b1_104, b1_105, b1_106, b1_107, b1_108, b1_109, b1_110, b1_111; byte b1_112, b1_113, b1_114, b1_115, b1_116, b1_117, b1_118, b1_119, b1_120, b1_121, b1_122, b1_123, b1_124, b1_125, b1_126, b1_127; byte b1_128, b1_129, b1_130, b1_131, b1_132, b1_133, b1_134, b1_135, b1_136, b1_137, b1_138, b1_139, b1_140, b1_141, b1_142, b1_143; byte b1_144, b1_145, b1_146, b1_147, b1_148, b1_149, b1_150, b1_151, b1_152, b1_153, b1_154, b1_155, b1_156, b1_157, b1_158, b1_159; byte b1_160, b1_161, b1_162, b1_163, b1_164, b1_165, b1_166, b1_167, b1_168, b1_169, b1_170, b1_171, b1_172, b1_173, b1_174, b1_175; byte b1_176, b1_177, b1_178, b1_179, b1_180, b1_181, b1_182, b1_183, b1_184, b1_185, b1_186, b1_187, b1_188, b1_189, b1_190, b1_191; byte b1_192, b1_193, b1_194, b1_195, b1_196, b1_197, b1_198, b1_199, b1_200, b1_201, b1_202, b1_203, b1_204, b1_205, b1_206, b1_207; byte b1_208, b1_209, b1_210, b1_211, b1_212, b1_213, b1_214, b1_215, b1_216, b1_217, b1_218, b1_219, b1_220, b1_221, b1_222, b1_223; byte b1_224, b1_225, b1_226, b1_227, b1_228, b1_229, b1_230, b1_231, b1_232, b1_233, b1_234, b1_235, b1_236, b1_237, b1_238, b1_239; byte b1_240, b1_241, b1_242, b1_243, b1_244, b1_245, b1_246, b1_247, b1_248, b1_249, b1_250, b1_251, b1_252, b1_253, b1_254, b1_255; } |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/CreateFileSnapshotBenchmark_jmhType_B1.java | 3 |
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_jmhType_B1.java | 3 |
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_BenchmarkState_jmhType_B1.java | 3 |
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_jmhType_B1.java | 3 |
org/eclipse/jgit/benchmarks/jmh_generated/LookupFileStoreBenchmark_jmhType_B1.java | 3 |
org/eclipse/jgit/benchmarks/jmh_generated/SHA1Benchmark_BenchmarkState_jmhType_B1.java | 3 |
org/eclipse/jgit/benchmarks/jmh_generated/SHA1Benchmark_jmhType_B1.java | 3 |
org/eclipse/jgit/benchmarks/jmh_generated/SimpleLruCacheBenchmark_jmhType_B1.java | 3 |
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_BenchmarkState_jmhType_B1.java | 3 |
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_jmhType_B1.java | 3 |
public class CreateFileSnapshotBenchmark_jmhType_B1 extends org.eclipse.jgit.benchmarks.CreateFileSnapshotBenchmark { byte b1_000, b1_001, b1_002, b1_003, b1_004, b1_005, b1_006, b1_007, b1_008, b1_009, b1_010, b1_011, b1_012, b1_013, b1_014, b1_015; byte b1_016, b1_017, b1_018, b1_019, b1_020, b1_021, b1_022, b1_023, b1_024, b1_025, b1_026, b1_027, b1_028, b1_029, b1_030, b1_031; byte b1_032, b1_033, b1_034, b1_035, b1_036, b1_037, b1_038, b1_039, b1_040, b1_041, b1_042, b1_043, b1_044, b1_045, b1_046, b1_047; byte b1_048, b1_049, b1_050, b1_051, b1_052, b1_053, b1_054, b1_055, b1_056, b1_057, b1_058, b1_059, b1_060, b1_061, b1_062, b1_063; byte b1_064, b1_065, b1_066, b1_067, b1_068, b1_069, b1_070, b1_071, b1_072, b1_073, b1_074, b1_075, b1_076, b1_077, b1_078, b1_079; byte b1_080, b1_081, b1_082, b1_083, b1_084, b1_085, b1_086, b1_087, b1_088, b1_089, b1_090, b1_091, b1_092, b1_093, b1_094, b1_095; byte b1_096, b1_097, b1_098, b1_099, b1_100, b1_101, b1_102, b1_103, b1_104, b1_105, b1_106, b1_107, b1_108, b1_109, b1_110, b1_111; byte b1_112, b1_113, b1_114, b1_115, b1_116, b1_117, b1_118, b1_119, b1_120, b1_121, b1_122, b1_123, b1_124, b1_125, b1_126, b1_127; byte b1_128, b1_129, b1_130, b1_131, b1_132, b1_133, b1_134, b1_135, b1_136, b1_137, b1_138, b1_139, b1_140, b1_141, b1_142, b1_143; byte b1_144, b1_145, b1_146, b1_147, b1_148, b1_149, b1_150, b1_151, b1_152, b1_153, b1_154, b1_155, b1_156, b1_157, b1_158, b1_159; byte b1_160, b1_161, b1_162, b1_163, b1_164, b1_165, b1_166, b1_167, b1_168, b1_169, b1_170, b1_171, b1_172, b1_173, b1_174, b1_175; byte b1_176, b1_177, b1_178, b1_179, b1_180, b1_181, b1_182, b1_183, b1_184, b1_185, b1_186, b1_187, b1_188, b1_189, b1_190, b1_191; byte b1_192, b1_193, b1_194, b1_195, b1_196, b1_197, b1_198, b1_199, b1_200, b1_201, b1_202, b1_203, b1_204, b1_205, b1_206, b1_207; byte b1_208, b1_209, b1_210, b1_211, b1_212, b1_213, b1_214, b1_215, b1_216, b1_217, b1_218, b1_219, b1_220, b1_221, b1_222, b1_223; byte b1_224, b1_225, b1_226, b1_227, b1_228, b1_229, b1_230, b1_231, b1_232, b1_233, b1_234, b1_235, b1_236, b1_237, b1_238, b1_239; byte b1_240, b1_241, b1_242, b1_243, b1_244, b1_245, b1_246, b1_247, b1_248, b1_249, b1_250, b1_251, b1_252, b1_253, b1_254, b1_255; } |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/CreateFileSnapshotBenchmark_jmhType_B3.java | 2 |
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_jmhType_B3.java | 2 |
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_BenchmarkState_jmhType_B3.java | 2 |
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_jmhType_B3.java | 2 |
org/eclipse/jgit/benchmarks/jmh_generated/LookupFileStoreBenchmark_jmhType_B3.java | 2 |
org/eclipse/jgit/benchmarks/jmh_generated/SHA1Benchmark_BenchmarkState_jmhType_B3.java | 2 |
org/eclipse/jgit/benchmarks/jmh_generated/SHA1Benchmark_jmhType_B3.java | 2 |
org/eclipse/jgit/benchmarks/jmh_generated/SimpleLruCacheBenchmark_jmhType_B3.java | 2 |
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_BenchmarkState_jmhType_B3.java | 2 |
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_jmhType_B3.java | 2 |
public class CreateFileSnapshotBenchmark_jmhType_B3 extends CreateFileSnapshotBenchmark_jmhType_B2 { byte b3_000, b3_001, b3_002, b3_003, b3_004, b3_005, b3_006, b3_007, b3_008, b3_009, b3_010, b3_011, b3_012, b3_013, b3_014, b3_015; byte b3_016, b3_017, b3_018, b3_019, b3_020, b3_021, b3_022, b3_023, b3_024, b3_025, b3_026, b3_027, b3_028, b3_029, b3_030, b3_031; byte b3_032, b3_033, b3_034, b3_035, b3_036, b3_037, b3_038, b3_039, b3_040, b3_041, b3_042, b3_043, b3_044, b3_045, b3_046, b3_047; byte b3_048, b3_049, b3_050, b3_051, b3_052, b3_053, b3_054, b3_055, b3_056, b3_057, b3_058, b3_059, b3_060, b3_061, b3_062, b3_063; byte b3_064, b3_065, b3_066, b3_067, b3_068, b3_069, b3_070, b3_071, b3_072, b3_073, b3_074, b3_075, b3_076, b3_077, b3_078, b3_079; byte b3_080, b3_081, b3_082, b3_083, b3_084, b3_085, b3_086, b3_087, b3_088, b3_089, b3_090, b3_091, b3_092, b3_093, b3_094, b3_095; byte b3_096, b3_097, b3_098, b3_099, b3_100, b3_101, b3_102, b3_103, b3_104, b3_105, b3_106, b3_107, b3_108, b3_109, b3_110, b3_111; byte b3_112, b3_113, b3_114, b3_115, b3_116, b3_117, b3_118, b3_119, b3_120, b3_121, b3_122, b3_123, b3_124, b3_125, b3_126, b3_127; byte b3_128, b3_129, b3_130, b3_131, b3_132, b3_133, b3_134, b3_135, b3_136, b3_137, b3_138, b3_139, b3_140, b3_141, b3_142, b3_143; byte b3_144, b3_145, b3_146, b3_147, b3_148, b3_149, b3_150, b3_151, b3_152, b3_153, b3_154, b3_155, b3_156, b3_157, b3_158, b3_159; byte b3_160, b3_161, b3_162, b3_163, b3_164, b3_165, b3_166, b3_167, b3_168, b3_169, b3_170, b3_171, b3_172, b3_173, b3_174, b3_175; byte b3_176, b3_177, b3_178, b3_179, b3_180, b3_181, b3_182, b3_183, b3_184, b3_185, b3_186, b3_187, b3_188, b3_189, b3_190, b3_191; byte b3_192, b3_193, b3_194, b3_195, b3_196, b3_197, b3_198, b3_199, b3_200, b3_201, b3_202, b3_203, b3_204, b3_205, b3_206, b3_207; byte b3_208, b3_209, b3_210, b3_211, b3_212, b3_213, b3_214, b3_215, b3_216, b3_217, b3_218, b3_219, b3_220, b3_221, b3_222, b3_223; byte b3_224, b3_225, b3_226, b3_227, b3_228, b3_229, b3_230, b3_231, b3_232, b3_233, b3_234, b3_235, b3_236, b3_237, b3_238, b3_239; byte b3_240, b3_241, b3_242, b3_243, b3_244, b3_245, b3_246, b3_247, b3_248, b3_249, b3_250, b3_251, b3_252, b3_253, b3_254, b3_255; } |
File | Line |
---|---|
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 123 |
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 331 |
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 543 |
testDataRevQueue_thrpt_jmhStub(control, res, benchmarkParams, iterationParams, threadParams, blackhole, notifyControl, startRndMask, l_benchmarkstate1_G, l_daterevqueuebenchmark0_0); notifyControl.stopMeasurement = true; control.announceWarmdownReady(); try { while (control.warmdownShouldWait) { if (DateRevQueueBenchmark_BenchmarkState_jmhType.setupInvocationMutexUpdater.compareAndSet(l_benchmarkstate1_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); if (!l_benchmarkstate1_G.readyInvocation) { l_benchmarkstate1_G.readyInvocation = true; } } catch (Throwable t) { control.isFailing = true; throw t; } finally { DateRevQueueBenchmark_BenchmarkState_jmhType.setupInvocationMutexUpdater.set(l_benchmarkstate1_G, 0); } } else { while (DateRevQueueBenchmark_BenchmarkState_jmhType.setupInvocationMutexUpdater.get(l_benchmarkstate1_G) == 1) { if (control.isFailing) throw new FailureAssistException(); if (Thread.interrupted()) throw new InterruptedException(); } } l_daterevqueuebenchmark0_0.testDataRevQueue(l_benchmarkstate1_G); if (DateRevQueueBenchmark_BenchmarkState_jmhType.tearInvocationMutexUpdater.compareAndSet(l_benchmarkstate1_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); if (l_benchmarkstate1_G.readyInvocation) { l_benchmarkstate1_G.check(); l_benchmarkstate1_G.readyInvocation = false; } } catch (Throwable t) { control.isFailing = true; throw t; } finally { DateRevQueueBenchmark_BenchmarkState_jmhType.tearInvocationMutexUpdater.set(l_benchmarkstate1_G, 0); } } else { while (DateRevQueueBenchmark_BenchmarkState_jmhType.tearInvocationMutexUpdater.get(l_benchmarkstate1_G) == 1) { if (control.isFailing) throw new FailureAssistException(); if (Thread.interrupted()) throw new InterruptedException(); } } if (control.shouldYield) Thread.yield(); res.allOps++; } } catch (Throwable e) { if (!(e instanceof InterruptedException)) throw e; } control.preTearDown(); if (control.isLastIteration()) { if (DateRevQueueBenchmark_BenchmarkState_jmhType.tearTrialMutexUpdater.compareAndSet(l_benchmarkstate1_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); if (l_benchmarkstate1_G.readyTrial) { l_benchmarkstate1_G.teardown(); l_benchmarkstate1_G.readyTrial = false; } } catch (Throwable t) { control.isFailing = true; throw t; } finally { DateRevQueueBenchmark_BenchmarkState_jmhType.tearTrialMutexUpdater.set(l_benchmarkstate1_G, 0); } } else { long l_benchmarkstate1_G_backoff = 1; while (DateRevQueueBenchmark_BenchmarkState_jmhType.tearTrialMutexUpdater.get(l_benchmarkstate1_G) == 1) { TimeUnit.MILLISECONDS.sleep(l_benchmarkstate1_G_backoff); l_benchmarkstate1_G_backoff = Math.max(1024, l_benchmarkstate1_G_backoff * 2); if (control.isFailing) throw new FailureAssistException(); if (Thread.interrupted()) throw new InterruptedException(); } } synchronized(this.getClass()) { f_benchmarkstate1_G = null; } f_daterevqueuebenchmark0_0 = null; } res.allOps += res.measuredOps; |
File | Line |
---|---|
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 62 |
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 270 |
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 478 |
public BenchmarkTaskResult testDataRevQueue_Throughput(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) { RawResults res = new RawResults(); DateRevQueueBenchmark_jmhType l_daterevqueuebenchmark0_0 = _jmh_tryInit_f_daterevqueuebenchmark0_0(control); DateRevQueueBenchmark_BenchmarkState_jmhType l_benchmarkstate1_G = _jmh_tryInit_f_benchmarkstate1_G(control); control.preSetup(); control.announceWarmupReady(); while (control.warmupShouldWait) { if (DateRevQueueBenchmark_BenchmarkState_jmhType.setupInvocationMutexUpdater.compareAndSet(l_benchmarkstate1_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); if (!l_benchmarkstate1_G.readyInvocation) { l_benchmarkstate1_G.readyInvocation = true; } } catch (Throwable t) { control.isFailing = true; throw t; } finally { DateRevQueueBenchmark_BenchmarkState_jmhType.setupInvocationMutexUpdater.set(l_benchmarkstate1_G, 0); } } else { while (DateRevQueueBenchmark_BenchmarkState_jmhType.setupInvocationMutexUpdater.get(l_benchmarkstate1_G) == 1) { if (control.isFailing) throw new FailureAssistException(); if (Thread.interrupted()) throw new InterruptedException(); } } l_daterevqueuebenchmark0_0.testDataRevQueue(l_benchmarkstate1_G); if (DateRevQueueBenchmark_BenchmarkState_jmhType.tearInvocationMutexUpdater.compareAndSet(l_benchmarkstate1_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); if (l_benchmarkstate1_G.readyInvocation) { l_benchmarkstate1_G.check(); l_benchmarkstate1_G.readyInvocation = false; } } catch (Throwable t) { control.isFailing = true; throw t; } finally { DateRevQueueBenchmark_BenchmarkState_jmhType.tearInvocationMutexUpdater.set(l_benchmarkstate1_G, 0); } } else { while (DateRevQueueBenchmark_BenchmarkState_jmhType.tearInvocationMutexUpdater.get(l_benchmarkstate1_G) == 1) { if (control.isFailing) throw new FailureAssistException(); if (Thread.interrupted()) throw new InterruptedException(); } } if (control.shouldYield) Thread.yield(); res.allOps++; } notifyControl.startMeasurement = true; |
File | Line |
---|---|
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 217 |
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 425 |
public static void testDataRevQueue_thrpt_jmhStub(InfraControl control, RawResults result, BenchmarkParams benchmarkParams, IterationParams iterationParams, ThreadParams threadParams, Blackhole blackhole, Control notifyControl, int startRndMask, DateRevQueueBenchmark_BenchmarkState_jmhType l_benchmarkstate1_G, DateRevQueueBenchmark_jmhType l_daterevqueuebenchmark0_0) throws Throwable { long operations = 0; long realTime = 0; result.startTime = System.nanoTime(); do { if (DateRevQueueBenchmark_BenchmarkState_jmhType.setupInvocationMutexUpdater.compareAndSet(l_benchmarkstate1_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); if (!l_benchmarkstate1_G.readyInvocation) { l_benchmarkstate1_G.readyInvocation = true; } } catch (Throwable t) { control.isFailing = true; throw t; } finally { DateRevQueueBenchmark_BenchmarkState_jmhType.setupInvocationMutexUpdater.set(l_benchmarkstate1_G, 0); } } else { while (DateRevQueueBenchmark_BenchmarkState_jmhType.setupInvocationMutexUpdater.get(l_benchmarkstate1_G) == 1) { if (control.isFailing) throw new FailureAssistException(); if (Thread.interrupted()) throw new InterruptedException(); } } long rt = System.nanoTime(); l_daterevqueuebenchmark0_0.testDataRevQueue(l_benchmarkstate1_G); realTime += (System.nanoTime() - rt); if (DateRevQueueBenchmark_BenchmarkState_jmhType.tearInvocationMutexUpdater.compareAndSet(l_benchmarkstate1_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); if (l_benchmarkstate1_G.readyInvocation) { l_benchmarkstate1_G.check(); l_benchmarkstate1_G.readyInvocation = false; } } catch (Throwable t) { control.isFailing = true; throw t; } finally { DateRevQueueBenchmark_BenchmarkState_jmhType.tearInvocationMutexUpdater.set(l_benchmarkstate1_G, 0); } } else { while (DateRevQueueBenchmark_BenchmarkState_jmhType.tearInvocationMutexUpdater.get(l_benchmarkstate1_G) == 1) { if (control.isFailing) throw new FailureAssistException(); if (Thread.interrupted()) throw new InterruptedException(); } } operations++; } while(!control.isDone); result.stopTime = System.nanoTime(); result.realTime = realTime; result.measuredOps = operations; } public BenchmarkTaskResult testDataRevQueue_AverageTime(InfraControl control, ThreadParams threadParams) throws Throwable { |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetExactRef_jmhTest.java | 86 |
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetExactRef_jmhTest.java | 181 |
testGetExactRef_thrpt_jmhStub(control, res, benchmarkParams, iterationParams, threadParams, blackhole, notifyControl, startRndMask, l_benchmarkstate1_G, l_getrefsbenchmark0_0); notifyControl.stopMeasurement = true; control.announceWarmdownReady(); try { while (control.warmdownShouldWait) { l_getrefsbenchmark0_0.testGetExactRef(blackhole, l_benchmarkstate1_G); if (control.shouldYield) Thread.yield(); res.allOps++; } } catch (Throwable e) { if (!(e instanceof InterruptedException)) throw e; } control.preTearDown(); if (control.isLastIteration()) { if (GetRefsBenchmark_BenchmarkState_jmhType.tearTrialMutexUpdater.compareAndSet(l_benchmarkstate1_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); if (l_benchmarkstate1_G.readyTrial) { l_benchmarkstate1_G.teardown(); l_benchmarkstate1_G.readyTrial = false; } } catch (Throwable t) { control.isFailing = true; throw t; } finally { GetRefsBenchmark_BenchmarkState_jmhType.tearTrialMutexUpdater.set(l_benchmarkstate1_G, 0); } } else { long l_benchmarkstate1_G_backoff = 1; while (GetRefsBenchmark_BenchmarkState_jmhType.tearTrialMutexUpdater.get(l_benchmarkstate1_G) == 1) { TimeUnit.MILLISECONDS.sleep(l_benchmarkstate1_G_backoff); l_benchmarkstate1_G_backoff = Math.max(1024, l_benchmarkstate1_G_backoff * 2); if (control.isFailing) throw new FailureAssistException(); if (Thread.interrupted()) throw new InterruptedException(); } } synchronized(this.getClass()) { f_benchmarkstate1_G = null; } f_getrefsbenchmark0_0 = null; } res.allOps += res.measuredOps; int batchSize = iterationParams.getBatchSize(); int opsPerInv = benchmarkParams.getOpsPerInvocation(); res.allOps *= opsPerInv; res.allOps /= batchSize; res.measuredOps *= opsPerInv; res.measuredOps /= batchSize; BenchmarkTaskResult results = new BenchmarkTaskResult((long)res.allOps, (long)res.measuredOps); results.add(new ThroughputResult(ResultRole.PRIMARY, "testGetExactRef", res.measuredOps, res.getTime(), benchmarkParams.getTimeUnit())); |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetRefsByPrefix_jmhTest.java | 86 |
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetRefsByPrefix_jmhTest.java | 181 |
testGetRefsByPrefix_thrpt_jmhStub(control, res, benchmarkParams, iterationParams, threadParams, blackhole, notifyControl, startRndMask, l_benchmarkstate1_G, l_getrefsbenchmark0_0); notifyControl.stopMeasurement = true; control.announceWarmdownReady(); try { while (control.warmdownShouldWait) { l_getrefsbenchmark0_0.testGetRefsByPrefix(blackhole, l_benchmarkstate1_G); if (control.shouldYield) Thread.yield(); res.allOps++; } } catch (Throwable e) { if (!(e instanceof InterruptedException)) throw e; } control.preTearDown(); if (control.isLastIteration()) { if (GetRefsBenchmark_BenchmarkState_jmhType.tearTrialMutexUpdater.compareAndSet(l_benchmarkstate1_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); if (l_benchmarkstate1_G.readyTrial) { l_benchmarkstate1_G.teardown(); l_benchmarkstate1_G.readyTrial = false; } } catch (Throwable t) { control.isFailing = true; throw t; } finally { GetRefsBenchmark_BenchmarkState_jmhType.tearTrialMutexUpdater.set(l_benchmarkstate1_G, 0); } } else { long l_benchmarkstate1_G_backoff = 1; while (GetRefsBenchmark_BenchmarkState_jmhType.tearTrialMutexUpdater.get(l_benchmarkstate1_G) == 1) { TimeUnit.MILLISECONDS.sleep(l_benchmarkstate1_G_backoff); l_benchmarkstate1_G_backoff = Math.max(1024, l_benchmarkstate1_G_backoff * 2); if (control.isFailing) throw new FailureAssistException(); if (Thread.interrupted()) throw new InterruptedException(); } } synchronized(this.getClass()) { f_benchmarkstate1_G = null; } f_getrefsbenchmark0_0 = null; } res.allOps += res.measuredOps; int batchSize = iterationParams.getBatchSize(); int opsPerInv = benchmarkParams.getOpsPerInvocation(); res.allOps *= opsPerInv; res.allOps /= batchSize; res.measuredOps *= opsPerInv; res.measuredOps /= batchSize; BenchmarkTaskResult results = new BenchmarkTaskResult((long)res.allOps, (long)res.measuredOps); results.add(new ThroughputResult(ResultRole.PRIMARY, "testGetRefsByPrefix", res.measuredOps, res.getTime(), benchmarkParams.getTimeUnit())); |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/SHA1Benchmark_testSHA1_jmhTest.java | 86 |
org/eclipse/jgit/benchmarks/jmh_generated/SHA1Benchmark_testSHA1_jmhTest.java | 181 |
testSHA1_thrpt_jmhStub(control, res, benchmarkParams, iterationParams, threadParams, blackhole, notifyControl, startRndMask, l_benchmarkstate1_G, l_sha1benchmark0_0); notifyControl.stopMeasurement = true; control.announceWarmdownReady(); try { while (control.warmdownShouldWait) { l_sha1benchmark0_0.testSHA1(blackhole, l_benchmarkstate1_G); if (control.shouldYield) Thread.yield(); res.allOps++; } } catch (Throwable e) { if (!(e instanceof InterruptedException)) throw e; } control.preTearDown(); if (control.isLastIteration()) { if (SHA1Benchmark_BenchmarkState_jmhType.tearTrialMutexUpdater.compareAndSet(l_benchmarkstate1_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); if (l_benchmarkstate1_G.readyTrial) { l_benchmarkstate1_G.teardown(); l_benchmarkstate1_G.readyTrial = false; } } catch (Throwable t) { control.isFailing = true; throw t; } finally { SHA1Benchmark_BenchmarkState_jmhType.tearTrialMutexUpdater.set(l_benchmarkstate1_G, 0); } } else { long l_benchmarkstate1_G_backoff = 1; while (SHA1Benchmark_BenchmarkState_jmhType.tearTrialMutexUpdater.get(l_benchmarkstate1_G) == 1) { TimeUnit.MILLISECONDS.sleep(l_benchmarkstate1_G_backoff); l_benchmarkstate1_G_backoff = Math.max(1024, l_benchmarkstate1_G_backoff * 2); if (control.isFailing) throw new FailureAssistException(); if (Thread.interrupted()) throw new InterruptedException(); } } synchronized(this.getClass()) { f_benchmarkstate1_G = null; } f_sha1benchmark0_0 = null; } res.allOps += res.measuredOps; int batchSize = iterationParams.getBatchSize(); int opsPerInv = benchmarkParams.getOpsPerInvocation(); res.allOps *= opsPerInv; res.allOps /= batchSize; res.measuredOps *= opsPerInv; res.measuredOps /= batchSize; BenchmarkTaskResult results = new BenchmarkTaskResult((long)res.allOps, (long)res.measuredOps); results.add(new ThroughputResult(ResultRole.PRIMARY, "testSHA1", res.measuredOps, res.getTime(), benchmarkParams.getTimeUnit())); |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/SimpleLruCacheBenchmark_readwrite_jmhTest.java | 84 |
org/eclipse/jgit/benchmarks/jmh_generated/SimpleLruCacheBenchmark_readwrite_jmhTest.java | 260 |
testCacheRead_thrpt_jmhStub(control, res, benchmarkParams, iterationParams, threadParams, blackhole, notifyControl, startRndMask, l_simplelrucachebenchmark0_G); notifyControl.stopMeasurement = true; control.announceWarmdownReady(); try { while (control.warmdownShouldWait) { blackhole.consume(l_simplelrucachebenchmark0_G.testCacheRead()); if (control.shouldYield) Thread.yield(); res.allOps++; } } catch (Throwable e) { if (!(e instanceof InterruptedException)) throw e; } control.preTearDown(); if (control.isLastIteration()) { if (SimpleLruCacheBenchmark_jmhType.tearTrialMutexUpdater.compareAndSet(l_simplelrucachebenchmark0_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); if (l_simplelrucachebenchmark0_G.readyTrial) { l_simplelrucachebenchmark0_G.teardown(); l_simplelrucachebenchmark0_G.readyTrial = false; } } catch (Throwable t) { control.isFailing = true; throw t; } finally { SimpleLruCacheBenchmark_jmhType.tearTrialMutexUpdater.set(l_simplelrucachebenchmark0_G, 0); } } else { long l_simplelrucachebenchmark0_G_backoff = 1; while (SimpleLruCacheBenchmark_jmhType.tearTrialMutexUpdater.get(l_simplelrucachebenchmark0_G) == 1) { TimeUnit.MILLISECONDS.sleep(l_simplelrucachebenchmark0_G_backoff); l_simplelrucachebenchmark0_G_backoff = Math.max(1024, l_simplelrucachebenchmark0_G_backoff * 2); if (control.isFailing) throw new FailureAssistException(); if (Thread.interrupted()) throw new InterruptedException(); } } synchronized(this.getClass()) { f_simplelrucachebenchmark0_G = null; } } res.allOps += res.measuredOps; int batchSize = iterationParams.getBatchSize(); int opsPerInv = benchmarkParams.getOpsPerInvocation(); res.allOps *= opsPerInv; res.allOps /= batchSize; res.measuredOps *= opsPerInv; res.measuredOps /= batchSize; BenchmarkTaskResult results = new BenchmarkTaskResult((long)res.allOps, (long)res.measuredOps); results.add(new ThroughputResult(ResultRole.PRIMARY, "readwrite", res.measuredOps, res.getTime(), benchmarkParams.getTimeUnit())); |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/SimpleLruCacheBenchmark_readwrite_jmhTest.java | 153 |
org/eclipse/jgit/benchmarks/jmh_generated/SimpleLruCacheBenchmark_readwrite_jmhTest.java | 329 |
testCacheWrite_thrpt_jmhStub(control, res, benchmarkParams, iterationParams, threadParams, blackhole, notifyControl, startRndMask, l_simplelrucachebenchmark0_G); notifyControl.stopMeasurement = true; control.announceWarmdownReady(); try { while (control.warmdownShouldWait) { blackhole.consume(l_simplelrucachebenchmark0_G.testCacheWrite()); if (control.shouldYield) Thread.yield(); res.allOps++; } } catch (Throwable e) { if (!(e instanceof InterruptedException)) throw e; } control.preTearDown(); if (control.isLastIteration()) { if (SimpleLruCacheBenchmark_jmhType.tearTrialMutexUpdater.compareAndSet(l_simplelrucachebenchmark0_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); if (l_simplelrucachebenchmark0_G.readyTrial) { l_simplelrucachebenchmark0_G.teardown(); l_simplelrucachebenchmark0_G.readyTrial = false; } } catch (Throwable t) { control.isFailing = true; throw t; } finally { SimpleLruCacheBenchmark_jmhType.tearTrialMutexUpdater.set(l_simplelrucachebenchmark0_G, 0); } } else { long l_simplelrucachebenchmark0_G_backoff = 1; while (SimpleLruCacheBenchmark_jmhType.tearTrialMutexUpdater.get(l_simplelrucachebenchmark0_G) == 1) { TimeUnit.MILLISECONDS.sleep(l_simplelrucachebenchmark0_G_backoff); l_simplelrucachebenchmark0_G_backoff = Math.max(1024, l_simplelrucachebenchmark0_G_backoff * 2); if (control.isFailing) throw new FailureAssistException(); if (Thread.interrupted()) throw new InterruptedException(); } } synchronized(this.getClass()) { f_simplelrucachebenchmark0_G = null; } } res.allOps += res.measuredOps; int batchSize = iterationParams.getBatchSize(); int opsPerInv = benchmarkParams.getOpsPerInvocation(); res.allOps *= opsPerInv; res.allOps /= batchSize; res.measuredOps *= opsPerInv; res.measuredOps /= batchSize; BenchmarkTaskResult results = new BenchmarkTaskResult((long)res.allOps, (long)res.measuredOps); results.add(new ThroughputResult(ResultRole.PRIMARY, "readwrite", res.measuredOps, res.getTime(), benchmarkParams.getTimeUnit())); |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/SimpleLruCacheBenchmark_readwrite_jmhTest.java | 89 |
org/eclipse/jgit/benchmarks/jmh_generated/SimpleLruCacheBenchmark_readwrite_jmhTest.java | 158 |
blackhole.consume(l_simplelrucachebenchmark0_G.testCacheRead()); if (control.shouldYield) Thread.yield(); res.allOps++; } } catch (Throwable e) { if (!(e instanceof InterruptedException)) throw e; } control.preTearDown(); if (control.isLastIteration()) { if (SimpleLruCacheBenchmark_jmhType.tearTrialMutexUpdater.compareAndSet(l_simplelrucachebenchmark0_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); if (l_simplelrucachebenchmark0_G.readyTrial) { l_simplelrucachebenchmark0_G.teardown(); l_simplelrucachebenchmark0_G.readyTrial = false; } } catch (Throwable t) { control.isFailing = true; throw t; } finally { SimpleLruCacheBenchmark_jmhType.tearTrialMutexUpdater.set(l_simplelrucachebenchmark0_G, 0); } } else { long l_simplelrucachebenchmark0_G_backoff = 1; while (SimpleLruCacheBenchmark_jmhType.tearTrialMutexUpdater.get(l_simplelrucachebenchmark0_G) == 1) { TimeUnit.MILLISECONDS.sleep(l_simplelrucachebenchmark0_G_backoff); l_simplelrucachebenchmark0_G_backoff = Math.max(1024, l_simplelrucachebenchmark0_G_backoff * 2); if (control.isFailing) throw new FailureAssistException(); if (Thread.interrupted()) throw new InterruptedException(); } } synchronized(this.getClass()) { f_simplelrucachebenchmark0_G = null; } } res.allOps += res.measuredOps; int batchSize = iterationParams.getBatchSize(); int opsPerInv = benchmarkParams.getOpsPerInvocation(); res.allOps *= opsPerInv; res.allOps /= batchSize; res.measuredOps *= opsPerInv; res.measuredOps /= batchSize; BenchmarkTaskResult results = new BenchmarkTaskResult((long)res.allOps, (long)res.measuredOps); results.add(new ThroughputResult(ResultRole.PRIMARY, "readwrite", res.measuredOps, res.getTime(), benchmarkParams.getTimeUnit())); results.add(new ThroughputResult(ResultRole.SECONDARY, "testCacheRead", res.measuredOps, res.getTime(), benchmarkParams.getTimeUnit())); |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/SimpleLruCacheBenchmark_readwrite_jmhTest.java | 265 |
org/eclipse/jgit/benchmarks/jmh_generated/SimpleLruCacheBenchmark_readwrite_jmhTest.java | 334 |
blackhole.consume(l_simplelrucachebenchmark0_G.testCacheRead()); if (control.shouldYield) Thread.yield(); res.allOps++; } } catch (Throwable e) { if (!(e instanceof InterruptedException)) throw e; } control.preTearDown(); if (control.isLastIteration()) { if (SimpleLruCacheBenchmark_jmhType.tearTrialMutexUpdater.compareAndSet(l_simplelrucachebenchmark0_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); if (l_simplelrucachebenchmark0_G.readyTrial) { l_simplelrucachebenchmark0_G.teardown(); l_simplelrucachebenchmark0_G.readyTrial = false; } } catch (Throwable t) { control.isFailing = true; throw t; } finally { SimpleLruCacheBenchmark_jmhType.tearTrialMutexUpdater.set(l_simplelrucachebenchmark0_G, 0); } } else { long l_simplelrucachebenchmark0_G_backoff = 1; while (SimpleLruCacheBenchmark_jmhType.tearTrialMutexUpdater.get(l_simplelrucachebenchmark0_G) == 1) { TimeUnit.MILLISECONDS.sleep(l_simplelrucachebenchmark0_G_backoff); l_simplelrucachebenchmark0_G_backoff = Math.max(1024, l_simplelrucachebenchmark0_G_backoff * 2); if (control.isFailing) throw new FailureAssistException(); if (Thread.interrupted()) throw new InterruptedException(); } } synchronized(this.getClass()) { f_simplelrucachebenchmark0_G = null; } } res.allOps += res.measuredOps; int batchSize = iterationParams.getBatchSize(); int opsPerInv = benchmarkParams.getOpsPerInvocation(); res.allOps *= opsPerInv; res.allOps /= batchSize; res.measuredOps *= opsPerInv; res.measuredOps /= batchSize; BenchmarkTaskResult results = new BenchmarkTaskResult((long)res.allOps, (long)res.measuredOps); results.add(new AverageTimeResult(ResultRole.PRIMARY, "readwrite", res.measuredOps, res.getTime(), benchmarkParams.getTimeUnit())); results.add(new AverageTimeResult(ResultRole.SECONDARY, "testCacheRead", res.measuredOps, res.getTime(), benchmarkParams.getTimeUnit())); |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetExactRef_jmhTest.java | 431 |
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetRefsByPrefix_jmhTest.java | 431 |
l_getrefsbenchmark0_0.testGetExactRef(blackhole, l_benchmarkstate1_G); } result.stopTime = System.nanoTime(); result.realTime = realTime; } static volatile GetRefsBenchmark_BenchmarkState_jmhType f_benchmarkstate1_G; GetRefsBenchmark_BenchmarkState_jmhType _jmh_tryInit_f_benchmarkstate1_G(InfraControl control) throws Throwable { GetRefsBenchmark_BenchmarkState_jmhType val = f_benchmarkstate1_G; if (val != null) { return val; } synchronized(this.getClass()) { try { if (control.isFailing) throw new FailureAssistException(); val = f_benchmarkstate1_G; if (val != null) { return val; } val = new GetRefsBenchmark_BenchmarkState_jmhType(); Field f; f = org.eclipse.jgit.benchmarks.GetRefsBenchmark.BenchmarkState.class.getDeclaredField("numBranches"); f.setAccessible(true); f.set(val, Integer.valueOf(control.getParam("numBranches"))); f = org.eclipse.jgit.benchmarks.GetRefsBenchmark.BenchmarkState.class.getDeclaredField("trustFolderStat"); f.setAccessible(true); f.set(val, Boolean.valueOf(control.getParam("trustFolderStat"))); f = org.eclipse.jgit.benchmarks.GetRefsBenchmark.BenchmarkState.class.getDeclaredField("useRefTable"); f.setAccessible(true); f.set(val, Boolean.valueOf(control.getParam("useRefTable"))); val.setupBenchmark(); val.readyTrial = true; f_benchmarkstate1_G = val; } catch (Throwable t) { control.isFailing = true; throw t; } } return val; } GetRefsBenchmark_jmhType f_getrefsbenchmark0_0; GetRefsBenchmark_jmhType _jmh_tryInit_f_getrefsbenchmark0_0(InfraControl control) throws Throwable { if (control.isFailing) throw new FailureAssistException(); GetRefsBenchmark_jmhType val = f_getrefsbenchmark0_0; if (val == null) { val = new GetRefsBenchmark_jmhType(); f_getrefsbenchmark0_0 = val; } return val; } } |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetExactRef_jmhTest.java | 91 |
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetRefsByPrefix_jmhTest.java | 91 |
l_getrefsbenchmark0_0.testGetExactRef(blackhole, l_benchmarkstate1_G); if (control.shouldYield) Thread.yield(); res.allOps++; } } catch (Throwable e) { if (!(e instanceof InterruptedException)) throw e; } control.preTearDown(); if (control.isLastIteration()) { if (GetRefsBenchmark_BenchmarkState_jmhType.tearTrialMutexUpdater.compareAndSet(l_benchmarkstate1_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); if (l_benchmarkstate1_G.readyTrial) { l_benchmarkstate1_G.teardown(); l_benchmarkstate1_G.readyTrial = false; } } catch (Throwable t) { control.isFailing = true; throw t; } finally { GetRefsBenchmark_BenchmarkState_jmhType.tearTrialMutexUpdater.set(l_benchmarkstate1_G, 0); } } else { long l_benchmarkstate1_G_backoff = 1; while (GetRefsBenchmark_BenchmarkState_jmhType.tearTrialMutexUpdater.get(l_benchmarkstate1_G) == 1) { TimeUnit.MILLISECONDS.sleep(l_benchmarkstate1_G_backoff); l_benchmarkstate1_G_backoff = Math.max(1024, l_benchmarkstate1_G_backoff * 2); if (control.isFailing) throw new FailureAssistException(); if (Thread.interrupted()) throw new InterruptedException(); } } synchronized(this.getClass()) { f_benchmarkstate1_G = null; } f_getrefsbenchmark0_0 = null; } res.allOps += res.measuredOps; int batchSize = iterationParams.getBatchSize(); int opsPerInv = benchmarkParams.getOpsPerInvocation(); res.allOps *= opsPerInv; res.allOps /= batchSize; res.measuredOps *= opsPerInv; res.measuredOps /= batchSize; BenchmarkTaskResult results = new BenchmarkTaskResult((long)res.allOps, (long)res.measuredOps); results.add(new ThroughputResult(ResultRole.PRIMARY, "testGetExactRef", res.measuredOps, res.getTime(), benchmarkParams.getTimeUnit())); |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetExactRef_jmhTest.java | 186 |
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetRefsByPrefix_jmhTest.java | 186 |
l_getrefsbenchmark0_0.testGetExactRef(blackhole, l_benchmarkstate1_G); if (control.shouldYield) Thread.yield(); res.allOps++; } } catch (Throwable e) { if (!(e instanceof InterruptedException)) throw e; } control.preTearDown(); if (control.isLastIteration()) { if (GetRefsBenchmark_BenchmarkState_jmhType.tearTrialMutexUpdater.compareAndSet(l_benchmarkstate1_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); if (l_benchmarkstate1_G.readyTrial) { l_benchmarkstate1_G.teardown(); l_benchmarkstate1_G.readyTrial = false; } } catch (Throwable t) { control.isFailing = true; throw t; } finally { GetRefsBenchmark_BenchmarkState_jmhType.tearTrialMutexUpdater.set(l_benchmarkstate1_G, 0); } } else { long l_benchmarkstate1_G_backoff = 1; while (GetRefsBenchmark_BenchmarkState_jmhType.tearTrialMutexUpdater.get(l_benchmarkstate1_G) == 1) { TimeUnit.MILLISECONDS.sleep(l_benchmarkstate1_G_backoff); l_benchmarkstate1_G_backoff = Math.max(1024, l_benchmarkstate1_G_backoff * 2); if (control.isFailing) throw new FailureAssistException(); if (Thread.interrupted()) throw new InterruptedException(); } } synchronized(this.getClass()) { f_benchmarkstate1_G = null; } f_getrefsbenchmark0_0 = null; } res.allOps += res.measuredOps; int batchSize = iterationParams.getBatchSize(); int opsPerInv = benchmarkParams.getOpsPerInvocation(); res.allOps *= opsPerInv; res.allOps /= batchSize; res.measuredOps *= opsPerInv; res.measuredOps /= batchSize; BenchmarkTaskResult results = new BenchmarkTaskResult((long)res.allOps, (long)res.measuredOps); results.add(new AverageTimeResult(ResultRole.PRIMARY, "testGetExactRef", res.measuredOps, res.getTime(), benchmarkParams.getTimeUnit())); |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/SimpleLruCacheBenchmark_readwrite_jmhTest.java | 445 |
org/eclipse/jgit/benchmarks/jmh_generated/SimpleLruCacheBenchmark_readwrite_jmhTest.java | 515 |
blackhole.consume(l_simplelrucachebenchmark0_G.testCacheRead()); if (control.shouldYield) Thread.yield(); res.allOps++; } } catch (Throwable e) { if (!(e instanceof InterruptedException)) throw e; } control.preTearDown(); if (control.isLastIteration()) { if (SimpleLruCacheBenchmark_jmhType.tearTrialMutexUpdater.compareAndSet(l_simplelrucachebenchmark0_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); if (l_simplelrucachebenchmark0_G.readyTrial) { l_simplelrucachebenchmark0_G.teardown(); l_simplelrucachebenchmark0_G.readyTrial = false; } } catch (Throwable t) { control.isFailing = true; throw t; } finally { SimpleLruCacheBenchmark_jmhType.tearTrialMutexUpdater.set(l_simplelrucachebenchmark0_G, 0); } } else { long l_simplelrucachebenchmark0_G_backoff = 1; while (SimpleLruCacheBenchmark_jmhType.tearTrialMutexUpdater.get(l_simplelrucachebenchmark0_G) == 1) { TimeUnit.MILLISECONDS.sleep(l_simplelrucachebenchmark0_G_backoff); l_simplelrucachebenchmark0_G_backoff = Math.max(1024, l_simplelrucachebenchmark0_G_backoff * 2); if (control.isFailing) throw new FailureAssistException(); if (Thread.interrupted()) throw new InterruptedException(); } } synchronized(this.getClass()) { f_simplelrucachebenchmark0_G = null; } } res.allOps += res.measuredOps * batchSize; res.allOps *= opsPerInv; res.allOps /= batchSize; res.measuredOps *= opsPerInv; BenchmarkTaskResult results = new BenchmarkTaskResult((long)res.allOps, (long)res.measuredOps); results.add(new SampleTimeResult(ResultRole.PRIMARY, "readwrite", buffer, benchmarkParams.getTimeUnit())); results.add(new SampleTimeResult(ResultRole.SECONDARY, "testCacheRead", buffer, benchmarkParams.getTimeUnit())); |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetExactRef_jmhTest.java | 91 |
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetRefsByPrefix_jmhTest.java | 186 |
l_getrefsbenchmark0_0.testGetExactRef(blackhole, l_benchmarkstate1_G); if (control.shouldYield) Thread.yield(); res.allOps++; } } catch (Throwable e) { if (!(e instanceof InterruptedException)) throw e; } control.preTearDown(); if (control.isLastIteration()) { if (GetRefsBenchmark_BenchmarkState_jmhType.tearTrialMutexUpdater.compareAndSet(l_benchmarkstate1_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); if (l_benchmarkstate1_G.readyTrial) { l_benchmarkstate1_G.teardown(); l_benchmarkstate1_G.readyTrial = false; } } catch (Throwable t) { control.isFailing = true; throw t; } finally { GetRefsBenchmark_BenchmarkState_jmhType.tearTrialMutexUpdater.set(l_benchmarkstate1_G, 0); } } else { long l_benchmarkstate1_G_backoff = 1; while (GetRefsBenchmark_BenchmarkState_jmhType.tearTrialMutexUpdater.get(l_benchmarkstate1_G) == 1) { TimeUnit.MILLISECONDS.sleep(l_benchmarkstate1_G_backoff); l_benchmarkstate1_G_backoff = Math.max(1024, l_benchmarkstate1_G_backoff * 2); if (control.isFailing) throw new FailureAssistException(); if (Thread.interrupted()) throw new InterruptedException(); } } synchronized(this.getClass()) { f_benchmarkstate1_G = null; } f_getrefsbenchmark0_0 = null; } res.allOps += res.measuredOps; int batchSize = iterationParams.getBatchSize(); int opsPerInv = benchmarkParams.getOpsPerInvocation(); res.allOps *= opsPerInv; res.allOps /= batchSize; res.measuredOps *= opsPerInv; res.measuredOps /= batchSize; BenchmarkTaskResult results = new BenchmarkTaskResult((long)res.allOps, (long)res.measuredOps); results.add(new ThroughputResult(ResultRole.PRIMARY, "testGetExactRef", res.measuredOps, res.getTime(), benchmarkParams.getTimeUnit())); |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetExactRef_jmhTest.java | 186 |
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetRefsByPrefix_jmhTest.java | 91 |
l_getrefsbenchmark0_0.testGetExactRef(blackhole, l_benchmarkstate1_G); if (control.shouldYield) Thread.yield(); res.allOps++; } } catch (Throwable e) { if (!(e instanceof InterruptedException)) throw e; } control.preTearDown(); if (control.isLastIteration()) { if (GetRefsBenchmark_BenchmarkState_jmhType.tearTrialMutexUpdater.compareAndSet(l_benchmarkstate1_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); if (l_benchmarkstate1_G.readyTrial) { l_benchmarkstate1_G.teardown(); l_benchmarkstate1_G.readyTrial = false; } } catch (Throwable t) { control.isFailing = true; throw t; } finally { GetRefsBenchmark_BenchmarkState_jmhType.tearTrialMutexUpdater.set(l_benchmarkstate1_G, 0); } } else { long l_benchmarkstate1_G_backoff = 1; while (GetRefsBenchmark_BenchmarkState_jmhType.tearTrialMutexUpdater.get(l_benchmarkstate1_G) == 1) { TimeUnit.MILLISECONDS.sleep(l_benchmarkstate1_G_backoff); l_benchmarkstate1_G_backoff = Math.max(1024, l_benchmarkstate1_G_backoff * 2); if (control.isFailing) throw new FailureAssistException(); if (Thread.interrupted()) throw new InterruptedException(); } } synchronized(this.getClass()) { f_benchmarkstate1_G = null; } f_getrefsbenchmark0_0 = null; } res.allOps += res.measuredOps; int batchSize = iterationParams.getBatchSize(); int opsPerInv = benchmarkParams.getOpsPerInvocation(); res.allOps *= opsPerInv; res.allOps /= batchSize; res.measuredOps *= opsPerInv; res.measuredOps /= batchSize; BenchmarkTaskResult results = new BenchmarkTaskResult((long)res.allOps, (long)res.measuredOps); results.add(new AverageTimeResult(ResultRole.PRIMARY, "testGetExactRef", res.measuredOps, res.getTime(), benchmarkParams.getTimeUnit())); |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/SimpleLruCacheBenchmark_readwrite_jmhTest.java | 89 |
org/eclipse/jgit/benchmarks/jmh_generated/SimpleLruCacheBenchmark_readwrite_jmhTest.java | 334 |
blackhole.consume(l_simplelrucachebenchmark0_G.testCacheRead()); if (control.shouldYield) Thread.yield(); res.allOps++; } } catch (Throwable e) { if (!(e instanceof InterruptedException)) throw e; } control.preTearDown(); if (control.isLastIteration()) { if (SimpleLruCacheBenchmark_jmhType.tearTrialMutexUpdater.compareAndSet(l_simplelrucachebenchmark0_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); if (l_simplelrucachebenchmark0_G.readyTrial) { l_simplelrucachebenchmark0_G.teardown(); l_simplelrucachebenchmark0_G.readyTrial = false; } } catch (Throwable t) { control.isFailing = true; throw t; } finally { SimpleLruCacheBenchmark_jmhType.tearTrialMutexUpdater.set(l_simplelrucachebenchmark0_G, 0); } } else { long l_simplelrucachebenchmark0_G_backoff = 1; while (SimpleLruCacheBenchmark_jmhType.tearTrialMutexUpdater.get(l_simplelrucachebenchmark0_G) == 1) { TimeUnit.MILLISECONDS.sleep(l_simplelrucachebenchmark0_G_backoff); l_simplelrucachebenchmark0_G_backoff = Math.max(1024, l_simplelrucachebenchmark0_G_backoff * 2); if (control.isFailing) throw new FailureAssistException(); if (Thread.interrupted()) throw new InterruptedException(); } } synchronized(this.getClass()) { f_simplelrucachebenchmark0_G = null; } } res.allOps += res.measuredOps; int batchSize = iterationParams.getBatchSize(); int opsPerInv = benchmarkParams.getOpsPerInvocation(); res.allOps *= opsPerInv; res.allOps /= batchSize; res.measuredOps *= opsPerInv; res.measuredOps /= batchSize; BenchmarkTaskResult results = new BenchmarkTaskResult((long)res.allOps, (long)res.measuredOps); results.add(new ThroughputResult(ResultRole.PRIMARY, "readwrite", res.measuredOps, res.getTime(), benchmarkParams.getTimeUnit())); |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/SimpleLruCacheBenchmark_readwrite_jmhTest.java | 158 |
org/eclipse/jgit/benchmarks/jmh_generated/SimpleLruCacheBenchmark_readwrite_jmhTest.java | 265 |
blackhole.consume(l_simplelrucachebenchmark0_G.testCacheWrite()); if (control.shouldYield) Thread.yield(); res.allOps++; } } catch (Throwable e) { if (!(e instanceof InterruptedException)) throw e; } control.preTearDown(); if (control.isLastIteration()) { if (SimpleLruCacheBenchmark_jmhType.tearTrialMutexUpdater.compareAndSet(l_simplelrucachebenchmark0_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); if (l_simplelrucachebenchmark0_G.readyTrial) { l_simplelrucachebenchmark0_G.teardown(); l_simplelrucachebenchmark0_G.readyTrial = false; } } catch (Throwable t) { control.isFailing = true; throw t; } finally { SimpleLruCacheBenchmark_jmhType.tearTrialMutexUpdater.set(l_simplelrucachebenchmark0_G, 0); } } else { long l_simplelrucachebenchmark0_G_backoff = 1; while (SimpleLruCacheBenchmark_jmhType.tearTrialMutexUpdater.get(l_simplelrucachebenchmark0_G) == 1) { TimeUnit.MILLISECONDS.sleep(l_simplelrucachebenchmark0_G_backoff); l_simplelrucachebenchmark0_G_backoff = Math.max(1024, l_simplelrucachebenchmark0_G_backoff * 2); if (control.isFailing) throw new FailureAssistException(); if (Thread.interrupted()) throw new InterruptedException(); } } synchronized(this.getClass()) { f_simplelrucachebenchmark0_G = null; } } res.allOps += res.measuredOps; int batchSize = iterationParams.getBatchSize(); int opsPerInv = benchmarkParams.getOpsPerInvocation(); res.allOps *= opsPerInv; res.allOps /= batchSize; res.measuredOps *= opsPerInv; res.measuredOps /= batchSize; BenchmarkTaskResult results = new BenchmarkTaskResult((long)res.allOps, (long)res.measuredOps); results.add(new ThroughputResult(ResultRole.PRIMARY, "readwrite", res.measuredOps, res.getTime(), benchmarkParams.getTimeUnit())); |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetExactRef_jmhTest.java | 285 |
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetRefsByPrefix_jmhTest.java | 285 |
l_getrefsbenchmark0_0.testGetExactRef(blackhole, l_benchmarkstate1_G); if (control.shouldYield) Thread.yield(); res.allOps++; } } catch (Throwable e) { if (!(e instanceof InterruptedException)) throw e; } control.preTearDown(); if (control.isLastIteration()) { if (GetRefsBenchmark_BenchmarkState_jmhType.tearTrialMutexUpdater.compareAndSet(l_benchmarkstate1_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); if (l_benchmarkstate1_G.readyTrial) { l_benchmarkstate1_G.teardown(); l_benchmarkstate1_G.readyTrial = false; } } catch (Throwable t) { control.isFailing = true; throw t; } finally { GetRefsBenchmark_BenchmarkState_jmhType.tearTrialMutexUpdater.set(l_benchmarkstate1_G, 0); } } else { long l_benchmarkstate1_G_backoff = 1; while (GetRefsBenchmark_BenchmarkState_jmhType.tearTrialMutexUpdater.get(l_benchmarkstate1_G) == 1) { TimeUnit.MILLISECONDS.sleep(l_benchmarkstate1_G_backoff); l_benchmarkstate1_G_backoff = Math.max(1024, l_benchmarkstate1_G_backoff * 2); if (control.isFailing) throw new FailureAssistException(); if (Thread.interrupted()) throw new InterruptedException(); } } synchronized(this.getClass()) { f_benchmarkstate1_G = null; } f_getrefsbenchmark0_0 = null; } res.allOps += res.measuredOps * batchSize; res.allOps *= opsPerInv; res.allOps /= batchSize; res.measuredOps *= opsPerInv; BenchmarkTaskResult results = new BenchmarkTaskResult((long)res.allOps, (long)res.measuredOps); results.add(new SampleTimeResult(ResultRole.PRIMARY, "testGetExactRef", buffer, benchmarkParams.getTimeUnit())); |
File | Line |
---|---|
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 222 |
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 430 |
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 770 |
if (DateRevQueueBenchmark_BenchmarkState_jmhType.setupInvocationMutexUpdater.compareAndSet(l_benchmarkstate1_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); if (!l_benchmarkstate1_G.readyInvocation) { l_benchmarkstate1_G.readyInvocation = true; } } catch (Throwable t) { control.isFailing = true; throw t; } finally { DateRevQueueBenchmark_BenchmarkState_jmhType.setupInvocationMutexUpdater.set(l_benchmarkstate1_G, 0); } } else { while (DateRevQueueBenchmark_BenchmarkState_jmhType.setupInvocationMutexUpdater.get(l_benchmarkstate1_G) == 1) { if (control.isFailing) throw new FailureAssistException(); if (Thread.interrupted()) throw new InterruptedException(); } } long rt = System.nanoTime(); l_daterevqueuebenchmark0_0.testDataRevQueue(l_benchmarkstate1_G); realTime += (System.nanoTime() - rt); if (DateRevQueueBenchmark_BenchmarkState_jmhType.tearInvocationMutexUpdater.compareAndSet(l_benchmarkstate1_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); if (l_benchmarkstate1_G.readyInvocation) { l_benchmarkstate1_G.check(); l_benchmarkstate1_G.readyInvocation = false; } } catch (Throwable t) { control.isFailing = true; throw t; } finally { DateRevQueueBenchmark_BenchmarkState_jmhType.tearInvocationMutexUpdater.set(l_benchmarkstate1_G, 0); } } else { while (DateRevQueueBenchmark_BenchmarkState_jmhType.tearInvocationMutexUpdater.get(l_benchmarkstate1_G) == 1) { if (control.isFailing) throw new FailureAssistException(); if (Thread.interrupted()) throw new InterruptedException(); } } |
File | Line |
---|---|
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 79 |
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 127 |
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 287 |
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 335 |
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 495 |
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 547 |
while (control.warmupShouldWait) { if (DateRevQueueBenchmark_BenchmarkState_jmhType.setupInvocationMutexUpdater.compareAndSet(l_benchmarkstate1_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); if (!l_benchmarkstate1_G.readyInvocation) { l_benchmarkstate1_G.readyInvocation = true; } } catch (Throwable t) { control.isFailing = true; throw t; } finally { DateRevQueueBenchmark_BenchmarkState_jmhType.setupInvocationMutexUpdater.set(l_benchmarkstate1_G, 0); } } else { while (DateRevQueueBenchmark_BenchmarkState_jmhType.setupInvocationMutexUpdater.get(l_benchmarkstate1_G) == 1) { if (control.isFailing) throw new FailureAssistException(); if (Thread.interrupted()) throw new InterruptedException(); } } l_daterevqueuebenchmark0_0.testDataRevQueue(l_benchmarkstate1_G); if (DateRevQueueBenchmark_BenchmarkState_jmhType.tearInvocationMutexUpdater.compareAndSet(l_benchmarkstate1_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); if (l_benchmarkstate1_G.readyInvocation) { l_benchmarkstate1_G.check(); l_benchmarkstate1_G.readyInvocation = false; } } catch (Throwable t) { control.isFailing = true; throw t; } finally { DateRevQueueBenchmark_BenchmarkState_jmhType.tearInvocationMutexUpdater.set(l_benchmarkstate1_G, 0); } } else { while (DateRevQueueBenchmark_BenchmarkState_jmhType.tearInvocationMutexUpdater.get(l_benchmarkstate1_G) == 1) { if (control.isFailing) throw new FailureAssistException(); if (Thread.interrupted()) throw new InterruptedException(); } } if (control.shouldYield) Thread.yield(); res.allOps++; } |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/SimpleLruCacheBenchmark_readwrite_jmhTest.java | 646 |
org/eclipse/jgit/benchmarks/jmh_generated/SimpleLruCacheBenchmark_readwrite_jmhTest.java | 693 |
testCacheRead_ss_jmhStub(control, res, benchmarkParams, iterationParams, threadParams, blackhole, notifyControl, startRndMask, batchSize, l_simplelrucachebenchmark0_G); control.preTearDown(); if (control.isLastIteration()) { if (SimpleLruCacheBenchmark_jmhType.tearTrialMutexUpdater.compareAndSet(l_simplelrucachebenchmark0_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); if (l_simplelrucachebenchmark0_G.readyTrial) { l_simplelrucachebenchmark0_G.teardown(); l_simplelrucachebenchmark0_G.readyTrial = false; } } catch (Throwable t) { control.isFailing = true; throw t; } finally { SimpleLruCacheBenchmark_jmhType.tearTrialMutexUpdater.set(l_simplelrucachebenchmark0_G, 0); } } else { long l_simplelrucachebenchmark0_G_backoff = 1; while (SimpleLruCacheBenchmark_jmhType.tearTrialMutexUpdater.get(l_simplelrucachebenchmark0_G) == 1) { TimeUnit.MILLISECONDS.sleep(l_simplelrucachebenchmark0_G_backoff); l_simplelrucachebenchmark0_G_backoff = Math.max(1024, l_simplelrucachebenchmark0_G_backoff * 2); if (control.isFailing) throw new FailureAssistException(); if (Thread.interrupted()) throw new InterruptedException(); } } synchronized(this.getClass()) { f_simplelrucachebenchmark0_G = null; } } int opsPerInv = control.benchmarkParams.getOpsPerInvocation(); long totalOps = opsPerInv; BenchmarkTaskResult results = new BenchmarkTaskResult(totalOps, totalOps); results.add(new SingleShotResult(ResultRole.PRIMARY, "readwrite", res.getTime(), totalOps, benchmarkParams.getTimeUnit())); results.add(new SingleShotResult(ResultRole.SECONDARY, "testCacheRead", res.getTime(), totalOps, benchmarkParams.getTimeUnit())); |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetExactRef_jmhTest.java | 86 |
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetExactRef_jmhTest.java | 181 |
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetExactRef_jmhTest.java | 280 |
testGetExactRef_thrpt_jmhStub(control, res, benchmarkParams, iterationParams, threadParams, blackhole, notifyControl, startRndMask, l_benchmarkstate1_G, l_getrefsbenchmark0_0); notifyControl.stopMeasurement = true; control.announceWarmdownReady(); try { while (control.warmdownShouldWait) { l_getrefsbenchmark0_0.testGetExactRef(blackhole, l_benchmarkstate1_G); if (control.shouldYield) Thread.yield(); res.allOps++; } } catch (Throwable e) { if (!(e instanceof InterruptedException)) throw e; } control.preTearDown(); if (control.isLastIteration()) { if (GetRefsBenchmark_BenchmarkState_jmhType.tearTrialMutexUpdater.compareAndSet(l_benchmarkstate1_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); if (l_benchmarkstate1_G.readyTrial) { l_benchmarkstate1_G.teardown(); l_benchmarkstate1_G.readyTrial = false; } } catch (Throwable t) { control.isFailing = true; throw t; } finally { GetRefsBenchmark_BenchmarkState_jmhType.tearTrialMutexUpdater.set(l_benchmarkstate1_G, 0); } } else { long l_benchmarkstate1_G_backoff = 1; while (GetRefsBenchmark_BenchmarkState_jmhType.tearTrialMutexUpdater.get(l_benchmarkstate1_G) == 1) { TimeUnit.MILLISECONDS.sleep(l_benchmarkstate1_G_backoff); l_benchmarkstate1_G_backoff = Math.max(1024, l_benchmarkstate1_G_backoff * 2); if (control.isFailing) throw new FailureAssistException(); if (Thread.interrupted()) throw new InterruptedException(); } } synchronized(this.getClass()) { f_benchmarkstate1_G = null; } f_getrefsbenchmark0_0 = null; } res.allOps += res.measuredOps; |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetRefsByPrefix_jmhTest.java | 86 |
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetRefsByPrefix_jmhTest.java | 181 |
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetRefsByPrefix_jmhTest.java | 280 |
testGetRefsByPrefix_thrpt_jmhStub(control, res, benchmarkParams, iterationParams, threadParams, blackhole, notifyControl, startRndMask, l_benchmarkstate1_G, l_getrefsbenchmark0_0); notifyControl.stopMeasurement = true; control.announceWarmdownReady(); try { while (control.warmdownShouldWait) { l_getrefsbenchmark0_0.testGetRefsByPrefix(blackhole, l_benchmarkstate1_G); if (control.shouldYield) Thread.yield(); res.allOps++; } } catch (Throwable e) { if (!(e instanceof InterruptedException)) throw e; } control.preTearDown(); if (control.isLastIteration()) { if (GetRefsBenchmark_BenchmarkState_jmhType.tearTrialMutexUpdater.compareAndSet(l_benchmarkstate1_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); if (l_benchmarkstate1_G.readyTrial) { l_benchmarkstate1_G.teardown(); l_benchmarkstate1_G.readyTrial = false; } } catch (Throwable t) { control.isFailing = true; throw t; } finally { GetRefsBenchmark_BenchmarkState_jmhType.tearTrialMutexUpdater.set(l_benchmarkstate1_G, 0); } } else { long l_benchmarkstate1_G_backoff = 1; while (GetRefsBenchmark_BenchmarkState_jmhType.tearTrialMutexUpdater.get(l_benchmarkstate1_G) == 1) { TimeUnit.MILLISECONDS.sleep(l_benchmarkstate1_G_backoff); l_benchmarkstate1_G_backoff = Math.max(1024, l_benchmarkstate1_G_backoff * 2); if (control.isFailing) throw new FailureAssistException(); if (Thread.interrupted()) throw new InterruptedException(); } } synchronized(this.getClass()) { f_benchmarkstate1_G = null; } f_getrefsbenchmark0_0 = null; } res.allOps += res.measuredOps; |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/SHA1Benchmark_testSHA1_jmhTest.java | 86 |
org/eclipse/jgit/benchmarks/jmh_generated/SHA1Benchmark_testSHA1_jmhTest.java | 181 |
org/eclipse/jgit/benchmarks/jmh_generated/SHA1Benchmark_testSHA1_jmhTest.java | 280 |
testSHA1_thrpt_jmhStub(control, res, benchmarkParams, iterationParams, threadParams, blackhole, notifyControl, startRndMask, l_benchmarkstate1_G, l_sha1benchmark0_0); notifyControl.stopMeasurement = true; control.announceWarmdownReady(); try { while (control.warmdownShouldWait) { l_sha1benchmark0_0.testSHA1(blackhole, l_benchmarkstate1_G); if (control.shouldYield) Thread.yield(); res.allOps++; } } catch (Throwable e) { if (!(e instanceof InterruptedException)) throw e; } control.preTearDown(); if (control.isLastIteration()) { if (SHA1Benchmark_BenchmarkState_jmhType.tearTrialMutexUpdater.compareAndSet(l_benchmarkstate1_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); if (l_benchmarkstate1_G.readyTrial) { l_benchmarkstate1_G.teardown(); l_benchmarkstate1_G.readyTrial = false; } } catch (Throwable t) { control.isFailing = true; throw t; } finally { SHA1Benchmark_BenchmarkState_jmhType.tearTrialMutexUpdater.set(l_benchmarkstate1_G, 0); } } else { long l_benchmarkstate1_G_backoff = 1; while (SHA1Benchmark_BenchmarkState_jmhType.tearTrialMutexUpdater.get(l_benchmarkstate1_G) == 1) { TimeUnit.MILLISECONDS.sleep(l_benchmarkstate1_G_backoff); l_benchmarkstate1_G_backoff = Math.max(1024, l_benchmarkstate1_G_backoff * 2); if (control.isFailing) throw new FailureAssistException(); if (Thread.interrupted()) throw new InterruptedException(); } } synchronized(this.getClass()) { f_benchmarkstate1_G = null; } f_sha1benchmark0_0 = null; } res.allOps += res.measuredOps; |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/SimpleLruCacheBenchmark_readwrite_jmhTest.java | 84 |
org/eclipse/jgit/benchmarks/jmh_generated/SimpleLruCacheBenchmark_readwrite_jmhTest.java | 260 |
org/eclipse/jgit/benchmarks/jmh_generated/SimpleLruCacheBenchmark_readwrite_jmhTest.java | 440 |
testCacheRead_thrpt_jmhStub(control, res, benchmarkParams, iterationParams, threadParams, blackhole, notifyControl, startRndMask, l_simplelrucachebenchmark0_G); notifyControl.stopMeasurement = true; control.announceWarmdownReady(); try { while (control.warmdownShouldWait) { blackhole.consume(l_simplelrucachebenchmark0_G.testCacheRead()); if (control.shouldYield) Thread.yield(); res.allOps++; } } catch (Throwable e) { if (!(e instanceof InterruptedException)) throw e; } control.preTearDown(); if (control.isLastIteration()) { if (SimpleLruCacheBenchmark_jmhType.tearTrialMutexUpdater.compareAndSet(l_simplelrucachebenchmark0_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); if (l_simplelrucachebenchmark0_G.readyTrial) { l_simplelrucachebenchmark0_G.teardown(); l_simplelrucachebenchmark0_G.readyTrial = false; } } catch (Throwable t) { control.isFailing = true; throw t; } finally { SimpleLruCacheBenchmark_jmhType.tearTrialMutexUpdater.set(l_simplelrucachebenchmark0_G, 0); } } else { long l_simplelrucachebenchmark0_G_backoff = 1; while (SimpleLruCacheBenchmark_jmhType.tearTrialMutexUpdater.get(l_simplelrucachebenchmark0_G) == 1) { TimeUnit.MILLISECONDS.sleep(l_simplelrucachebenchmark0_G_backoff); l_simplelrucachebenchmark0_G_backoff = Math.max(1024, l_simplelrucachebenchmark0_G_backoff * 2); if (control.isFailing) throw new FailureAssistException(); if (Thread.interrupted()) throw new InterruptedException(); } } synchronized(this.getClass()) { f_simplelrucachebenchmark0_G = null; } } res.allOps += res.measuredOps; |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/SimpleLruCacheBenchmark_readwrite_jmhTest.java | 153 |
org/eclipse/jgit/benchmarks/jmh_generated/SimpleLruCacheBenchmark_readwrite_jmhTest.java | 329 |
org/eclipse/jgit/benchmarks/jmh_generated/SimpleLruCacheBenchmark_readwrite_jmhTest.java | 510 |
testCacheWrite_thrpt_jmhStub(control, res, benchmarkParams, iterationParams, threadParams, blackhole, notifyControl, startRndMask, l_simplelrucachebenchmark0_G); notifyControl.stopMeasurement = true; control.announceWarmdownReady(); try { while (control.warmdownShouldWait) { blackhole.consume(l_simplelrucachebenchmark0_G.testCacheWrite()); if (control.shouldYield) Thread.yield(); res.allOps++; } } catch (Throwable e) { if (!(e instanceof InterruptedException)) throw e; } control.preTearDown(); if (control.isLastIteration()) { if (SimpleLruCacheBenchmark_jmhType.tearTrialMutexUpdater.compareAndSet(l_simplelrucachebenchmark0_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); if (l_simplelrucachebenchmark0_G.readyTrial) { l_simplelrucachebenchmark0_G.teardown(); l_simplelrucachebenchmark0_G.readyTrial = false; } } catch (Throwable t) { control.isFailing = true; throw t; } finally { SimpleLruCacheBenchmark_jmhType.tearTrialMutexUpdater.set(l_simplelrucachebenchmark0_G, 0); } } else { long l_simplelrucachebenchmark0_G_backoff = 1; while (SimpleLruCacheBenchmark_jmhType.tearTrialMutexUpdater.get(l_simplelrucachebenchmark0_G) == 1) { TimeUnit.MILLISECONDS.sleep(l_simplelrucachebenchmark0_G_backoff); l_simplelrucachebenchmark0_G_backoff = Math.max(1024, l_simplelrucachebenchmark0_G_backoff * 2); if (control.isFailing) throw new FailureAssistException(); if (Thread.interrupted()) throw new InterruptedException(); } } synchronized(this.getClass()) { f_simplelrucachebenchmark0_G = null; } } res.allOps += res.measuredOps; |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetExactRef_jmhTest.java | 385 |
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetRefsByPrefix_jmhTest.java | 385 |
testGetExactRef_ss_jmhStub(control, res, benchmarkParams, iterationParams, threadParams, blackhole, notifyControl, startRndMask, batchSize, l_benchmarkstate1_G, l_getrefsbenchmark0_0); control.preTearDown(); if (control.isLastIteration()) { if (GetRefsBenchmark_BenchmarkState_jmhType.tearTrialMutexUpdater.compareAndSet(l_benchmarkstate1_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); if (l_benchmarkstate1_G.readyTrial) { l_benchmarkstate1_G.teardown(); l_benchmarkstate1_G.readyTrial = false; } } catch (Throwable t) { control.isFailing = true; throw t; } finally { GetRefsBenchmark_BenchmarkState_jmhType.tearTrialMutexUpdater.set(l_benchmarkstate1_G, 0); } } else { long l_benchmarkstate1_G_backoff = 1; while (GetRefsBenchmark_BenchmarkState_jmhType.tearTrialMutexUpdater.get(l_benchmarkstate1_G) == 1) { TimeUnit.MILLISECONDS.sleep(l_benchmarkstate1_G_backoff); l_benchmarkstate1_G_backoff = Math.max(1024, l_benchmarkstate1_G_backoff * 2); if (control.isFailing) throw new FailureAssistException(); if (Thread.interrupted()) throw new InterruptedException(); } } synchronized(this.getClass()) { f_benchmarkstate1_G = null; } f_getrefsbenchmark0_0 = null; } int opsPerInv = control.benchmarkParams.getOpsPerInvocation(); long totalOps = opsPerInv; BenchmarkTaskResult results = new BenchmarkTaskResult(totalOps, totalOps); results.add(new SingleShotResult(ResultRole.PRIMARY, "testGetExactRef", res.getTime(), totalOps, benchmarkParams.getTimeUnit())); |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetExactRef_jmhTest.java | 91 |
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetExactRef_jmhTest.java | 186 |
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetRefsByPrefix_jmhTest.java | 285 |
l_getrefsbenchmark0_0.testGetExactRef(blackhole, l_benchmarkstate1_G); if (control.shouldYield) Thread.yield(); res.allOps++; } } catch (Throwable e) { if (!(e instanceof InterruptedException)) throw e; } control.preTearDown(); if (control.isLastIteration()) { if (GetRefsBenchmark_BenchmarkState_jmhType.tearTrialMutexUpdater.compareAndSet(l_benchmarkstate1_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); if (l_benchmarkstate1_G.readyTrial) { l_benchmarkstate1_G.teardown(); l_benchmarkstate1_G.readyTrial = false; } } catch (Throwable t) { control.isFailing = true; throw t; } finally { GetRefsBenchmark_BenchmarkState_jmhType.tearTrialMutexUpdater.set(l_benchmarkstate1_G, 0); } } else { long l_benchmarkstate1_G_backoff = 1; while (GetRefsBenchmark_BenchmarkState_jmhType.tearTrialMutexUpdater.get(l_benchmarkstate1_G) == 1) { TimeUnit.MILLISECONDS.sleep(l_benchmarkstate1_G_backoff); l_benchmarkstate1_G_backoff = Math.max(1024, l_benchmarkstate1_G_backoff * 2); if (control.isFailing) throw new FailureAssistException(); if (Thread.interrupted()) throw new InterruptedException(); } } synchronized(this.getClass()) { f_benchmarkstate1_G = null; } f_getrefsbenchmark0_0 = null; } res.allOps += res.measuredOps; |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetExactRef_jmhTest.java | 285 |
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetRefsByPrefix_jmhTest.java | 91 |
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetRefsByPrefix_jmhTest.java | 186 |
l_getrefsbenchmark0_0.testGetExactRef(blackhole, l_benchmarkstate1_G); if (control.shouldYield) Thread.yield(); res.allOps++; } } catch (Throwable e) { if (!(e instanceof InterruptedException)) throw e; } control.preTearDown(); if (control.isLastIteration()) { if (GetRefsBenchmark_BenchmarkState_jmhType.tearTrialMutexUpdater.compareAndSet(l_benchmarkstate1_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); if (l_benchmarkstate1_G.readyTrial) { l_benchmarkstate1_G.teardown(); l_benchmarkstate1_G.readyTrial = false; } } catch (Throwable t) { control.isFailing = true; throw t; } finally { GetRefsBenchmark_BenchmarkState_jmhType.tearTrialMutexUpdater.set(l_benchmarkstate1_G, 0); } } else { long l_benchmarkstate1_G_backoff = 1; while (GetRefsBenchmark_BenchmarkState_jmhType.tearTrialMutexUpdater.get(l_benchmarkstate1_G) == 1) { TimeUnit.MILLISECONDS.sleep(l_benchmarkstate1_G_backoff); l_benchmarkstate1_G_backoff = Math.max(1024, l_benchmarkstate1_G_backoff * 2); if (control.isFailing) throw new FailureAssistException(); if (Thread.interrupted()) throw new InterruptedException(); } } synchronized(this.getClass()) { f_benchmarkstate1_G = null; } f_getrefsbenchmark0_0 = null; } res.allOps += res.measuredOps * batchSize; |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/SimpleLruCacheBenchmark_readwrite_jmhTest.java | 89 |
org/eclipse/jgit/benchmarks/jmh_generated/SimpleLruCacheBenchmark_readwrite_jmhTest.java | 265 |
org/eclipse/jgit/benchmarks/jmh_generated/SimpleLruCacheBenchmark_readwrite_jmhTest.java | 515 |
blackhole.consume(l_simplelrucachebenchmark0_G.testCacheRead()); if (control.shouldYield) Thread.yield(); res.allOps++; } } catch (Throwable e) { if (!(e instanceof InterruptedException)) throw e; } control.preTearDown(); if (control.isLastIteration()) { if (SimpleLruCacheBenchmark_jmhType.tearTrialMutexUpdater.compareAndSet(l_simplelrucachebenchmark0_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); if (l_simplelrucachebenchmark0_G.readyTrial) { l_simplelrucachebenchmark0_G.teardown(); l_simplelrucachebenchmark0_G.readyTrial = false; } } catch (Throwable t) { control.isFailing = true; throw t; } finally { SimpleLruCacheBenchmark_jmhType.tearTrialMutexUpdater.set(l_simplelrucachebenchmark0_G, 0); } } else { long l_simplelrucachebenchmark0_G_backoff = 1; while (SimpleLruCacheBenchmark_jmhType.tearTrialMutexUpdater.get(l_simplelrucachebenchmark0_G) == 1) { TimeUnit.MILLISECONDS.sleep(l_simplelrucachebenchmark0_G_backoff); l_simplelrucachebenchmark0_G_backoff = Math.max(1024, l_simplelrucachebenchmark0_G_backoff * 2); if (control.isFailing) throw new FailureAssistException(); if (Thread.interrupted()) throw new InterruptedException(); } } synchronized(this.getClass()) { f_simplelrucachebenchmark0_G = null; } } res.allOps += res.measuredOps; |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/SimpleLruCacheBenchmark_readwrite_jmhTest.java | 158 |
org/eclipse/jgit/benchmarks/jmh_generated/SimpleLruCacheBenchmark_readwrite_jmhTest.java | 334 |
org/eclipse/jgit/benchmarks/jmh_generated/SimpleLruCacheBenchmark_readwrite_jmhTest.java | 445 |
blackhole.consume(l_simplelrucachebenchmark0_G.testCacheWrite()); if (control.shouldYield) Thread.yield(); res.allOps++; } } catch (Throwable e) { if (!(e instanceof InterruptedException)) throw e; } control.preTearDown(); if (control.isLastIteration()) { if (SimpleLruCacheBenchmark_jmhType.tearTrialMutexUpdater.compareAndSet(l_simplelrucachebenchmark0_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); if (l_simplelrucachebenchmark0_G.readyTrial) { l_simplelrucachebenchmark0_G.teardown(); l_simplelrucachebenchmark0_G.readyTrial = false; } } catch (Throwable t) { control.isFailing = true; throw t; } finally { SimpleLruCacheBenchmark_jmhType.tearTrialMutexUpdater.set(l_simplelrucachebenchmark0_G, 0); } } else { long l_simplelrucachebenchmark0_G_backoff = 1; while (SimpleLruCacheBenchmark_jmhType.tearTrialMutexUpdater.get(l_simplelrucachebenchmark0_G) == 1) { TimeUnit.MILLISECONDS.sleep(l_simplelrucachebenchmark0_G_backoff); l_simplelrucachebenchmark0_G_backoff = Math.max(1024, l_simplelrucachebenchmark0_G_backoff * 2); if (control.isFailing) throw new FailureAssistException(); if (Thread.interrupted()) throw new InterruptedException(); } } synchronized(this.getClass()) { f_simplelrucachebenchmark0_G = null; } } res.allOps += res.measuredOps; |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/CreateFileSnapshotBenchmark_testCreateFileSnapshot_jmhTest.java | 84 |
org/eclipse/jgit/benchmarks/jmh_generated/CreateFileSnapshotBenchmark_testCreateFileSnapshot_jmhTest.java | 154 |
testCreateFileSnapshot_thrpt_jmhStub(control, res, benchmarkParams, iterationParams, threadParams, blackhole, notifyControl, startRndMask, l_createfilesnapshotbenchmark0_0); notifyControl.stopMeasurement = true; control.announceWarmdownReady(); try { while (control.warmdownShouldWait) { blackhole.consume(l_createfilesnapshotbenchmark0_0.testCreateFileSnapshot()); if (control.shouldYield) Thread.yield(); res.allOps++; } } catch (Throwable e) { if (!(e instanceof InterruptedException)) throw e; } control.preTearDown(); if (control.isLastIteration()) { l_createfilesnapshotbenchmark0_0.teardown(); f_createfilesnapshotbenchmark0_0 = null; } res.allOps += res.measuredOps; int batchSize = iterationParams.getBatchSize(); int opsPerInv = benchmarkParams.getOpsPerInvocation(); res.allOps *= opsPerInv; res.allOps /= batchSize; res.measuredOps *= opsPerInv; res.measuredOps /= batchSize; BenchmarkTaskResult results = new BenchmarkTaskResult((long)res.allOps, (long)res.measuredOps); results.add(new ThroughputResult(ResultRole.PRIMARY, "testCreateFileSnapshot", res.measuredOps, res.getTime(), benchmarkParams.getTimeUnit())); |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/CreateFileSnapshotBenchmark_testCreateFile_jmhTest.java | 84 |
org/eclipse/jgit/benchmarks/jmh_generated/CreateFileSnapshotBenchmark_testCreateFile_jmhTest.java | 154 |
testCreateFile_thrpt_jmhStub(control, res, benchmarkParams, iterationParams, threadParams, blackhole, notifyControl, startRndMask, l_createfilesnapshotbenchmark0_0); notifyControl.stopMeasurement = true; control.announceWarmdownReady(); try { while (control.warmdownShouldWait) { blackhole.consume(l_createfilesnapshotbenchmark0_0.testCreateFile()); if (control.shouldYield) Thread.yield(); res.allOps++; } } catch (Throwable e) { if (!(e instanceof InterruptedException)) throw e; } control.preTearDown(); if (control.isLastIteration()) { l_createfilesnapshotbenchmark0_0.teardown(); f_createfilesnapshotbenchmark0_0 = null; } res.allOps += res.measuredOps; int batchSize = iterationParams.getBatchSize(); int opsPerInv = benchmarkParams.getOpsPerInvocation(); res.allOps *= opsPerInv; res.allOps /= batchSize; res.measuredOps *= opsPerInv; res.measuredOps /= batchSize; BenchmarkTaskResult results = new BenchmarkTaskResult((long)res.allOps, (long)res.measuredOps); results.add(new ThroughputResult(ResultRole.PRIMARY, "testCreateFile", res.measuredOps, res.getTime(), benchmarkParams.getTimeUnit())); |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToExistingDirExists_jmhTest.java | 84 |
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToExistingDirExists_jmhTest.java | 154 |
moveFileToExistingDirExists_thrpt_jmhStub(control, res, benchmarkParams, iterationParams, threadParams, blackhole, notifyControl, startRndMask, l_filemovebenchmark0_0); notifyControl.stopMeasurement = true; control.announceWarmdownReady(); try { while (control.warmdownShouldWait) { blackhole.consume(l_filemovebenchmark0_0.moveFileToExistingDirExists()); if (control.shouldYield) Thread.yield(); res.allOps++; } } catch (Throwable e) { if (!(e instanceof InterruptedException)) throw e; } control.preTearDown(); if (control.isLastIteration()) { l_filemovebenchmark0_0.teardown(); f_filemovebenchmark0_0 = null; } res.allOps += res.measuredOps; int batchSize = iterationParams.getBatchSize(); int opsPerInv = benchmarkParams.getOpsPerInvocation(); res.allOps *= opsPerInv; res.allOps /= batchSize; res.measuredOps *= opsPerInv; res.measuredOps /= batchSize; BenchmarkTaskResult results = new BenchmarkTaskResult((long)res.allOps, (long)res.measuredOps); results.add(new ThroughputResult(ResultRole.PRIMARY, "moveFileToExistingDirExists", res.measuredOps, res.getTime(), benchmarkParams.getTimeUnit())); |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToExistingDir_jmhTest.java | 84 |
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToExistingDir_jmhTest.java | 154 |
moveFileToExistingDir_thrpt_jmhStub(control, res, benchmarkParams, iterationParams, threadParams, blackhole, notifyControl, startRndMask, l_filemovebenchmark0_0); notifyControl.stopMeasurement = true; control.announceWarmdownReady(); try { while (control.warmdownShouldWait) { blackhole.consume(l_filemovebenchmark0_0.moveFileToExistingDir()); if (control.shouldYield) Thread.yield(); res.allOps++; } } catch (Throwable e) { if (!(e instanceof InterruptedException)) throw e; } control.preTearDown(); if (control.isLastIteration()) { l_filemovebenchmark0_0.teardown(); f_filemovebenchmark0_0 = null; } res.allOps += res.measuredOps; int batchSize = iterationParams.getBatchSize(); int opsPerInv = benchmarkParams.getOpsPerInvocation(); res.allOps *= opsPerInv; res.allOps /= batchSize; res.measuredOps *= opsPerInv; res.measuredOps /= batchSize; BenchmarkTaskResult results = new BenchmarkTaskResult((long)res.allOps, (long)res.measuredOps); results.add(new ThroughputResult(ResultRole.PRIMARY, "moveFileToExistingDir", res.measuredOps, res.getTime(), benchmarkParams.getTimeUnit())); |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToMissingDirExists_jmhTest.java | 84 |
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToMissingDirExists_jmhTest.java | 154 |
moveFileToMissingDirExists_thrpt_jmhStub(control, res, benchmarkParams, iterationParams, threadParams, blackhole, notifyControl, startRndMask, l_filemovebenchmark0_0); notifyControl.stopMeasurement = true; control.announceWarmdownReady(); try { while (control.warmdownShouldWait) { blackhole.consume(l_filemovebenchmark0_0.moveFileToMissingDirExists()); if (control.shouldYield) Thread.yield(); res.allOps++; } } catch (Throwable e) { if (!(e instanceof InterruptedException)) throw e; } control.preTearDown(); if (control.isLastIteration()) { l_filemovebenchmark0_0.teardown(); f_filemovebenchmark0_0 = null; } res.allOps += res.measuredOps; int batchSize = iterationParams.getBatchSize(); int opsPerInv = benchmarkParams.getOpsPerInvocation(); res.allOps *= opsPerInv; res.allOps /= batchSize; res.measuredOps *= opsPerInv; res.measuredOps /= batchSize; BenchmarkTaskResult results = new BenchmarkTaskResult((long)res.allOps, (long)res.measuredOps); results.add(new ThroughputResult(ResultRole.PRIMARY, "moveFileToMissingDirExists", res.measuredOps, res.getTime(), benchmarkParams.getTimeUnit())); |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToMissingDir_jmhTest.java | 84 |
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToMissingDir_jmhTest.java | 154 |
moveFileToMissingDir_thrpt_jmhStub(control, res, benchmarkParams, iterationParams, threadParams, blackhole, notifyControl, startRndMask, l_filemovebenchmark0_0); notifyControl.stopMeasurement = true; control.announceWarmdownReady(); try { while (control.warmdownShouldWait) { blackhole.consume(l_filemovebenchmark0_0.moveFileToMissingDir()); if (control.shouldYield) Thread.yield(); res.allOps++; } } catch (Throwable e) { if (!(e instanceof InterruptedException)) throw e; } control.preTearDown(); if (control.isLastIteration()) { l_filemovebenchmark0_0.teardown(); f_filemovebenchmark0_0 = null; } res.allOps += res.measuredOps; int batchSize = iterationParams.getBatchSize(); int opsPerInv = benchmarkParams.getOpsPerInvocation(); res.allOps *= opsPerInv; res.allOps /= batchSize; res.measuredOps *= opsPerInv; res.measuredOps /= batchSize; BenchmarkTaskResult results = new BenchmarkTaskResult((long)res.allOps, (long)res.measuredOps); results.add(new ThroughputResult(ResultRole.PRIMARY, "moveFileToMissingDir", res.measuredOps, res.getTime(), benchmarkParams.getTimeUnit())); |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/LookupFileStoreBenchmark_testLookupFileStore_jmhTest.java | 84 |
org/eclipse/jgit/benchmarks/jmh_generated/LookupFileStoreBenchmark_testLookupFileStore_jmhTest.java | 154 |
testLookupFileStore_thrpt_jmhStub(control, res, benchmarkParams, iterationParams, threadParams, blackhole, notifyControl, startRndMask, l_lookupfilestorebenchmark0_0); notifyControl.stopMeasurement = true; control.announceWarmdownReady(); try { while (control.warmdownShouldWait) { blackhole.consume(l_lookupfilestorebenchmark0_0.testLookupFileStore()); if (control.shouldYield) Thread.yield(); res.allOps++; } } catch (Throwable e) { if (!(e instanceof InterruptedException)) throw e; } control.preTearDown(); if (control.isLastIteration()) { l_lookupfilestorebenchmark0_0.teardown(); f_lookupfilestorebenchmark0_0 = null; } res.allOps += res.measuredOps; int batchSize = iterationParams.getBatchSize(); int opsPerInv = benchmarkParams.getOpsPerInvocation(); res.allOps *= opsPerInv; res.allOps /= batchSize; res.measuredOps *= opsPerInv; res.measuredOps /= batchSize; BenchmarkTaskResult results = new BenchmarkTaskResult((long)res.allOps, (long)res.measuredOps); results.add(new ThroughputResult(ResultRole.PRIMARY, "testLookupFileStore", res.measuredOps, res.getTime(), benchmarkParams.getTimeUnit())); |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetExactRef_jmhTest.java | 98 |
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetExactRef_jmhTest.java | 193 |
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetExactRef_jmhTest.java | 292 |
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetExactRef_jmhTest.java | 386 |
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetRefsByPrefix_jmhTest.java | 98 |
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetRefsByPrefix_jmhTest.java | 193 |
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetRefsByPrefix_jmhTest.java | 292 |
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetRefsByPrefix_jmhTest.java | 386 |
control.preTearDown(); if (control.isLastIteration()) { if (GetRefsBenchmark_BenchmarkState_jmhType.tearTrialMutexUpdater.compareAndSet(l_benchmarkstate1_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); if (l_benchmarkstate1_G.readyTrial) { l_benchmarkstate1_G.teardown(); l_benchmarkstate1_G.readyTrial = false; } } catch (Throwable t) { control.isFailing = true; throw t; } finally { GetRefsBenchmark_BenchmarkState_jmhType.tearTrialMutexUpdater.set(l_benchmarkstate1_G, 0); } } else { long l_benchmarkstate1_G_backoff = 1; while (GetRefsBenchmark_BenchmarkState_jmhType.tearTrialMutexUpdater.get(l_benchmarkstate1_G) == 1) { TimeUnit.MILLISECONDS.sleep(l_benchmarkstate1_G_backoff); l_benchmarkstate1_G_backoff = Math.max(1024, l_benchmarkstate1_G_backoff * 2); if (control.isFailing) throw new FailureAssistException(); if (Thread.interrupted()) throw new InterruptedException(); } } synchronized(this.getClass()) { f_benchmarkstate1_G = null; } f_getrefsbenchmark0_0 = null; } |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/SHA1Benchmark_testSHA1_jmhTest.java | 98 |
org/eclipse/jgit/benchmarks/jmh_generated/SHA1Benchmark_testSHA1_jmhTest.java | 193 |
org/eclipse/jgit/benchmarks/jmh_generated/SHA1Benchmark_testSHA1_jmhTest.java | 292 |
org/eclipse/jgit/benchmarks/jmh_generated/SHA1Benchmark_testSHA1_jmhTest.java | 386 |
control.preTearDown(); if (control.isLastIteration()) { if (SHA1Benchmark_BenchmarkState_jmhType.tearTrialMutexUpdater.compareAndSet(l_benchmarkstate1_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); if (l_benchmarkstate1_G.readyTrial) { l_benchmarkstate1_G.teardown(); l_benchmarkstate1_G.readyTrial = false; } } catch (Throwable t) { control.isFailing = true; throw t; } finally { SHA1Benchmark_BenchmarkState_jmhType.tearTrialMutexUpdater.set(l_benchmarkstate1_G, 0); } } else { long l_benchmarkstate1_G_backoff = 1; while (SHA1Benchmark_BenchmarkState_jmhType.tearTrialMutexUpdater.get(l_benchmarkstate1_G) == 1) { TimeUnit.MILLISECONDS.sleep(l_benchmarkstate1_G_backoff); l_benchmarkstate1_G_backoff = Math.max(1024, l_benchmarkstate1_G_backoff * 2); if (control.isFailing) throw new FailureAssistException(); if (Thread.interrupted()) throw new InterruptedException(); } } synchronized(this.getClass()) { f_benchmarkstate1_G = null; } f_sha1benchmark0_0 = null; } |
File | Line |
---|---|
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 172 |
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 380 |
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 592 |
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 725 |
control.preTearDown(); if (control.isLastIteration()) { if (DateRevQueueBenchmark_BenchmarkState_jmhType.tearTrialMutexUpdater.compareAndSet(l_benchmarkstate1_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); if (l_benchmarkstate1_G.readyTrial) { l_benchmarkstate1_G.teardown(); l_benchmarkstate1_G.readyTrial = false; } } catch (Throwable t) { control.isFailing = true; throw t; } finally { DateRevQueueBenchmark_BenchmarkState_jmhType.tearTrialMutexUpdater.set(l_benchmarkstate1_G, 0); } } else { long l_benchmarkstate1_G_backoff = 1; while (DateRevQueueBenchmark_BenchmarkState_jmhType.tearTrialMutexUpdater.get(l_benchmarkstate1_G) == 1) { TimeUnit.MILLISECONDS.sleep(l_benchmarkstate1_G_backoff); l_benchmarkstate1_G_backoff = Math.max(1024, l_benchmarkstate1_G_backoff * 2); if (control.isFailing) throw new FailureAssistException(); if (Thread.interrupted()) throw new InterruptedException(); } } synchronized(this.getClass()) { f_benchmarkstate1_G = null; } f_daterevqueuebenchmark0_0 = null; } |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/SimpleLruCacheBenchmark_readwrite_jmhTest.java | 96 |
org/eclipse/jgit/benchmarks/jmh_generated/SimpleLruCacheBenchmark_readwrite_jmhTest.java | 165 |
org/eclipse/jgit/benchmarks/jmh_generated/SimpleLruCacheBenchmark_readwrite_jmhTest.java | 272 |
org/eclipse/jgit/benchmarks/jmh_generated/SimpleLruCacheBenchmark_readwrite_jmhTest.java | 341 |
org/eclipse/jgit/benchmarks/jmh_generated/SimpleLruCacheBenchmark_readwrite_jmhTest.java | 452 |
org/eclipse/jgit/benchmarks/jmh_generated/SimpleLruCacheBenchmark_readwrite_jmhTest.java | 522 |
org/eclipse/jgit/benchmarks/jmh_generated/SimpleLruCacheBenchmark_readwrite_jmhTest.java | 647 |
org/eclipse/jgit/benchmarks/jmh_generated/SimpleLruCacheBenchmark_readwrite_jmhTest.java | 694 |
control.preTearDown(); if (control.isLastIteration()) { if (SimpleLruCacheBenchmark_jmhType.tearTrialMutexUpdater.compareAndSet(l_simplelrucachebenchmark0_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); if (l_simplelrucachebenchmark0_G.readyTrial) { l_simplelrucachebenchmark0_G.teardown(); l_simplelrucachebenchmark0_G.readyTrial = false; } } catch (Throwable t) { control.isFailing = true; throw t; } finally { SimpleLruCacheBenchmark_jmhType.tearTrialMutexUpdater.set(l_simplelrucachebenchmark0_G, 0); } } else { long l_simplelrucachebenchmark0_G_backoff = 1; while (SimpleLruCacheBenchmark_jmhType.tearTrialMutexUpdater.get(l_simplelrucachebenchmark0_G) == 1) { TimeUnit.MILLISECONDS.sleep(l_simplelrucachebenchmark0_G_backoff); l_simplelrucachebenchmark0_G_backoff = Math.max(1024, l_simplelrucachebenchmark0_G_backoff * 2); if (control.isFailing) throw new FailureAssistException(); if (Thread.interrupted()) throw new InterruptedException(); } } synchronized(this.getClass()) { f_simplelrucachebenchmark0_G = null; } } |
File | Line |
---|---|
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 242 |
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 450 |
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 678 |
realTime += (System.nanoTime() - rt); if (DateRevQueueBenchmark_BenchmarkState_jmhType.tearInvocationMutexUpdater.compareAndSet(l_benchmarkstate1_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); if (l_benchmarkstate1_G.readyInvocation) { l_benchmarkstate1_G.check(); l_benchmarkstate1_G.readyInvocation = false; } } catch (Throwable t) { control.isFailing = true; throw t; } finally { DateRevQueueBenchmark_BenchmarkState_jmhType.tearInvocationMutexUpdater.set(l_benchmarkstate1_G, 0); } } else { while (DateRevQueueBenchmark_BenchmarkState_jmhType.tearInvocationMutexUpdater.get(l_benchmarkstate1_G) == 1) { if (control.isFailing) throw new FailureAssistException(); if (Thread.interrupted()) throw new InterruptedException(); } } operations++; } while(!control.isDone); |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/CreateFileSnapshotBenchmark_testCreateFileSnapshot_jmhTest.java | 89 |
org/eclipse/jgit/benchmarks/jmh_generated/CreateFileSnapshotBenchmark_testCreateFile_jmhTest.java | 89 |
blackhole.consume(l_createfilesnapshotbenchmark0_0.testCreateFileSnapshot()); if (control.shouldYield) Thread.yield(); res.allOps++; } } catch (Throwable e) { if (!(e instanceof InterruptedException)) throw e; } control.preTearDown(); if (control.isLastIteration()) { l_createfilesnapshotbenchmark0_0.teardown(); f_createfilesnapshotbenchmark0_0 = null; } res.allOps += res.measuredOps; int batchSize = iterationParams.getBatchSize(); int opsPerInv = benchmarkParams.getOpsPerInvocation(); res.allOps *= opsPerInv; res.allOps /= batchSize; res.measuredOps *= opsPerInv; res.measuredOps /= batchSize; BenchmarkTaskResult results = new BenchmarkTaskResult((long)res.allOps, (long)res.measuredOps); results.add(new ThroughputResult(ResultRole.PRIMARY, "testCreateFileSnapshot", res.measuredOps, res.getTime(), benchmarkParams.getTimeUnit())); |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/CreateFileSnapshotBenchmark_testCreateFileSnapshot_jmhTest.java | 159 |
org/eclipse/jgit/benchmarks/jmh_generated/CreateFileSnapshotBenchmark_testCreateFile_jmhTest.java | 159 |
blackhole.consume(l_createfilesnapshotbenchmark0_0.testCreateFileSnapshot()); if (control.shouldYield) Thread.yield(); res.allOps++; } } catch (Throwable e) { if (!(e instanceof InterruptedException)) throw e; } control.preTearDown(); if (control.isLastIteration()) { l_createfilesnapshotbenchmark0_0.teardown(); f_createfilesnapshotbenchmark0_0 = null; } res.allOps += res.measuredOps; int batchSize = iterationParams.getBatchSize(); int opsPerInv = benchmarkParams.getOpsPerInvocation(); res.allOps *= opsPerInv; res.allOps /= batchSize; res.measuredOps *= opsPerInv; res.measuredOps /= batchSize; BenchmarkTaskResult results = new BenchmarkTaskResult((long)res.allOps, (long)res.measuredOps); results.add(new AverageTimeResult(ResultRole.PRIMARY, "testCreateFileSnapshot", res.measuredOps, res.getTime(), benchmarkParams.getTimeUnit())); |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToExistingDirExists_jmhTest.java | 89 |
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToExistingDir_jmhTest.java | 89 |
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToMissingDirExists_jmhTest.java | 89 |
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToMissingDir_jmhTest.java | 89 |
blackhole.consume(l_filemovebenchmark0_0.moveFileToExistingDirExists()); if (control.shouldYield) Thread.yield(); res.allOps++; } } catch (Throwable e) { if (!(e instanceof InterruptedException)) throw e; } control.preTearDown(); if (control.isLastIteration()) { l_filemovebenchmark0_0.teardown(); f_filemovebenchmark0_0 = null; } res.allOps += res.measuredOps; int batchSize = iterationParams.getBatchSize(); int opsPerInv = benchmarkParams.getOpsPerInvocation(); res.allOps *= opsPerInv; res.allOps /= batchSize; res.measuredOps *= opsPerInv; res.measuredOps /= batchSize; BenchmarkTaskResult results = new BenchmarkTaskResult((long)res.allOps, (long)res.measuredOps); results.add(new ThroughputResult(ResultRole.PRIMARY, "moveFileToExistingDirExists", res.measuredOps, res.getTime(), benchmarkParams.getTimeUnit())); |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToExistingDirExists_jmhTest.java | 159 |
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToExistingDir_jmhTest.java | 159 |
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToMissingDirExists_jmhTest.java | 159 |
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToMissingDir_jmhTest.java | 159 |
blackhole.consume(l_filemovebenchmark0_0.moveFileToExistingDirExists()); if (control.shouldYield) Thread.yield(); res.allOps++; } } catch (Throwable e) { if (!(e instanceof InterruptedException)) throw e; } control.preTearDown(); if (control.isLastIteration()) { l_filemovebenchmark0_0.teardown(); f_filemovebenchmark0_0 = null; } res.allOps += res.measuredOps; int batchSize = iterationParams.getBatchSize(); int opsPerInv = benchmarkParams.getOpsPerInvocation(); res.allOps *= opsPerInv; res.allOps /= batchSize; res.measuredOps *= opsPerInv; res.measuredOps /= batchSize; BenchmarkTaskResult results = new BenchmarkTaskResult((long)res.allOps, (long)res.measuredOps); results.add(new AverageTimeResult(ResultRole.PRIMARY, "moveFileToExistingDirExists", res.measuredOps, res.getTime(), benchmarkParams.getTimeUnit())); |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/CreateFileSnapshotBenchmark_testCreateFileSnapshot_jmhTest.java | 258 |
org/eclipse/jgit/benchmarks/jmh_generated/CreateFileSnapshotBenchmark_testCreateFile_jmhTest.java | 258 |
public static void testCreateFileSnapshot_sample_jmhStub(InfraControl control, RawResults result, BenchmarkParams benchmarkParams, IterationParams iterationParams, ThreadParams threadParams, Blackhole blackhole, Control notifyControl, int startRndMask, SampleBuffer buffer, int targetSamples, long opsPerInv, int batchSize, CreateFileSnapshotBenchmark_jmhType l_createfilesnapshotbenchmark0_0) throws Throwable { long realTime = 0; long operations = 0; int rnd = (int)System.nanoTime(); int rndMask = startRndMask; long time = 0; int currentStride = 0; do { rnd = (rnd * 1664525 + 1013904223); boolean sample = (rnd & rndMask) == 0; if (sample) { time = System.nanoTime(); } for (int b = 0; b < batchSize; b++) { if (control.volatileSpoiler) return; blackhole.consume(l_createfilesnapshotbenchmark0_0.testCreateFileSnapshot()); |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToExistingDirExists_jmhTest.java | 258 |
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToExistingDir_jmhTest.java | 258 |
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToMissingDirExists_jmhTest.java | 258 |
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToMissingDir_jmhTest.java | 258 |
public static void moveFileToExistingDirExists_sample_jmhStub(InfraControl control, RawResults result, BenchmarkParams benchmarkParams, IterationParams iterationParams, ThreadParams threadParams, Blackhole blackhole, Control notifyControl, int startRndMask, SampleBuffer buffer, int targetSamples, long opsPerInv, int batchSize, FileMoveBenchmark_jmhType l_filemovebenchmark0_0) throws Throwable { long realTime = 0; long operations = 0; int rnd = (int)System.nanoTime(); int rndMask = startRndMask; long time = 0; int currentStride = 0; do { rnd = (rnd * 1664525 + 1013904223); boolean sample = (rnd & rndMask) == 0; if (sample) { time = System.nanoTime(); } for (int b = 0; b < batchSize; b++) { if (control.volatileSpoiler) return; blackhole.consume(l_filemovebenchmark0_0.moveFileToExistingDirExists()); |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/SimpleLruCacheBenchmark_readwrite_jmhTest.java | 564 |
org/eclipse/jgit/benchmarks/jmh_generated/SimpleLruCacheBenchmark_readwrite_jmhTest.java | 596 |
public static void testCacheRead_sample_jmhStub(InfraControl control, RawResults result, BenchmarkParams benchmarkParams, IterationParams iterationParams, ThreadParams threadParams, Blackhole blackhole, Control notifyControl, int startRndMask, SampleBuffer buffer, int targetSamples, long opsPerInv, int batchSize, SimpleLruCacheBenchmark_jmhType l_simplelrucachebenchmark0_G) throws Throwable { long realTime = 0; long operations = 0; int rnd = (int)System.nanoTime(); int rndMask = startRndMask; long time = 0; int currentStride = 0; do { rnd = (rnd * 1664525 + 1013904223); boolean sample = (rnd & rndMask) == 0; if (sample) { time = System.nanoTime(); } for (int b = 0; b < batchSize; b++) { if (control.volatileSpoiler) return; blackhole.consume(l_simplelrucachebenchmark0_G.testCacheRead()); |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetExactRef_jmhTest.java | 62 |
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetExactRef_jmhTest.java | 157 |
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetExactRef_jmhTest.java | 252 |
public BenchmarkTaskResult testGetExactRef_Throughput(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) { RawResults res = new RawResults(); GetRefsBenchmark_jmhType l_getrefsbenchmark0_0 = _jmh_tryInit_f_getrefsbenchmark0_0(control); GetRefsBenchmark_BenchmarkState_jmhType l_benchmarkstate1_G = _jmh_tryInit_f_benchmarkstate1_G(control); control.preSetup(); control.announceWarmupReady(); while (control.warmupShouldWait) { l_getrefsbenchmark0_0.testGetExactRef(blackhole, l_benchmarkstate1_G); if (control.shouldYield) Thread.yield(); res.allOps++; } notifyControl.startMeasurement = true; |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetExactRef_jmhTest.java | 334 |
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetRefsByPrefix_jmhTest.java | 334 |
public static void testGetExactRef_sample_jmhStub(InfraControl control, RawResults result, BenchmarkParams benchmarkParams, IterationParams iterationParams, ThreadParams threadParams, Blackhole blackhole, Control notifyControl, int startRndMask, SampleBuffer buffer, int targetSamples, long opsPerInv, int batchSize, GetRefsBenchmark_BenchmarkState_jmhType l_benchmarkstate1_G, GetRefsBenchmark_jmhType l_getrefsbenchmark0_0) throws Throwable { long realTime = 0; long operations = 0; int rnd = (int)System.nanoTime(); int rndMask = startRndMask; long time = 0; int currentStride = 0; do { rnd = (rnd * 1664525 + 1013904223); boolean sample = (rnd & rndMask) == 0; if (sample) { time = System.nanoTime(); } for (int b = 0; b < batchSize; b++) { if (control.volatileSpoiler) return; l_getrefsbenchmark0_0.testGetExactRef(blackhole, l_benchmarkstate1_G); |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetRefsByPrefix_jmhTest.java | 62 |
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetRefsByPrefix_jmhTest.java | 157 |
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetRefsByPrefix_jmhTest.java | 252 |
public BenchmarkTaskResult testGetRefsByPrefix_Throughput(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) { RawResults res = new RawResults(); GetRefsBenchmark_jmhType l_getrefsbenchmark0_0 = _jmh_tryInit_f_getrefsbenchmark0_0(control); GetRefsBenchmark_BenchmarkState_jmhType l_benchmarkstate1_G = _jmh_tryInit_f_benchmarkstate1_G(control); control.preSetup(); control.announceWarmupReady(); while (control.warmupShouldWait) { l_getrefsbenchmark0_0.testGetRefsByPrefix(blackhole, l_benchmarkstate1_G); if (control.shouldYield) Thread.yield(); res.allOps++; } notifyControl.startMeasurement = true; |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/SHA1Benchmark_testSHA1_jmhTest.java | 62 |
org/eclipse/jgit/benchmarks/jmh_generated/SHA1Benchmark_testSHA1_jmhTest.java | 157 |
org/eclipse/jgit/benchmarks/jmh_generated/SHA1Benchmark_testSHA1_jmhTest.java | 252 |
public BenchmarkTaskResult testSHA1_Throughput(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) { RawResults res = new RawResults(); SHA1Benchmark_jmhType l_sha1benchmark0_0 = _jmh_tryInit_f_sha1benchmark0_0(control); SHA1Benchmark_BenchmarkState_jmhType l_benchmarkstate1_G = _jmh_tryInit_f_benchmarkstate1_G(control); control.preSetup(); control.announceWarmupReady(); while (control.warmupShouldWait) { l_sha1benchmark0_0.testSHA1(blackhole, l_benchmarkstate1_G); if (control.shouldYield) Thread.yield(); res.allOps++; } notifyControl.startMeasurement = true; |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/CreateFileSnapshotBenchmark_testCreateFileSnapshot_jmhTest.java | 89 |
org/eclipse/jgit/benchmarks/jmh_generated/CreateFileSnapshotBenchmark_testCreateFile_jmhTest.java | 159 |
blackhole.consume(l_createfilesnapshotbenchmark0_0.testCreateFileSnapshot()); if (control.shouldYield) Thread.yield(); res.allOps++; } } catch (Throwable e) { if (!(e instanceof InterruptedException)) throw e; } control.preTearDown(); if (control.isLastIteration()) { l_createfilesnapshotbenchmark0_0.teardown(); f_createfilesnapshotbenchmark0_0 = null; } res.allOps += res.measuredOps; int batchSize = iterationParams.getBatchSize(); int opsPerInv = benchmarkParams.getOpsPerInvocation(); res.allOps *= opsPerInv; res.allOps /= batchSize; res.measuredOps *= opsPerInv; res.measuredOps /= batchSize; BenchmarkTaskResult results = new BenchmarkTaskResult((long)res.allOps, (long)res.measuredOps); results.add(new ThroughputResult(ResultRole.PRIMARY, "testCreateFileSnapshot", res.measuredOps, res.getTime(), benchmarkParams.getTimeUnit())); |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/CreateFileSnapshotBenchmark_testCreateFileSnapshot_jmhTest.java | 159 |
org/eclipse/jgit/benchmarks/jmh_generated/CreateFileSnapshotBenchmark_testCreateFile_jmhTest.java | 89 |
blackhole.consume(l_createfilesnapshotbenchmark0_0.testCreateFileSnapshot()); if (control.shouldYield) Thread.yield(); res.allOps++; } } catch (Throwable e) { if (!(e instanceof InterruptedException)) throw e; } control.preTearDown(); if (control.isLastIteration()) { l_createfilesnapshotbenchmark0_0.teardown(); f_createfilesnapshotbenchmark0_0 = null; } res.allOps += res.measuredOps; int batchSize = iterationParams.getBatchSize(); int opsPerInv = benchmarkParams.getOpsPerInvocation(); res.allOps *= opsPerInv; res.allOps /= batchSize; res.measuredOps *= opsPerInv; res.measuredOps /= batchSize; BenchmarkTaskResult results = new BenchmarkTaskResult((long)res.allOps, (long)res.measuredOps); results.add(new AverageTimeResult(ResultRole.PRIMARY, "testCreateFileSnapshot", res.measuredOps, res.getTime(), benchmarkParams.getTimeUnit())); |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToExistingDirExists_jmhTest.java | 89 |
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToExistingDir_jmhTest.java | 159 |
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToMissingDirExists_jmhTest.java | 159 |
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToMissingDir_jmhTest.java | 159 |
blackhole.consume(l_filemovebenchmark0_0.moveFileToExistingDirExists()); if (control.shouldYield) Thread.yield(); res.allOps++; } } catch (Throwable e) { if (!(e instanceof InterruptedException)) throw e; } control.preTearDown(); if (control.isLastIteration()) { l_filemovebenchmark0_0.teardown(); f_filemovebenchmark0_0 = null; } res.allOps += res.measuredOps; int batchSize = iterationParams.getBatchSize(); int opsPerInv = benchmarkParams.getOpsPerInvocation(); res.allOps *= opsPerInv; res.allOps /= batchSize; res.measuredOps *= opsPerInv; res.measuredOps /= batchSize; BenchmarkTaskResult results = new BenchmarkTaskResult((long)res.allOps, (long)res.measuredOps); results.add(new ThroughputResult(ResultRole.PRIMARY, "moveFileToExistingDirExists", res.measuredOps, res.getTime(), benchmarkParams.getTimeUnit())); |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToExistingDirExists_jmhTest.java | 159 |
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToExistingDir_jmhTest.java | 89 |
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToMissingDirExists_jmhTest.java | 89 |
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToMissingDir_jmhTest.java | 89 |
blackhole.consume(l_filemovebenchmark0_0.moveFileToExistingDirExists()); if (control.shouldYield) Thread.yield(); res.allOps++; } } catch (Throwable e) { if (!(e instanceof InterruptedException)) throw e; } control.preTearDown(); if (control.isLastIteration()) { l_filemovebenchmark0_0.teardown(); f_filemovebenchmark0_0 = null; } res.allOps += res.measuredOps; int batchSize = iterationParams.getBatchSize(); int opsPerInv = benchmarkParams.getOpsPerInvocation(); res.allOps *= opsPerInv; res.allOps /= batchSize; res.measuredOps *= opsPerInv; res.measuredOps /= batchSize; BenchmarkTaskResult results = new BenchmarkTaskResult((long)res.allOps, (long)res.measuredOps); results.add(new AverageTimeResult(ResultRole.PRIMARY, "moveFileToExistingDirExists", res.measuredOps, res.getTime(), benchmarkParams.getTimeUnit())); |
File | Line |
---|---|
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 678 |
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 790 |
realTime += (System.nanoTime() - rt); if (DateRevQueueBenchmark_BenchmarkState_jmhType.tearInvocationMutexUpdater.compareAndSet(l_benchmarkstate1_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); if (l_benchmarkstate1_G.readyInvocation) { l_benchmarkstate1_G.check(); l_benchmarkstate1_G.readyInvocation = false; } } catch (Throwable t) { control.isFailing = true; throw t; } finally { DateRevQueueBenchmark_BenchmarkState_jmhType.tearInvocationMutexUpdater.set(l_benchmarkstate1_G, 0); } } else { while (DateRevQueueBenchmark_BenchmarkState_jmhType.tearInvocationMutexUpdater.get(l_benchmarkstate1_G) == 1) { if (control.isFailing) throw new FailureAssistException(); if (Thread.interrupted()) throw new InterruptedException(); } } |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/CreateFileSnapshotBenchmark_testCreateFileSnapshot_jmhTest.java | 61 |
org/eclipse/jgit/benchmarks/jmh_generated/CreateFileSnapshotBenchmark_testCreateFileSnapshot_jmhTest.java | 131 |
org/eclipse/jgit/benchmarks/jmh_generated/CreateFileSnapshotBenchmark_testCreateFileSnapshot_jmhTest.java | 201 |
public BenchmarkTaskResult testCreateFileSnapshot_Throughput(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) { RawResults res = new RawResults(); CreateFileSnapshotBenchmark_jmhType l_createfilesnapshotbenchmark0_0 = _jmh_tryInit_f_createfilesnapshotbenchmark0_0(control); control.preSetup(); control.announceWarmupReady(); while (control.warmupShouldWait) { blackhole.consume(l_createfilesnapshotbenchmark0_0.testCreateFileSnapshot()); if (control.shouldYield) Thread.yield(); res.allOps++; } notifyControl.startMeasurement = true; |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/CreateFileSnapshotBenchmark_testCreateFile_jmhTest.java | 61 |
org/eclipse/jgit/benchmarks/jmh_generated/CreateFileSnapshotBenchmark_testCreateFile_jmhTest.java | 131 |
org/eclipse/jgit/benchmarks/jmh_generated/CreateFileSnapshotBenchmark_testCreateFile_jmhTest.java | 201 |
public BenchmarkTaskResult testCreateFile_Throughput(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) { RawResults res = new RawResults(); CreateFileSnapshotBenchmark_jmhType l_createfilesnapshotbenchmark0_0 = _jmh_tryInit_f_createfilesnapshotbenchmark0_0(control); control.preSetup(); control.announceWarmupReady(); while (control.warmupShouldWait) { blackhole.consume(l_createfilesnapshotbenchmark0_0.testCreateFile()); if (control.shouldYield) Thread.yield(); res.allOps++; } notifyControl.startMeasurement = true; |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToExistingDirExists_jmhTest.java | 61 |
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToExistingDirExists_jmhTest.java | 131 |
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToExistingDirExists_jmhTest.java | 201 |
public BenchmarkTaskResult moveFileToExistingDirExists_Throughput(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) { RawResults res = new RawResults(); FileMoveBenchmark_jmhType l_filemovebenchmark0_0 = _jmh_tryInit_f_filemovebenchmark0_0(control); control.preSetup(); control.announceWarmupReady(); while (control.warmupShouldWait) { blackhole.consume(l_filemovebenchmark0_0.moveFileToExistingDirExists()); if (control.shouldYield) Thread.yield(); res.allOps++; } notifyControl.startMeasurement = true; |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToExistingDir_jmhTest.java | 61 |
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToExistingDir_jmhTest.java | 131 |
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToExistingDir_jmhTest.java | 201 |
public BenchmarkTaskResult moveFileToExistingDir_Throughput(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) { RawResults res = new RawResults(); FileMoveBenchmark_jmhType l_filemovebenchmark0_0 = _jmh_tryInit_f_filemovebenchmark0_0(control); control.preSetup(); control.announceWarmupReady(); while (control.warmupShouldWait) { blackhole.consume(l_filemovebenchmark0_0.moveFileToExistingDir()); if (control.shouldYield) Thread.yield(); res.allOps++; } notifyControl.startMeasurement = true; |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToMissingDirExists_jmhTest.java | 61 |
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToMissingDirExists_jmhTest.java | 131 |
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToMissingDirExists_jmhTest.java | 201 |
public BenchmarkTaskResult moveFileToMissingDirExists_Throughput(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) { RawResults res = new RawResults(); FileMoveBenchmark_jmhType l_filemovebenchmark0_0 = _jmh_tryInit_f_filemovebenchmark0_0(control); control.preSetup(); control.announceWarmupReady(); while (control.warmupShouldWait) { blackhole.consume(l_filemovebenchmark0_0.moveFileToMissingDirExists()); if (control.shouldYield) Thread.yield(); res.allOps++; } notifyControl.startMeasurement = true; |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToMissingDir_jmhTest.java | 61 |
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToMissingDir_jmhTest.java | 131 |
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToMissingDir_jmhTest.java | 201 |
public BenchmarkTaskResult moveFileToMissingDir_Throughput(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) { RawResults res = new RawResults(); FileMoveBenchmark_jmhType l_filemovebenchmark0_0 = _jmh_tryInit_f_filemovebenchmark0_0(control); control.preSetup(); control.announceWarmupReady(); while (control.warmupShouldWait) { blackhole.consume(l_filemovebenchmark0_0.moveFileToMissingDir()); if (control.shouldYield) Thread.yield(); res.allOps++; } notifyControl.startMeasurement = true; |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/LookupFileStoreBenchmark_testLookupFileStore_jmhTest.java | 61 |
org/eclipse/jgit/benchmarks/jmh_generated/LookupFileStoreBenchmark_testLookupFileStore_jmhTest.java | 131 |
org/eclipse/jgit/benchmarks/jmh_generated/LookupFileStoreBenchmark_testLookupFileStore_jmhTest.java | 201 |
public BenchmarkTaskResult testLookupFileStore_Throughput(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) { RawResults res = new RawResults(); LookupFileStoreBenchmark_jmhType l_lookupfilestorebenchmark0_0 = _jmh_tryInit_f_lookupfilestorebenchmark0_0(control); control.preSetup(); control.announceWarmupReady(); while (control.warmupShouldWait) { blackhole.consume(l_lookupfilestorebenchmark0_0.testLookupFileStore()); if (control.shouldYield) Thread.yield(); res.allOps++; } notifyControl.startMeasurement = true; |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/SimpleLruCacheBenchmark_readwrite_jmhTest.java | 61 |
org/eclipse/jgit/benchmarks/jmh_generated/SimpleLruCacheBenchmark_readwrite_jmhTest.java | 237 |
org/eclipse/jgit/benchmarks/jmh_generated/SimpleLruCacheBenchmark_readwrite_jmhTest.java | 413 |
public BenchmarkTaskResult readwrite_Throughput(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) { RawResults res = new RawResults(); SimpleLruCacheBenchmark_jmhType l_simplelrucachebenchmark0_G = _jmh_tryInit_f_simplelrucachebenchmark0_G(control); control.preSetup(); control.announceWarmupReady(); while (control.warmupShouldWait) { blackhole.consume(l_simplelrucachebenchmark0_G.testCacheRead()); if (control.shouldYield) Thread.yield(); res.allOps++; } notifyControl.startMeasurement = true; |
File | Line |
---|---|
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 221 |
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 429 |
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 641 |
do { if (DateRevQueueBenchmark_BenchmarkState_jmhType.setupInvocationMutexUpdater.compareAndSet(l_benchmarkstate1_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); if (!l_benchmarkstate1_G.readyInvocation) { l_benchmarkstate1_G.readyInvocation = true; } } catch (Throwable t) { control.isFailing = true; throw t; } finally { DateRevQueueBenchmark_BenchmarkState_jmhType.setupInvocationMutexUpdater.set(l_benchmarkstate1_G, 0); } } else { while (DateRevQueueBenchmark_BenchmarkState_jmhType.setupInvocationMutexUpdater.get(l_benchmarkstate1_G) == 1) { if (control.isFailing) throw new FailureAssistException(); if (Thread.interrupted()) throw new InterruptedException(); } } long rt = System.nanoTime(); |
File | Line |
---|---|
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 642 |
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 770 |
if (DateRevQueueBenchmark_BenchmarkState_jmhType.setupInvocationMutexUpdater.compareAndSet(l_benchmarkstate1_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); if (!l_benchmarkstate1_G.readyInvocation) { l_benchmarkstate1_G.readyInvocation = true; } } catch (Throwable t) { control.isFailing = true; throw t; } finally { DateRevQueueBenchmark_BenchmarkState_jmhType.setupInvocationMutexUpdater.set(l_benchmarkstate1_G, 0); } } else { while (DateRevQueueBenchmark_BenchmarkState_jmhType.setupInvocationMutexUpdater.get(l_benchmarkstate1_G) == 1) { if (control.isFailing) throw new FailureAssistException(); if (Thread.interrupted()) throw new InterruptedException(); } } long rt = System.nanoTime(); |
File | Line |
---|---|
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 98 |
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 146 |
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 242 |
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 306 |
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 354 |
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 450 |
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 514 |
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 566 |
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 678 |
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 790 |
l_daterevqueuebenchmark0_0.testDataRevQueue(l_benchmarkstate1_G); if (DateRevQueueBenchmark_BenchmarkState_jmhType.tearInvocationMutexUpdater.compareAndSet(l_benchmarkstate1_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); if (l_benchmarkstate1_G.readyInvocation) { l_benchmarkstate1_G.check(); l_benchmarkstate1_G.readyInvocation = false; } } catch (Throwable t) { control.isFailing = true; throw t; } finally { DateRevQueueBenchmark_BenchmarkState_jmhType.tearInvocationMutexUpdater.set(l_benchmarkstate1_G, 0); } } else { while (DateRevQueueBenchmark_BenchmarkState_jmhType.tearInvocationMutexUpdater.get(l_benchmarkstate1_G) == 1) { if (control.isFailing) throw new FailureAssistException(); if (Thread.interrupted()) throw new InterruptedException(); } } |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/CreateFileSnapshotBenchmark_testCreateFileSnapshot_jmhTest.java | 233 |
org/eclipse/jgit/benchmarks/jmh_generated/CreateFileSnapshotBenchmark_testCreateFile_jmhTest.java | 233 |
blackhole.consume(l_createfilesnapshotbenchmark0_0.testCreateFileSnapshot()); if (control.shouldYield) Thread.yield(); res.allOps++; } } catch (Throwable e) { if (!(e instanceof InterruptedException)) throw e; } control.preTearDown(); if (control.isLastIteration()) { l_createfilesnapshotbenchmark0_0.teardown(); f_createfilesnapshotbenchmark0_0 = null; } res.allOps += res.measuredOps * batchSize; res.allOps *= opsPerInv; res.allOps /= batchSize; res.measuredOps *= opsPerInv; BenchmarkTaskResult results = new BenchmarkTaskResult((long)res.allOps, (long)res.measuredOps); results.add(new SampleTimeResult(ResultRole.PRIMARY, "testCreateFileSnapshot", buffer, benchmarkParams.getTimeUnit())); |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToExistingDirExists_jmhTest.java | 233 |
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToExistingDir_jmhTest.java | 233 |
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToMissingDirExists_jmhTest.java | 233 |
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToMissingDir_jmhTest.java | 233 |
blackhole.consume(l_filemovebenchmark0_0.moveFileToExistingDirExists()); if (control.shouldYield) Thread.yield(); res.allOps++; } } catch (Throwable e) { if (!(e instanceof InterruptedException)) throw e; } control.preTearDown(); if (control.isLastIteration()) { l_filemovebenchmark0_0.teardown(); f_filemovebenchmark0_0 = null; } res.allOps += res.measuredOps * batchSize; res.allOps *= opsPerInv; res.allOps /= batchSize; res.measuredOps *= opsPerInv; BenchmarkTaskResult results = new BenchmarkTaskResult((long)res.allOps, (long)res.measuredOps); results.add(new SampleTimeResult(ResultRole.PRIMARY, "moveFileToExistingDirExists", buffer, benchmarkParams.getTimeUnit())); |
File | Line |
---|---|
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 79 |
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 127 |
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 221 |
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 287 |
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 335 |
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 429 |
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 495 |
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 547 |
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 641 |
while (control.warmupShouldWait) { if (DateRevQueueBenchmark_BenchmarkState_jmhType.setupInvocationMutexUpdater.compareAndSet(l_benchmarkstate1_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); if (!l_benchmarkstate1_G.readyInvocation) { l_benchmarkstate1_G.readyInvocation = true; } } catch (Throwable t) { control.isFailing = true; throw t; } finally { DateRevQueueBenchmark_BenchmarkState_jmhType.setupInvocationMutexUpdater.set(l_benchmarkstate1_G, 0); } } else { while (DateRevQueueBenchmark_BenchmarkState_jmhType.setupInvocationMutexUpdater.get(l_benchmarkstate1_G) == 1) { if (control.isFailing) throw new FailureAssistException(); if (Thread.interrupted()) throw new InterruptedException(); } } |
File | Line |
---|---|
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 80 |
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 128 |
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 288 |
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 336 |
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 496 |
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 548 |
org/eclipse/jgit/revwalk/jmh_generated/DateRevQueueBenchmark_testDataRevQueue_jmhTest.java | 770 |
if (DateRevQueueBenchmark_BenchmarkState_jmhType.setupInvocationMutexUpdater.compareAndSet(l_benchmarkstate1_G, 0, 1)) { try { if (control.isFailing) throw new FailureAssistException(); if (!l_benchmarkstate1_G.readyInvocation) { l_benchmarkstate1_G.readyInvocation = true; } } catch (Throwable t) { control.isFailing = true; throw t; } finally { DateRevQueueBenchmark_BenchmarkState_jmhType.setupInvocationMutexUpdater.set(l_benchmarkstate1_G, 0); } } else { while (DateRevQueueBenchmark_BenchmarkState_jmhType.setupInvocationMutexUpdater.get(l_benchmarkstate1_G) == 1) { if (control.isFailing) throw new FailureAssistException(); if (Thread.interrupted()) throw new InterruptedException(); } } |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/SimpleLruCacheBenchmark_readwrite_jmhTest.java | 134 |
org/eclipse/jgit/benchmarks/jmh_generated/SimpleLruCacheBenchmark_readwrite_jmhTest.java | 310 |
results.add(new ThroughputResult(ResultRole.SECONDARY, "testCacheRead", res.measuredOps, res.getTime(), benchmarkParams.getTimeUnit())); this.blackhole.evaporate("Yes, I am Stephen Hawking, and know a thing or two about black holes."); return results; } else if (threadParams.getSubgroupIndex() == 1) { RawResults res = new RawResults(); SimpleLruCacheBenchmark_jmhType l_simplelrucachebenchmark0_G = _jmh_tryInit_f_simplelrucachebenchmark0_G(control); control.preSetup(); control.announceWarmupReady(); while (control.warmupShouldWait) { blackhole.consume(l_simplelrucachebenchmark0_G.testCacheWrite()); if (control.shouldYield) Thread.yield(); res.allOps++; } notifyControl.startMeasurement = true; |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/FileMoveBenchmark.java | 66 |
org/eclipse/jgit/benchmarks/FileMoveBenchmark.java | 101 |
Path targetFile = targetDirectory.resolve("tmp" + i); try { return Files.move(tmp, targetFile, StandardCopyOption.ATOMIC_MOVE); } catch (NoSuchFileException e) { Files.createDirectory(targetDirectory); return Files.move(tmp, targetFile, StandardCopyOption.ATOMIC_MOVE); } } @Benchmark @BenchmarkMode({ Mode.AverageTime }) @OutputTimeUnit(TimeUnit.MICROSECONDS) @Warmup(iterations = 5, time = 1000, timeUnit = TimeUnit.MILLISECONDS) @Measurement(iterations = 5, time = 5000, timeUnit = TimeUnit.MILLISECONDS) public Path moveFileToExistingDirExists() throws IOException { |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetExactRef_jmhTest.java | 62 |
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetExactRef_jmhTest.java | 157 |
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetExactRef_jmhTest.java | 252 |
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetRefsByPrefix_jmhTest.java | 62 |
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetRefsByPrefix_jmhTest.java | 157 |
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetRefsByPrefix_jmhTest.java | 252 |
public BenchmarkTaskResult testGetExactRef_Throughput(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) { RawResults res = new RawResults(); GetRefsBenchmark_jmhType l_getrefsbenchmark0_0 = _jmh_tryInit_f_getrefsbenchmark0_0(control); GetRefsBenchmark_BenchmarkState_jmhType l_benchmarkstate1_G = _jmh_tryInit_f_benchmarkstate1_G(control); control.preSetup(); control.announceWarmupReady(); while (control.warmupShouldWait) { l_getrefsbenchmark0_0.testGetExactRef(blackhole, l_benchmarkstate1_G); |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetExactRef_jmhTest.java | 367 |
org/eclipse/jgit/benchmarks/jmh_generated/GetRefsBenchmark_testGetRefsByPrefix_jmhTest.java | 367 |
public BenchmarkTaskResult testGetExactRef_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) { GetRefsBenchmark_jmhType l_getrefsbenchmark0_0 = _jmh_tryInit_f_getrefsbenchmark0_0(control); GetRefsBenchmark_BenchmarkState_jmhType l_benchmarkstate1_G = _jmh_tryInit_f_benchmarkstate1_G(control); control.preSetup(); notifyControl.startMeasurement = true; RawResults res = new RawResults(); int batchSize = iterationParams.getBatchSize(); |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/CreateFileSnapshotBenchmark_testCreateFileSnapshot_jmhTest.java | 61 |
org/eclipse/jgit/benchmarks/jmh_generated/CreateFileSnapshotBenchmark_testCreateFileSnapshot_jmhTest.java | 131 |
org/eclipse/jgit/benchmarks/jmh_generated/CreateFileSnapshotBenchmark_testCreateFileSnapshot_jmhTest.java | 201 |
org/eclipse/jgit/benchmarks/jmh_generated/CreateFileSnapshotBenchmark_testCreateFile_jmhTest.java | 61 |
org/eclipse/jgit/benchmarks/jmh_generated/CreateFileSnapshotBenchmark_testCreateFile_jmhTest.java | 131 |
org/eclipse/jgit/benchmarks/jmh_generated/CreateFileSnapshotBenchmark_testCreateFile_jmhTest.java | 201 |
public BenchmarkTaskResult testCreateFileSnapshot_Throughput(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) { RawResults res = new RawResults(); CreateFileSnapshotBenchmark_jmhType l_createfilesnapshotbenchmark0_0 = _jmh_tryInit_f_createfilesnapshotbenchmark0_0(control); control.preSetup(); control.announceWarmupReady(); while (control.warmupShouldWait) { blackhole.consume(l_createfilesnapshotbenchmark0_0.testCreateFileSnapshot()); |
File | Line |
---|---|
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToExistingDirExists_jmhTest.java | 61 |
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToExistingDirExists_jmhTest.java | 131 |
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToExistingDirExists_jmhTest.java | 201 |
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToExistingDir_jmhTest.java | 61 |
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToExistingDir_jmhTest.java | 131 |
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToExistingDir_jmhTest.java | 201 |
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToMissingDirExists_jmhTest.java | 61 |
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToMissingDirExists_jmhTest.java | 131 |
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToMissingDirExists_jmhTest.java | 201 |
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToMissingDir_jmhTest.java | 61 |
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToMissingDir_jmhTest.java | 131 |
org/eclipse/jgit/benchmarks/jmh_generated/FileMoveBenchmark_moveFileToMissingDir_jmhTest.java | 201 |
public BenchmarkTaskResult moveFileToExistingDirExists_Throughput(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) { RawResults res = new RawResults(); FileMoveBenchmark_jmhType l_filemovebenchmark0_0 = _jmh_tryInit_f_filemovebenchmark0_0(control); control.preSetup(); control.announceWarmupReady(); while (control.warmupShouldWait) { blackhole.consume(l_filemovebenchmark0_0.moveFileToExistingDirExists()); |