Home
last modified time | relevance | path

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

12345678910

/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()
/external/guava/guava-tests/benchmark/com/google/common/collect/
DIteratorBenchmark.java54 int arrayIndexed(int reps) { in arrayIndexed()
65 int arrayIndexedLength(int reps) { in arrayIndexedLength()
76 int arrayFor(int reps) { in arrayFor()
87 int arrayListIndexed(int reps) { in arrayListIndexed()
98 int arrayListIndexedLength(int reps) { in arrayListIndexedLength()
109 int arrayListFor(int reps) { in arrayListFor()
120 int arrayListForWithHolder(int reps) { in arrayListForWithHolder()
131 int arrayListForEachWithHolder(int reps) { in arrayListForEachWithHolder()
140 int arrayListToArrayFor(int reps) { in arrayListToArrayFor()
151 int linkedListFor(int reps) { in linkedListFor()
[all …]
/external/guava/android/guava-tests/benchmark/com/google/common/collect/
DIteratorBenchmark.java54 int arrayIndexed(int reps) { in arrayIndexed()
65 int arrayIndexedLength(int reps) { in arrayIndexedLength()
76 int arrayFor(int reps) { in arrayFor()
87 int arrayListIndexed(int reps) { in arrayListIndexed()
98 int arrayListIndexedLength(int reps) { in arrayListIndexedLength()
109 int arrayListFor(int reps) { in arrayListFor()
120 int arrayListToArrayFor(int reps) { in arrayListToArrayFor()
131 int linkedListFor(int reps) { in linkedListFor()
142 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/android/guava-tests/benchmark/com/google/common/util/concurrent/
DCycleDetectingLockFactoryBenchmark.java53 void unorderedPlainLocks(int reps) { in unorderedPlainLocks()
58 void unorderedCycleDetectingLocks(int reps) { in unorderedCycleDetectingLocks()
62 private static void lockAndUnlock(Lock lock, int reps) { in lockAndUnlock()
70 void orderedPlainLocks(int reps) { in orderedPlainLocks()
75 void orderedCycleDetectingLocks(int reps) { in orderedCycleDetectingLocks()
79 private static void lockAndUnlockNested(Lock[] locks, int reps) { in lockAndUnlockNested()
/external/guava/guava-tests/benchmark/com/google/common/util/concurrent/
DCycleDetectingLockFactoryBenchmark.java53 void unorderedPlainLocks(int reps) { in unorderedPlainLocks()
58 void unorderedCycleDetectingLocks(int reps) { in unorderedCycleDetectingLocks()
62 private static void lockAndUnlock(Lock lock, int reps) { in lockAndUnlock()
70 void orderedPlainLocks(int reps) { in orderedPlainLocks()
75 void orderedCycleDetectingLocks(int reps) { in orderedCycleDetectingLocks()
79 private static 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/math/
DQuantilesBenchmark.java59 double median(int reps) { in median()
68 double percentile90(int reps) { in percentile90()
77 double percentile99(int reps) { in percentile99()
86 double percentiles90And99(int reps) { in percentiles90And99()
95 double threePercentiles(int reps) { in threePercentiles()
104 double allDeciles(int reps) { in allDeciles()
DIntMathBenchmark.java55 int pow(int reps) { in pow()
65 int mod(int reps) { in mod()
75 int gCD(int reps) { in gCD()
85 int factorial(int reps) { in factorial()
95 int binomial(int reps) { in binomial()
105 int isPrime(int reps) { in isPrime()
DLongMathBenchmark.java57 int pow(int reps) { in pow()
67 int mod(int reps) { in mod()
77 int gCD(int reps) { in gCD()
87 int factorial(int reps) { in factorial()
97 int binomial(int reps) { in binomial()
107 int isPrime(int reps) { in isPrime()
/external/guava/android/guava-tests/benchmark/com/google/common/math/
DQuantilesBenchmark.java59 double median(int reps) { in median()
68 double percentile90(int reps) { in percentile90()
77 double percentile99(int reps) { in percentile99()
86 double percentiles90And99(int reps) { in percentiles90And99()
95 double threePercentiles(int reps) { in threePercentiles()
104 double allDeciles(int reps) { in allDeciles()
DIntMathBenchmark.java55 int pow(int reps) { in pow()
65 int mod(int reps) { in mod()
75 int gCD(int reps) { in gCD()
85 int factorial(int reps) { in factorial()
95 int binomial(int reps) { in binomial()
105 int isPrime(int reps) { in isPrime()
DLongMathBenchmark.java57 int pow(int reps) { in pow()
67 int mod(int reps) { in mod()
77 int gCD(int reps) { in gCD()
87 int factorial(int reps) { in factorial()
97 int binomial(int reps) { in binomial()
107 int isPrime(int reps) { in isPrime()
/external/guava/android/guava-tests/benchmark/com/google/common/hash/
DChecksumBenchmark.java57 byte crc32HashFunction(int reps) { in crc32HashFunction()
62 byte crc32Checksum(int reps) throws Exception { in crc32Checksum()
75 byte adler32HashFunction(int reps) { in adler32HashFunction()
80 byte adler32Checksum(int reps) throws Exception { in adler32Checksum()
92 private byte runHashFunction(int reps, HashFunction hashFunction) { in runHashFunction()
/external/guava/guava-tests/benchmark/com/google/common/hash/
DChecksumBenchmark.java57 byte crc32HashFunction(int reps) { in crc32HashFunction()
62 byte crc32Checksum(int reps) throws Exception { in crc32Checksum()
75 byte adler32HashFunction(int reps) { in adler32HashFunction()
80 byte adler32Checksum(int reps) throws Exception { in adler32Checksum()
92 private byte runHashFunction(int reps, HashFunction hashFunction) { in runHashFunction()
/external/guava/android/guava-tests/benchmark/com/google/common/base/
DJoinerBenchmark.java56 int joinerWithStringDelimiter(int reps) { in joinerWithStringDelimiter()
66 int joinerWithCharacterDelimiter(int reps) { in joinerWithCharacterDelimiter()
79 int joinerInlined(int reps) { in joinerInlined()
101 int stringBuilderIsEmpty(int reps) { in stringBuilderIsEmpty()
121 int booleanIfFirst(int reps) { in booleanIfFirst()
142 int assignDelimiter(int reps) { in assignDelimiter()
162 int alwaysAppendThenBackUp(int reps) { in alwaysAppendThenBackUp()
DAsciiBenchmark.java77 int asciiStringToUpperCase(int reps) { in asciiStringToUpperCase()
88 int asciiCharSequenceToUpperCase(int reps) { in asciiCharSequenceToUpperCase()
99 int stringToUpperCase(int reps) { in stringToUpperCase()
110 boolean equalsIgnoreCaseCharSequence(int reps) { in equalsIgnoreCaseCharSequence()
126 boolean equalsIgnoreCaseStringOnly(int reps) { in equalsIgnoreCaseStringOnly()
139 boolean equalsIgnoreCaseJDK(int reps) { in equalsIgnoreCaseJDK()
152 boolean isUpperCase(int reps) { in isUpperCase()
/external/guava/guava-tests/benchmark/com/google/common/base/
DJoinerBenchmark.java56 int joinerWithStringDelimiter(int reps) { in joinerWithStringDelimiter()
66 int joinerWithCharacterDelimiter(int reps) { in joinerWithCharacterDelimiter()
79 int joinerInlined(int reps) { in joinerInlined()
101 int stringBuilderIsEmpty(int reps) { in stringBuilderIsEmpty()
121 int booleanIfFirst(int reps) { in booleanIfFirst()
142 int assignDelimiter(int reps) { in assignDelimiter()
162 int alwaysAppendThenBackUp(int reps) { in alwaysAppendThenBackUp()
DAsciiBenchmark.java77 int asciiStringToUpperCase(int reps) { in asciiStringToUpperCase()
88 int asciiCharSequenceToUpperCase(int reps) { in asciiCharSequenceToUpperCase()
99 int stringToUpperCase(int reps) { in stringToUpperCase()
110 boolean equalsIgnoreCaseCharSequence(int reps) { in equalsIgnoreCaseCharSequence()
126 boolean equalsIgnoreCaseStringOnly(int reps) { in equalsIgnoreCaseStringOnly()
139 boolean equalsIgnoreCaseJDK(int reps) { in equalsIgnoreCaseJDK()
152 boolean isUpperCase(int reps) { in isUpperCase()
/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()

12345678910