HomeSort by relevance Sort by last modified time
    Searched refs:reps (Results 26 - 50 of 284) sorted by null

12 3 4 5 6 7 8 91011>>

  /frameworks/base/core/tests/benchmarks/src/android/util/
FloatMathBenchmark.java 22 public float timeFloatMathCeil(int reps) {
25 for (int i = 0; i < reps; i++) {
31 public float timeFloatMathCeil_math(int reps) {
34 for (int i = 0; i < reps; i++) {
40 public float timeFloatMathCos(int reps) {
43 for (int i = 0; i < reps; i++) {
49 public float timeFloatMathExp(int reps) {
52 for (int i = 0; i < reps; i++) {
58 public float timeFloatMathFloor(int reps) {
61 for (int i = 0; i < reps; i++)
    [all...]
  /libcore/benchmarks/src/benchmarks/regression/
FormatterBenchmark.java 26 public void timeFormatter_NoFormatting(int reps) {
27 for (int i = 0; i < reps; i++) {
33 public void timeStringBuilder_NoFormatting(int reps) {
34 for (int i = 0; i < reps; i++) {
40 public void timeFormatter_OneInt(int reps) {
42 for (int i = 0; i < reps; i++) {
48 public void timeFormatter_OneIntArabic(int reps) {
51 for (int i = 0; i < reps; i++) {
57 public void timeStringBuilder_OneInt(int reps) {
58 for (int i = 0; i < reps; i++)
    [all...]
ExpensiveObjectsBenchmark.java 32 public void timeNewDateFormatTimeInstance(int reps) {
33 for (int i = 0; i < reps; ++i) {
39 public void timeClonedDateFormatTimeInstance(int reps) {
41 for (int i = 0; i < reps; ++i) {
46 public void timeReusedDateFormatTimeInstance(int reps) {
48 for (int i = 0; i < reps; ++i) {
55 public void timeNewCollator(int reps) {
56 for (int i = 0; i < reps; ++i) {
61 public void timeClonedCollator(int reps) {
63 for (int i = 0; i < reps; ++i)
    [all...]
BidiBenchmark.java 29 public void time_createBidiFromIter(int reps) {
30 for (int i = 0; i < reps; i++) {
35 public void time_createBidiFromCharArray(int reps) {
36 for (int i = 0; i < reps; i++) {
42 public void time_createBidiFromString(int reps) {
43 for (int i = 0; i < reps; i++) {
48 public void time_reorderVisually(int reps) {
49 for (int i = 0; i < reps; i++) {
55 public void time_hebrewBidi(int reps) {
56 for (int i = 0; i < reps; i++)
    [all...]
BitSetBenchmark.java 34 public void timeIsEmptyTrue(int reps) {
35 for (int i = 0; i < reps; ++i) {
40 public void timeIsEmptyFalse(int reps) {
42 for (int i = 0; i < reps; ++i) {
47 public void timeGet(int reps) {
48 for (int i = 0; i < reps; ++i) {
53 public void timeClear(int reps) {
54 for (int i = 0; i < reps; ++i) {
59 public void timeSet(int reps) {
60 for (int i = 0; i < reps; ++i)
    [all...]
AnnotatedElementBenchmark.java 41 public void timeGetTypeAnnotations(int reps) {
42 for (int i = 0; i < reps; i++) {
47 public void timeGetFieldAnnotations(int reps) {
48 for (int i = 0; i < reps; i++) {
53 public void timeGetMethodAnnotations(int reps) {
54 for (int i = 0; i < reps; i++) {
59 public void timeGetParameterAnnotations(int reps) {
60 for (int i = 0; i < reps; i++) {
65 public void timeGetTypeAnnotation(int reps) {
66 for (int i = 0; i < reps; i++)
    [all...]
ChecksumBenchmark.java 23 public void timeAdler_block(int reps) throws Exception {
26 for (int i = 0; i < reps; ++i) {
30 public void timeAdler_byte(int reps) throws Exception {
32 for (int i = 0; i < reps; ++i) {
36 public void timeCrc_block(int reps) throws Exception {
39 for (int i = 0; i < reps; ++i) {
43 public void timeCrc_byte(int reps) throws Exception {
45 for (int i = 0; i < reps; ++i) {
DateToStringBenchmark.java 39 public void timeDateToString(int reps) throws Exception {
40 for (int i = 0; i < reps; ++i) {
45 public void timeDateToString_Formatter(int reps) throws Exception {
46 for (int i = 0; i < reps; ++i) {
51 public void timeDateToString_ClonedFormatter(int reps) throws Exception {
52 for (int i = 0; i < reps; ++i) {
57 public void timeDateToString_AndroidDateFormat(int reps) {
58 for (int i = 0; i < reps; i++) {
DefaultCharsetBenchmark.java 22 public void time_defaultCharset(int reps) throws Exception {
23 for (int i = 0; i < reps; ++i) {
RandomBenchmark.java 23 public void timeNewRandom(int reps) throws Exception {
24 for (int i = 0; i < reps; ++i) {
30 public void timeReusedRandom(int reps) throws Exception {
32 for (int i = 0; i < reps; ++i) {
37 public void timeReusedSecureRandom(int reps) throws Exception {
39 for (int i = 0; i < reps; ++i) {
44 public void timeNewSecureRandom(int reps) throws Exception {
45 for (int i = 0; i < reps; ++i) {
SSLSocketFactoryBenchmark.java 22 public void time(int reps) throws Exception {
23 for (int i = 0; i < reps; ++i) {
ThreadLocalBenchmark.java 26 public void timeThreadLocal_get(int reps) {
27 for (int rep = 0; rep < reps; ++rep) {
StringBuilderBenchmark.java 28 public void timeAppendBoolean(int reps) {
29 for (int i = 0; i < reps; ++i) {
37 public void timeAppendChar(int reps) {
38 for (int i = 0; i < reps; ++i) {
46 public void timeAppendCharArray(int reps) {
48 for (int i = 0; i < reps; ++i) {
56 public void timeAppendCharSequence(int reps) {
58 for (int i = 0; i < reps; ++i) {
66 public void timeAppendSubCharSequence(int reps) {
68 for (int i = 0; i < reps; ++i)
    [all...]
LoopingBackwardsBenchmark.java 29 public int timeForwards(int reps) {
31 for (int i = 0; i < reps; i++) {
39 public int timeBackwards(int reps) {
41 for (int i = 0; i < reps; i++) {
  /external/guava/guava-tests/benchmark/com/google/common/collect/
InternersBenchmark.java 27 @Benchmark int weakInterner(int reps) {
29 for (int i = 0; i < reps; i++) {
32 return reps;
35 @Benchmark int strongInterner(int reps) {
37 for (int i = 0; i < reps; i++) {
40 return reps;
44 @Benchmark int stringIntern(int reps) {
45 for (int i = 0; i < reps; i++) {
48 return reps;
  /art/test/110-field-access/src/
Main.java 32 public int timeField(int reps) {
34 for (int rep = 0; rep < reps; ++rep) {
39 public int timeFieldFinal(int reps) {
41 for (int rep = 0; rep < reps; ++rep) {
46 public int timeFieldStatic(int reps) {
48 for (int rep = 0; rep < reps; ++rep) {
53 public int timeFieldStaticFinal(int reps) {
55 for (int rep = 0; rep < reps; ++rep) {
60 public int timeFieldCached(int reps) {
63 for (int rep = 0; rep < reps; ++rep)
    [all...]
  /frameworks/base/core/tests/benchmarks/src/android/os/
ParcelArrayBenchmark.java 60 public void timeWriteByteArray(int reps) {
61 for (int i = 0; i < reps; i++) {
67 public void timeCreateByteArray(int reps) {
68 for (int i = 0; i < reps; i++) {
74 public void timeReadByteArray(int reps) {
75 for (int i = 0; i < reps; i++) {
81 public void timeWriteIntArray(int reps) {
82 for (int i = 0; i < reps; i++) {
88 public void timeCreateIntArray(int reps) {
89 for (int i = 0; i < reps; i++)
    [all...]
  /libcore/benchmarks/src/benchmarks/
StringDexCacheBenchmark.java 23 public int timeStringDexCacheAccess(int reps) {
25 for (int rep = 0; rep < reps; ++rep) {
StringIterationBenchmark.java 23 public void timeStringIteration0(int reps) {
25 for (int rep = 0; rep < reps; ++rep) {
32 public void timeStringIteration1(int reps) {
34 for (int rep = 0; rep < reps; ++rep) {
41 public void timeStringIteration2(int reps) {
43 for (int rep = 0; rep < reps; ++rep) {
51 public void timeStringToCharArray(int reps) {
53 for (int rep = 0; rep < reps; ++rep) {
SystemArrayCopyBenchmark.java 28 public void timeSystemCharArrayCopy(int reps) {
32 for (int rep = 0; rep < reps; ++rep) {
37 public void timeSystemByteArrayCopy(int reps) {
41 for (int rep = 0; rep < reps; ++rep) {
46 public void timeSystemShortArrayCopy(int reps) {
50 for (int rep = 0; rep < reps; ++rep) {
55 public void timeSystemIntArrayCopy(int reps) {
59 for (int rep = 0; rep < reps; ++rep) {
64 public void timeSystemLongArrayCopy(int reps) {
68 for (int rep = 0; rep < reps; ++rep)
    [all...]
VirtualVersusInterfaceBenchmark.java 27 public void timeMapPut(int reps) {
29 for (int i = 0; i < reps; ++i) {
33 public void timeHashMapPut(int reps) {
35 for (int i = 0; i < reps; ++i) {
  /external/caliper/examples/src/main/java/examples/
ExpensiveObjectsBenchmark.java 30 @Benchmark void newDecimalFormatSymbols(int reps) {
31 for (int i = 0; i < reps; ++i) {
36 @Benchmark void clonedDecimalFormatSymbols(int reps) {
38 for (int i = 0; i < reps; ++i) {
43 @Benchmark void newNumberFormat(int reps) {
44 for (int i = 0; i < reps; ++i) {
49 @Benchmark void clonedNumberFormat(int reps) {
51 for (int i = 0; i < reps; ++i) {
56 @Benchmark void newSimpleDateFormat(int reps) {
57 for (int i = 0; i < reps; ++i)
    [all...]
FormatterBenchmark.java 26 @Benchmark void formatter_NoFormatting(int reps) {
27 for (int i = 0; i < reps; i++) {
34 @Benchmark void stringBuilder_NoFormatting(int reps) {
35 for (int i = 0; i < reps; i++) {
41 @Benchmark void formatter_OneInt(int reps) {
42 for (int i = 0; i < reps; i++) {
49 @Benchmark void stringBuilder_OneInt(int reps) {
50 for (int i = 0; i < reps; i++) {
58 @Benchmark void formatter_OneString(int reps) {
59 for (int i = 0; i < reps; i++)
    [all...]
  /external/caliper/tutorial/
Tutorial.java 37 * which accepts a single 'int reps' parameter.
39 * 'reps' times.
53 @Benchmark void timeNanoTime(int reps) {
54 for (int i = 0; i < reps; i++) {
74 @Benchmark void timeNanoTime(int reps) {
75 for (int i = 0; i < reps; i++) {
79 @Benchmark void timeCurrentTimeMillis(int reps) {
80 for (int i = 0; i < reps; i++) {
94 @Benchmark void timeArrayIteration_BAD(int reps) {
95 for (int i = 0; i < reps; i++)
    [all...]
  /external/guava/guava-tests/benchmark/com/google/common/hash/
ChecksumBenchmark.java 53 @Benchmark byte crc32HashFunction(int reps) {
54 return runHashFunction(reps, Hashing.crc32());
57 @Benchmark byte crc32Checksum(int reps) throws Exception {
59 for (int i = 0; i < reps; i++) {
69 @Benchmark byte adler32HashFunction(int reps) {
70 return runHashFunction(reps, Hashing.adler32());
73 @Benchmark byte adler32Checksum(int reps) throws Exception {
75 for (int i = 0; i < reps; i++) {
85 private byte runHashFunction(int reps, HashFunction hashFunction) {
88 result ^= Hashing.crc32().hashInt(reps).asBytes()[0]
    [all...]

Completed in 1512 milliseconds

12 3 4 5 6 7 8 91011>>