/external/caliper/examples/src/main/java/examples/ |
D | CharacterBenchmark.java | 54 @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 …]
|
D | StringBuilderBenchmark.java | 31 @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 …]
|
D | ExpensiveObjectsBenchmark.java | 30 @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()
|
D | FormatterBenchmark.java | 26 @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()
|
D | BitSetBenchmark.java | 104 @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/ |
D | IteratorBenchmark.java | 54 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/ |
D | IteratorBenchmark.java | 54 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/guava/android/guava-tests/benchmark/com/google/common/util/concurrent/ |
D | CycleDetectingLockFactoryBenchmark.java | 53 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/ |
D | CycleDetectingLockFactoryBenchmark.java | 53 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/caliper/src/test/java/com/google/caliper/runner/ |
D | MalformedBenchmarksTest.java | 78 @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 …]
|
D | BadUserCodeTest.java | 56 @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/caliper/tutorial/ |
D | Tutorial.java | 53 @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/android/guava-tests/benchmark/com/google/common/hash/ |
D | ChecksumBenchmark.java | 57 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/ |
D | ChecksumBenchmark.java | 57 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/math/ |
D | QuantilesBenchmark.java | 59 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()
|
D | IntMathBenchmark.java | 55 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()
|
D | LongMathBenchmark.java | 57 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/ |
D | QuantilesBenchmark.java | 59 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()
|
D | IntMathBenchmark.java | 55 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()
|
D | LongMathBenchmark.java | 57 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/guava-tests/benchmark/com/google/common/base/ |
D | JoinerBenchmark.java | 56 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()
|
D | ObjectsBenchmark.java | 40 int hashString_2(int reps) { in hashString_2() 49 int hashString_3(int reps) { in hashString_3() 58 int hashString_4(int reps) { in hashString_4() 67 int hashString_5(int reps) { in hashString_5() 76 int hashMixed_5(int reps) { in hashMixed_5()
|
/external/guava/android/guava-tests/benchmark/com/google/common/base/ |
D | JoinerBenchmark.java | 56 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()
|
D | ObjectsBenchmark.java | 40 int hashString_2(int reps) { in hashString_2() 49 int hashString_3(int reps) { in hashString_3() 58 int hashString_4(int reps) { in hashString_4() 67 int hashString_5(int reps) { in hashString_5() 76 int hashMixed_5(int reps) { in hashMixed_5()
|
/external/caliper/caliper/src/main/java/com/google/caliper/worker/ |
D | AllocationStats.java | 39 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()
|