Home
last modified time | relevance | path

Searched defs:reps (Results 1 – 25 of 109) sorted by relevance

12345

/external/caliper/examples/src/main/java/examples/
DCharacterBenchmark.java54 @Benchmark boolean isSpace(int reps) { in isSpace()
72 @Benchmark void digit(int reps) { in digit()
88 @Benchmark void getNumericValue(int reps) { in getNumericValue()
104 @Benchmark void isDigit(int reps) { in isDigit()
120 @Benchmark void isIdentifierIgnorable(int reps) { in isIdentifierIgnorable()
136 @Benchmark void isJavaIdentifierPart(int reps) { in isJavaIdentifierPart()
152 @Benchmark void isJavaIdentifierStart(int reps) { in isJavaIdentifierStart()
168 @Benchmark void isLetter(int reps) { in isLetter()
184 @Benchmark void isLetterOrDigit(int reps) { in isLetterOrDigit()
200 @Benchmark void isLowerCase(int reps) { in isLowerCase()
[all …]
DStringBuilderBenchmark.java31 @Benchmark void appendBoolean(int reps) { in appendBoolean()
42 @Benchmark void appendChar(int reps) { in appendChar()
51 @Benchmark void appendCharArray(int reps) { in appendCharArray()
61 @Benchmark void appendCharSequence(int reps) { in appendCharSequence()
71 @Benchmark void appendDouble(int reps) { in appendDouble()
81 @Benchmark void appendFloat(int reps) { in appendFloat()
91 @Benchmark void appendInt(int reps) { in appendInt()
101 @Benchmark void appendLong(int reps) { in appendLong()
111 @Benchmark void appendObject(int reps) { in appendObject()
121 @Benchmark void appendString(int reps) { in appendString()
[all …]
DExpensiveObjectsBenchmark.java30 @Benchmark void newDecimalFormatSymbols(int reps) { in newDecimalFormatSymbols()
36 @Benchmark void clonedDecimalFormatSymbols(int reps) { in clonedDecimalFormatSymbols()
43 @Benchmark void newNumberFormat(int reps) { in newNumberFormat()
49 @Benchmark void clonedNumberFormat(int reps) { in clonedNumberFormat()
56 @Benchmark void newSimpleDateFormat(int reps) { in newSimpleDateFormat()
62 @Benchmark void clonedSimpleDateFormat(int reps) { in clonedSimpleDateFormat()
DFormatterBenchmark.java26 @Benchmark void formatter_NoFormatting(int reps) { in formatter_NoFormatting()
34 @Benchmark void stringBuilder_NoFormatting(int reps) { in stringBuilder_NoFormatting()
41 @Benchmark void formatter_OneInt(int reps) { in formatter_OneInt()
49 @Benchmark void stringBuilder_OneInt(int reps) { in stringBuilder_OneInt()
58 @Benchmark void formatter_OneString(int reps) { in formatter_OneString()
66 @Benchmark void stringBuilder_OneString(int reps) { in stringBuilder_OneString()
DBitSetBenchmark.java104 @Benchmark int setBitSetX64(int reps) { in setBitSetX64()
115 @Benchmark long setMaskX64(int reps) { in setMaskX64()
129 @Benchmark String charsToBitSet(int reps) { in charsToBitSet()
148 @Benchmark long charsToMask(int reps) { in charsToMask()
174 @Benchmark long baselineIteration(int reps) { in baselineIteration()
DListModificationBenchmark.java66 @Benchmark void populate(int reps) throws Exception { in populate()
75 @Benchmark void iteration(int reps) { in iteration()
84 @Benchmark void headAddRemove(int reps) { in headAddRemove()
91 @Benchmark void middleAddRemove(int reps) { in middleAddRemove()
99 @Benchmark void tailAddRemove(int reps) { in tailAddRemove()
DIntModBenchmark.java28 @Benchmark int conditional(int reps) { in conditional()
41 @Benchmark int doubleRemainder(int reps) { in doubleRemainder()
54 @Benchmark int rightShiftingMod(int reps) { in rightShiftingMod()
68 @Benchmark int leftShiftingMod(int reps) { in leftShiftingMod()
81 @Benchmark int wrongMod(int reps) { in wrongMod()
/external/guava/guava-tests/benchmark/com/google/common/collect/
DIteratorBenchmark.java52 @Benchmark int arrayIndexed(int reps) { in arrayIndexed()
62 @Benchmark int arrayIndexedLength(int reps) { in arrayIndexedLength()
72 @Benchmark int arrayFor(int reps) { in arrayFor()
82 @Benchmark int arrayListIndexed(int reps) { in arrayListIndexed()
92 @Benchmark int arrayListIndexedLength(int reps) { in arrayListIndexedLength()
102 @Benchmark int arrayListFor(int reps) { in arrayListFor()
112 @Benchmark int arrayListToArrayFor(int reps) { in arrayListToArrayFor()
122 @Benchmark int linkedListFor(int reps) { in linkedListFor()
132 @Benchmark int linkedListToArrayFor(int reps) { in linkedListToArrayFor()
/external/caliper/caliper/src/test/java/com/google/caliper/runner/
DMalformedBenchmarksTest.java78 @Benchmark void timeIt(int reps) {} in timeIt()
87 void timeIt(int reps) {} // not annotated in timeIt()
96 @Benchmark public static void timeIt(int reps) {} in timeIt()
106 @Benchmark void timeIt(Integer reps) {} in timeIt()
111 @Benchmark void timeIt(int reps, int what) {} in timeIt()
124 @Benchmark public void foo(long reps) {} in foo()
125 @Benchmark public void foo(int reps) {} in foo()
126 @Benchmark public void bar(long reps) {} in bar()
127 @Benchmark public void bar(int reps) {} in bar()
128 @Benchmark public void baz(int reps) {} in baz()
[all …]
DBadUserCodeTest.java56 @Benchmark void timeSomething(int reps) { in timeSomething()
75 @Benchmark void timeSomething(int reps) { in timeSomething()
90 @Benchmark void timeSomething(@SuppressWarnings("unused") int reps) { in timeSomething()
107 @Benchmark void timeSomething(int reps) { in timeSomething()
128 @Benchmark void timeSomething(int reps) { in timeSomething()
170 @Benchmark int timeSomethingFBZ(@SuppressWarnings("unused") int reps) { in timeSomethingFBZ()
208 @Benchmark int timeSomethingFBZ(@SuppressWarnings("unused") int reps) { in timeSomethingFBZ()
/external/guava/guava-tests/benchmark/com/google/common/util/concurrent/
DCycleDetectingLockFactoryBenchmark.java53 @Benchmark void unorderedPlainLocks(int reps) { in unorderedPlainLocks()
57 @Benchmark void unorderedCycleDetectingLocks(int reps) { in unorderedCycleDetectingLocks()
61 private void lockAndUnlock(Lock lock, int reps) { in lockAndUnlock()
68 @Benchmark void orderedPlainLocks(int reps) { in orderedPlainLocks()
72 @Benchmark void orderedCycleDetectingLocks(int reps) { in orderedCycleDetectingLocks()
76 private void lockAndUnlockNested(Lock[] locks, int reps) { in lockAndUnlockNested()
/external/caliper/tutorial/
DTutorial.java53 @Benchmark void timeNanoTime(int reps) { in timeNanoTime()
74 @Benchmark void timeNanoTime(int reps) { in timeNanoTime()
79 @Benchmark void timeCurrentTimeMillis(int reps) { in timeCurrentTimeMillis()
94 @Benchmark void timeArrayIteration_BAD(int reps) { in timeArrayIteration_BAD()
130 @Benchmark int timeArrayIteration_fixed(int reps) { in timeArrayIteration_fixed()
178 @Benchmark int timeArrayIteration(int reps) { in timeArrayIteration()
/external/guava/guava-tests/benchmark/com/google/common/base/
DJoinerBenchmark.java56 @Benchmark int joinerWithStringDelimiter(int reps) { in joinerWithStringDelimiter()
67 @Benchmark int joinerWithCharacterDelimiter(int reps) { in joinerWithCharacterDelimiter()
79 @Benchmark int joinerInlined(int reps) { in joinerInlined()
101 @Benchmark int stringBuilderIsEmpty(int reps) { in stringBuilderIsEmpty()
120 @Benchmark int booleanIfFirst(int reps) { in booleanIfFirst()
141 @Benchmark int assignDelimiter(int reps) { in assignDelimiter()
160 @Benchmark int alwaysAppendThenBackUp(int reps) { in alwaysAppendThenBackUp()
DAsciiBenchmark.java75 @Benchmark int asciiStringToUpperCase(int reps) { in asciiStringToUpperCase()
87 @Benchmark int asciiCharSequenceToUpperCase(int reps) { in asciiCharSequenceToUpperCase()
99 @Benchmark int stringToUpperCase(int reps) { in stringToUpperCase()
111 @Benchmark boolean equalsIgnoreCaseCharSequence(int reps) { in equalsIgnoreCaseCharSequence()
126 @Benchmark boolean equalsIgnoreCaseStringOnly(int reps) { in equalsIgnoreCaseStringOnly()
138 @Benchmark boolean equalsIgnoreCaseJDK(int reps) { in equalsIgnoreCaseJDK()
150 @Benchmark boolean isUpperCase(int reps) { in isUpperCase()
DObjectsBenchmark.java40 @Benchmark int hashString_2(int reps) { in hashString_2()
48 @Benchmark int hashString_3(int reps) { in hashString_3()
56 @Benchmark int hashString_4(int reps) { in hashString_4()
64 @Benchmark int hashString_5(int reps) { in hashString_5()
72 @Benchmark int hashMixed_5(int reps) { in hashMixed_5()
/external/guava/guava-tests/benchmark/com/google/common/hash/
DChecksumBenchmark.java53 @Benchmark byte crc32HashFunction(int reps) { in crc32HashFunction()
57 @Benchmark byte crc32Checksum(int reps) throws Exception { in crc32Checksum()
69 @Benchmark byte adler32HashFunction(int reps) { in adler32HashFunction()
73 @Benchmark byte adler32Checksum(int reps) throws Exception { in adler32Checksum()
85 private byte runHashFunction(int reps, HashFunction hashFunction) { in runHashFunction()
/external/caliper/caliper/src/main/java/com/google/caliper/worker/
DAllocationStats.java39 private final int reps; field in AllocationStats
47 AllocationStats(int allocationCount, long allocationSize, int reps) { in AllocationStats()
55 AllocationStats(Collection<Allocation> allocations, int reps) { in AllocationStats()
56 this(allocations.size(), Allocation.getTotalSize(allocations), reps, in AllocationStats() local
60 private AllocationStats(int allocationCount, long allocationSize, int reps, in AllocationStats()
181 private final int reps; field in AllocationStats.Delta
188 int reps, in Delta()
/external/guava/guava-tests/benchmark/com/google/common/math/
DLessThanBenchmark.java64 @Benchmark int branchFreeLtIntInlined(int reps) { in branchFreeLtIntInlined()
76 @Benchmark int branchFreeLtInt(int reps) { in branchFreeLtInt()
88 @Benchmark int ternaryLtIntAddOutsideTernary(int reps) { in ternaryLtIntAddOutsideTernary()
100 @Benchmark int ternaryLtIntAddInsideTernary(int reps) { in ternaryLtIntAddInsideTernary()
112 @Benchmark int branchFreeLtLongInlined(int reps) { in branchFreeLtLongInlined()
124 @Benchmark int branchFreeLtLong(int reps) { in branchFreeLtLong()
136 @Benchmark int ternaryLtLongAddOutsideTernary(int reps) { in ternaryLtLongAddOutsideTernary()
148 @Benchmark int ternaryLtLongAddInsideTernary(int reps) { in ternaryLtLongAddInsideTernary()
DIntMathBenchmark.java55 @Benchmark int pow(int reps) { in pow()
64 @Benchmark int mod(int reps) { in mod()
73 @Benchmark int gCD(int reps) { in gCD()
82 @Benchmark int factorial(int reps) { in factorial()
91 @Benchmark int binomial(int reps) { in binomial()
DLongMathBenchmark.java58 @Benchmark int pow(int reps) { in pow()
67 @Benchmark int mod(int reps) { in mod()
76 @Benchmark int gCD(int reps) { in gCD()
85 @Benchmark int factorial(int reps) { in factorial()
94 @Benchmark int binomial(int reps) { in binomial()
DDoubleMathBenchmark.java47 @Benchmark long log2(int reps) { in log2()
56 @Benchmark long factorial(int reps) { in factorial()
65 @Benchmark int isMathematicalInteger(int reps) { in isMathematicalInteger()
76 @Benchmark int isPowerOfTwo(int reps) { in isPowerOfTwo()
DIntMathRoundingBenchmark.java54 @Benchmark int log2(int reps) { in log2()
63 @Benchmark int log10(int reps) { in log10()
72 @Benchmark int sqrt(int reps) { in sqrt()
81 @Benchmark int divide(int reps) { in divide()
DBigIntegerMathRoundingBenchmark.java54 @Benchmark int log2(int reps) { in log2()
63 @Benchmark int log10(int reps) { in log10()
72 @Benchmark int sqrt(int reps) { in sqrt()
81 @Benchmark int divide(int reps) { in divide()
DDoubleMathRoundingBenchmark.java53 @Benchmark int roundToInt(int reps) { in roundToInt()
62 @Benchmark long roundToLong(int reps) { in roundToLong()
71 @Benchmark int roundToBigInteger(int reps) { in roundToBigInteger()
80 @Benchmark int log2Round(int reps) { in log2Round()
/external/guava/guava-tests/benchmark/com/google/common/primitives/
DUnsignedLongsBenchmark.java52 @Benchmark long divide(int reps) { in divide()
61 @Benchmark long remainder(int reps) { in remainder()
70 @Benchmark long parseUnsignedLong(int reps) { in parseUnsignedLong()
84 @Benchmark long parseDecode10(int reps) { in parseDecode10()
93 @Benchmark long parseDecode16(int reps) { in parseDecode16()
102 @Benchmark int toString(int reps) { in toString()

12345