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

1 2 3 4 5 6 7 8 91011>>

  /art/benchmark/jobject-benchmark/src/
JObjectBenchmark.java 30 public native void timeAddRemoveLocal(int reps);
31 public native void timeDecodeLocal(int reps);
32 public native void timeAddRemoveGlobal(int reps);
33 public native void timeDecodeGlobal(int reps);
34 public native void timeAddRemoveWeakGlobal(int reps);
35 public native void timeDecodeWeakGlobal(int reps);
36 public native void timeDecodeHandleScopeRef(int reps);
  /art/benchmark/scoped-primitive-array/src/
ScopedPrimitiveArrayBenchmark.java 19 static native long measureByteArray(int reps, byte[] arr);
20 static native long measureShortArray(int reps, short[] arr);
21 static native long measureIntArray(int reps, int[] arr);
22 static native long measureLongArray(int reps, long[] arr);
40 public void timeSmallBytes(int reps) {
41 measureByteArray(reps, smallBytes);
44 public void timeMediumBytes(int reps) {
45 measureByteArray(reps, mediumBytes);
48 public void timeLargeBytes(int reps) {
49 measureByteArray(reps, largeBytes)
    [all...]
  /libcore/benchmarks/src/benchmarks/regression/
IntegralToStringBenchmark.java 25 public void time_IntegerToString_small(int reps) {
26 for (int rep = 0; rep < reps; ++rep) {
31 public void time_IntegerToString_medium(int reps) {
32 for (int rep = 0; rep < reps; ++rep) {
37 public void time_IntegerToString_large(int reps) {
38 for (int rep = 0; rep < reps; ++rep) {
43 public void time_IntegerToString2_small(int reps) {
44 for (int rep = 0; rep < reps; ++rep) {
49 public void time_IntegerToString2_medium(int reps) {
50 for (int rep = 0; rep < reps; ++rep)
    [all...]
RealToStringBenchmark.java 25 public void timeFloat_toString_NaN(int reps) {
26 for (int rep = 0; rep < reps; ++rep) {
31 public void timeFloat_toString_NEGATIVE_INFINITY(int reps) {
32 for (int rep = 0; rep < reps; ++rep) {
37 public void timeFloat_toString_POSITIVE_INFINITY(int reps) {
38 for (int rep = 0; rep < reps; ++rep) {
43 public void timeFloat_toString_zero(int reps) {
44 for (int rep = 0; rep < reps; ++rep) {
49 public void timeFloat_toString_minusZero(int reps) {
50 for (int rep = 0; rep < reps; ++rep)
    [all...]
IntConstantDivisionBenchmark.java 20 public int timeDivideIntByConstant2(int reps) {
22 for (int i = 0; i < reps; ++i) {
27 public int timeDivideIntByConstant8(int reps) {
29 for (int i = 0; i < reps; ++i) {
34 public int timeDivideIntByConstant10(int reps) {
36 for (int i = 0; i < reps; ++i) {
41 public int timeDivideIntByConstant100(int reps) {
43 for (int i = 0; i < reps; ++i) {
48 public int timeDivideIntByConstant100_HandOptimized(int reps) {
50 for (int i = 0; i < reps; ++i)
    [all...]
IntConstantRemainderBenchmark.java 20 public int timeRemainderIntByConstant2(int reps) {
22 for (int i = 0; i < reps; ++i) {
27 public int timeRemainderIntByConstant8(int reps) {
29 for (int i = 0; i < reps; ++i) {
35 public int timeRemainderIntByConstant10(int reps) {
37 for (int i = 0; i < reps; ++i) {
42 public int timeRemainderIntByConstant100(int reps) {
44 for (int i = 0; i < reps; ++i) {
50 public int timeRemainderIntByConstant2048(int reps) {
52 for (int i = 0; i < reps; ++i)
    [all...]
DecimalFormatBenchmark.java 29 public static void formatWithGrouping(Object obj, int reps) {
32 for (int i = 0; i < reps; i++) {
37 public static void format(String pattern, Object obj, int reps) {
39 for (int i = 0; i < reps; i++) {
44 public static void format(Object obj, int reps) {
45 for (int i = 0; i < reps; i++) {
50 public static void formatToCharacterIterator(Object obj, int reps) {
51 for (int i = 0; i < reps; i++) {
57 public static void formatCurrencyUS(Object obj, int reps) {
58 for (int i = 0; i < reps; i++)
    [all...]
IntConstantMultiplicationBenchmark.java 20 public int timeMultiplyIntByConstant6(int reps) {
22 for (int i = 0; i < reps; ++i) {
27 public int timeMultiplyIntByConstant7(int reps) {
29 for (int i = 0; i < reps; ++i) {
34 public int timeMultiplyIntByConstant8(int reps) {
36 for (int i = 0; i < reps; ++i) {
41 public int timeMultiplyIntByConstant8_Shift(int reps) {
43 for (int i = 0; i < reps; ++i) {
48 public int timeMultiplyIntByConstant10(int reps) {
50 for (int i = 0; i < reps; ++i)
    [all...]
MutableIntBenchmark.java 28 @Override void timeCreate(int reps) {
29 for (int i = 0; i < reps; i++) {
33 @Override void timeIncrement(int reps) {
34 for (int i = 0; i < reps; i++) {
38 @Override int timeGet(int reps) {
40 for (int i = 0; i < reps; i++) {
49 @Override void timeCreate(int reps) {
50 for (int i = 0; i < reps; i++) {
54 @Override void timeIncrement(int reps) {
55 for (int i = 0; i < reps; i++)
    [all...]
StrictMathBenchmark.java 59 public void timeAbsD(int reps) {
60 for (int rep = 0; rep < reps; ++rep) {
65 public void timeAbsF(int reps) {
66 for (int rep = 0; rep < reps; ++rep) {
71 public void timeAbsI(int reps) {
72 for (int rep = 0; rep < reps; ++rep) {
77 public void timeAbsL(int reps) {
78 for (int rep = 0; rep < reps; ++rep) {
83 public void timeAcos(int reps) {
84 for (int rep = 0; rep < reps; ++rep)
    [all...]
StringSplitBenchmark.java 22 public void timeStringSplitComma(int reps) {
23 for (int i = 0; i < reps; ++i) {
28 public void timeStringSplitLiteralDot(int reps) {
29 for (int i = 0; i < reps; ++i) {
34 public void timeStringSplitNewline(int reps) {
35 for (int i = 0; i < reps; ++i) {
40 public void timePatternSplitComma(int reps) {
42 for (int i = 0; i < reps; ++i) {
47 public void timePatternSplitLiteralDot(int reps) {
49 for (int i = 0; i < reps; ++i)
    [all...]
TimeZoneBenchmark.java 22 public void timeTimeZone_getDefault(int reps) throws Exception {
23 for (int rep = 0; rep < reps; ++rep) {
28 public void timeTimeZone_getTimeZoneUTC(int reps) throws Exception {
29 for (int rep = 0; rep < reps; ++rep) {
34 public void timeTimeZone_getTimeZone_default(int reps) throws Exception {
36 for (int rep = 0; rep < reps; ++rep) {
42 public void timeTimeZone_getTimeZone_America_Caracas(int reps) throws Exception {
43 for (int rep = 0; rep < reps; ++rep) {
49 public void timeTimeZone_getTimeZone_America_Santiago(int reps) throws Exception {
50 for (int rep = 0; rep < reps; ++rep)
    [all...]
NativeMethodBenchmark.java 22 public void time_emptyJniStaticSynchronizedMethod0(int reps) throws Exception {
23 for (int i = 0; i < reps; ++i) {
28 public void time_emptyJniSynchronizedMethod0(int reps) throws Exception {
30 for (int i = 0; i < reps; ++i) {
36 public void time_emptyJniMethod0(int reps) throws Exception {
38 for (int i = 0; i < reps; ++i) {
43 public void time_emptyJniMethod6(int reps) throws Exception {
47 for (int i = 0; i < reps; ++i) {
52 public void time_emptyJniMethod6L(int reps) throws Exception {
54 for (int i = 0; i < reps; ++i)
    [all...]
StringIsEmptyBenchmark.java 20 public void timeIsEmpty_NonEmpty(int reps) {
22 for (int i = 0; i < reps; ++i) {
28 public void timeIsEmpty_Empty(int reps) {
30 for (int i = 0; i < reps; ++i) {
36 public void timeLengthEqualsZero(int reps) {
38 for (int i = 0; i < reps; ++i) {
44 public void timeEqualsEmpty(int reps) {
46 for (int i = 0; i < reps; ++i) {
StringLengthBenchmark.java 20 public void timeLength(int reps) {
22 for (int i = 0; i < reps; ++i) {
StringToRealBenchmark.java 34 public void timeFloat_parseFloat(int reps) {
35 for (int rep = 0; rep < reps; ++rep) {
40 public void timeDouble_parseDouble(int reps) {
41 for (int rep = 0; rep < reps; ++rep) {
MathBenchmark.java 34 public double timeAbsD(int reps) {
36 for (int rep = 0; rep < reps; ++rep) {
42 public float timeAbsF(int reps) {
44 for (int rep = 0; rep < reps; ++rep) {
50 public int timeAbsI(int reps) {
52 for (int rep = 0; rep < reps; ++rep) {
58 public long timeAbsL(int reps) {
60 for (int rep = 0; rep < reps; ++rep) {
66 public double timeAcos(int reps) {
68 for (int rep = 0; rep < reps; ++rep)
    [all...]
SerializationBenchmark.java 36 public void timeReadIntArray(int reps) throws Exception {
38 readSingleObject(reps, intArray);
41 public void timeWriteIntArray(int reps) throws Exception {
43 writeSingleObject(reps, intArray);
45 public void timeReadArrayListInteger(int reps) throws Exception {
50 readSingleObject(reps, object);
53 public void timeWriteArrayListInteger(int reps) throws Exception {
58 writeSingleObject(reps, object);
61 public void timeReadString(int reps) throws Exception {
62 readSingleObject(reps, "hello")
    [all...]
  /frameworks/base/core/tests/benchmarks/src/android/net/
TrafficStatsBenchmark.java 20 public void timeGetUidRxBytes(int reps) {
21 for (int i = 0; i < reps; i++) {
26 public void timeGetMobileRxBytes(int reps) {
27 for (int i = 0; i < reps; i++) {
32 public void timeGetTotalRxBytes(int reps) {
33 for (int i = 0; i < reps; i++) {
  /libcore/benchmarks/src/benchmarks/
MethodInvocationBenchmark.java 34 public int timeInternalGetter(int reps) {
36 for (int i = 0; i < reps; ++i) {
42 public int timeInternalFieldAccess(int reps) {
44 for (int i = 0; i < reps; ++i) {
60 public void timeInternalGetter(int reps) {
61 new C().timeInternalGetter(reps);
64 public void timeInternalFieldAccess(int reps) {
65 new C().timeInternalFieldAccess(reps);
69 public int timeStringLength(int reps) {
71 for (int i = 0; i < reps; ++i)
    [all...]
ArrayCopyBenchmark.java 22 public void timeManualArrayCopy(int reps) {
24 for (int rep = 0; rep < reps; ++rep) {
32 public void time_System_arrayCopy(int reps) {
34 for (int rep = 0; rep < reps; ++rep) {
40 public void time_Arrays_copyOf(int reps) {
42 for (int rep = 0; rep < reps; ++rep) {
47 public void time_Arrays_copyOfRange(int reps) {
49 for (int rep = 0; rep < reps; ++rep) {
FieldAccessBenchmark.java 33 public int timeField(int reps) {
35 for (int rep = 0; rep < reps; ++rep) {
40 public int timeFieldFinal(int reps) {
42 for (int rep = 0; rep < reps; ++rep) {
47 public int timeFieldStatic(int reps) {
49 for (int rep = 0; rep < reps; ++rep) {
54 public int timeFieldStaticFinal(int reps) {
56 for (int rep = 0; rep < reps; ++rep) {
61 public int timeFieldCached(int reps) {
64 for (int rep = 0; rep < reps; ++rep)
    [all...]
MultiplicationBenchmark.java 23 public int timeMultiplyIntByConstant10(int reps) {
25 for (int i = 0; i < reps; ++i) {
30 public int timeMultiplyIntByConstant8(int reps) {
32 for (int i = 0; i < reps; ++i) {
37 public int timeMultiplyIntByVariable10(int reps) {
40 for (int i = 0; i < reps; ++i) {
45 public int timeMultiplyIntByVariable8(int reps) {
48 for (int i = 0; i < reps; ++i) {
AdditionBenchmark.java 23 public int timeAddConstantToLocalInt(int reps) {
25 for (int i = 0; i < reps; ++i) {
30 public int timeAddTwoLocalInts(int reps) {
33 for (int i = 0; i < reps; ++i) {
38 public long timeAddConstantToLocalLong(int reps) {
40 for (int i = 0; i < reps; ++i) {
45 public long timeAddTwoLocalLongs(int reps) {
48 for (int i = 0; i < reps; ++i) {
53 public float timeAddConstantToLocalFloat(int reps) {
55 for (int i = 0; i < reps; ++i)
    [all...]
  /external/caliper/examples/src/main/java/examples/
NoOpBenchmark.java 25 @Benchmark long increment(long reps) {
27 for (; result < reps; result++) {}

Completed in 3275 milliseconds

1 2 3 4 5 6 7 8 91011>>