Home
last modified time | relevance | path

Searched refs:reps (Results 1 – 25 of 97) sorted by relevance

1234

/libcore/benchmarks/src/benchmarks/regression/
DStrictMathBenchmark.java59 public void timeAbsD(int reps) { in timeAbsD() argument
60 for (int rep = 0; rep < reps; ++rep) { in timeAbsD()
65 public void timeAbsF(int reps) { in timeAbsF() argument
66 for (int rep = 0; rep < reps; ++rep) { in timeAbsF()
71 public void timeAbsI(int reps) { in timeAbsI() argument
72 for (int rep = 0; rep < reps; ++rep) { in timeAbsI()
77 public void timeAbsL(int reps) { in timeAbsL() argument
78 for (int rep = 0; rep < reps; ++rep) { in timeAbsL()
83 public void timeAcos(int reps) { in timeAcos() argument
84 for (int rep = 0; rep < reps; ++rep) { in timeAcos()
[all …]
DDecimalFormatBenchmark.java29 public static void formatWithGrouping(Object obj, int reps) { in formatWithGrouping() argument
32 for (int i = 0; i < reps; i++) { in formatWithGrouping()
37 public static void format(String pattern, Object obj, int reps) { in format() argument
39 for (int i = 0; i < reps; i++) { in format()
44 public static void format(Object obj, int reps) { in format() argument
45 for (int i = 0; i < reps; i++) { in format()
50 public static void formatToCharacterIterator(Object obj, int reps) { in formatToCharacterIterator() argument
51 for (int i = 0; i < reps; i++) { in formatToCharacterIterator()
57 public static void formatCurrencyUS(Object obj, int reps) { in formatCurrencyUS() argument
58 for (int i = 0; i < reps; i++) { in formatCurrencyUS()
[all …]
DIntegralToStringBenchmark.java25 public void time_IntegerToString_small(int reps) { in time_IntegerToString_small() argument
26 for (int rep = 0; rep < reps; ++rep) { in time_IntegerToString_small()
31 public void time_IntegerToString_medium(int reps) { in time_IntegerToString_medium() argument
32 for (int rep = 0; rep < reps; ++rep) { in time_IntegerToString_medium()
37 public void time_IntegerToString_large(int reps) { in time_IntegerToString_large() argument
38 for (int rep = 0; rep < reps; ++rep) { in time_IntegerToString_large()
43 public void time_IntegerToString2_small(int reps) { in time_IntegerToString2_small() argument
44 for (int rep = 0; rep < reps; ++rep) { in time_IntegerToString2_small()
49 public void time_IntegerToString2_medium(int reps) { in time_IntegerToString2_medium() argument
50 for (int rep = 0; rep < reps; ++rep) { in time_IntegerToString2_medium()
[all …]
DMathBenchmark.java34 public double timeAbsD(int reps) { in timeAbsD() argument
36 for (int rep = 0; rep < reps; ++rep) { in timeAbsD()
42 public float timeAbsF(int reps) { in timeAbsF() argument
44 for (int rep = 0; rep < reps; ++rep) { in timeAbsF()
50 public int timeAbsI(int reps) { in timeAbsI() argument
52 for (int rep = 0; rep < reps; ++rep) { in timeAbsI()
58 public long timeAbsL(int reps) { in timeAbsL() argument
60 for (int rep = 0; rep < reps; ++rep) { in timeAbsL()
66 public double timeAcos(int reps) { in timeAcos() argument
68 for (int rep = 0; rep < reps; ++rep) { in timeAcos()
[all …]
DSerializationBenchmark.java36 public void timeReadIntArray(int reps) throws Exception { in timeReadIntArray() argument
38 readSingleObject(reps, intArray); in timeReadIntArray()
41 public void timeWriteIntArray(int reps) throws Exception { in timeWriteIntArray() argument
43 writeSingleObject(reps, intArray); in timeWriteIntArray()
45 public void timeReadArrayListInteger(int reps) throws Exception { in timeReadArrayListInteger() argument
50 readSingleObject(reps, object); in timeReadArrayListInteger()
53 public void timeWriteArrayListInteger(int reps) throws Exception { in timeWriteArrayListInteger() argument
58 writeSingleObject(reps, object); in timeWriteArrayListInteger()
61 public void timeReadString(int reps) throws Exception { in timeReadString() argument
62 readSingleObject(reps, "hello"); in timeReadString()
[all …]
DRealToStringBenchmark.java25 public void timeFloat_toString_NaN(int reps) { in timeFloat_toString_NaN() argument
26 for (int rep = 0; rep < reps; ++rep) { in timeFloat_toString_NaN()
31 public void timeFloat_toString_NEGATIVE_INFINITY(int reps) { in timeFloat_toString_NEGATIVE_INFINITY() argument
32 for (int rep = 0; rep < reps; ++rep) { in timeFloat_toString_NEGATIVE_INFINITY()
37 public void timeFloat_toString_POSITIVE_INFINITY(int reps) { in timeFloat_toString_POSITIVE_INFINITY() argument
38 for (int rep = 0; rep < reps; ++rep) { in timeFloat_toString_POSITIVE_INFINITY()
43 public void timeFloat_toString_zero(int reps) { in timeFloat_toString_zero() argument
44 for (int rep = 0; rep < reps; ++rep) { in timeFloat_toString_zero()
49 public void timeFloat_toString_minusZero(int reps) { in timeFloat_toString_minusZero() argument
50 for (int rep = 0; rep < reps; ++rep) { in timeFloat_toString_minusZero()
[all …]
DAnnotatedElementBenchmark.java41 public void timeGetTypeAnnotations(int reps) { in timeGetTypeAnnotations() argument
42 for (int i = 0; i < reps; i++) { in timeGetTypeAnnotations()
47 public void timeGetFieldAnnotations(int reps) { in timeGetFieldAnnotations() argument
48 for (int i = 0; i < reps; i++) { in timeGetFieldAnnotations()
53 public void timeGetMethodAnnotations(int reps) { in timeGetMethodAnnotations() argument
54 for (int i = 0; i < reps; i++) { in timeGetMethodAnnotations()
59 public void timeGetParameterAnnotations(int reps) { in timeGetParameterAnnotations() argument
60 for (int i = 0; i < reps; i++) { in timeGetParameterAnnotations()
65 public void timeGetTypeAnnotation(int reps) { in timeGetTypeAnnotation() argument
66 for (int i = 0; i < reps; i++) { in timeGetTypeAnnotation()
[all …]
DExpensiveObjectsBenchmark.java32 public void timeNewDateFormatTimeInstance(int reps) { in timeNewDateFormatTimeInstance() argument
33 for (int i = 0; i < reps; ++i) { in timeNewDateFormatTimeInstance()
39 public void timeClonedDateFormatTimeInstance(int reps) { in timeClonedDateFormatTimeInstance() argument
41 for (int i = 0; i < reps; ++i) { in timeClonedDateFormatTimeInstance()
46 public void timeReusedDateFormatTimeInstance(int reps) { in timeReusedDateFormatTimeInstance() argument
48 for (int i = 0; i < reps; ++i) { in timeReusedDateFormatTimeInstance()
55 public void timeNewCollator(int reps) { in timeNewCollator() argument
56 for (int i = 0; i < reps; ++i) { in timeNewCollator()
61 public void timeClonedCollator(int reps) { in timeClonedCollator() argument
63 for (int i = 0; i < reps; ++i) { in timeClonedCollator()
[all …]
DReflectionBenchmark.java24 public void timeObject_getClass(int reps) throws Exception { in timeObject_getClass() argument
26 for (int rep = 0; rep < reps; ++rep) { in timeObject_getClass()
31 public void timeClass_getField(int reps) throws Exception { in timeClass_getField() argument
33 for (int rep = 0; rep < reps; ++rep) { in timeClass_getField()
38 public void timeClass_getDeclaredField(int reps) throws Exception { in timeClass_getDeclaredField() argument
40 for (int rep = 0; rep < reps; ++rep) { in timeClass_getDeclaredField()
45 public void timeClass_getConstructor(int reps) throws Exception { in timeClass_getConstructor() argument
47 for (int rep = 0; rep < reps; ++rep) { in timeClass_getConstructor()
52 public void timeClass_newInstance(int reps) throws Exception { in timeClass_newInstance() argument
55 for (int rep = 0; rep < reps; ++rep) { in timeClass_newInstance()
[all …]
DIntConstantMultiplicationBenchmark.java20 public int timeMultiplyIntByConstant6(int reps) { in timeMultiplyIntByConstant6() argument
22 for (int i = 0; i < reps; ++i) { in timeMultiplyIntByConstant6()
27 public int timeMultiplyIntByConstant7(int reps) { in timeMultiplyIntByConstant7() argument
29 for (int i = 0; i < reps; ++i) { in timeMultiplyIntByConstant7()
34 public int timeMultiplyIntByConstant8(int reps) { in timeMultiplyIntByConstant8() argument
36 for (int i = 0; i < reps; ++i) { in timeMultiplyIntByConstant8()
41 public int timeMultiplyIntByConstant8_Shift(int reps) { in timeMultiplyIntByConstant8_Shift() argument
43 for (int i = 0; i < reps; ++i) { in timeMultiplyIntByConstant8_Shift()
48 public int timeMultiplyIntByConstant10(int reps) { in timeMultiplyIntByConstant10() argument
50 for (int i = 0; i < reps; ++i) { in timeMultiplyIntByConstant10()
[all …]
DMutableIntBenchmark.java28 @Override void timeCreate(int reps) { in ARRAY() argument
29 for (int i = 0; i < reps; i++) { in ARRAY()
33 @Override void timeIncrement(int reps) { in ARRAY() argument
34 for (int i = 0; i < reps; i++) { in ARRAY()
38 @Override int timeGet(int reps) { in ARRAY() argument
40 for (int i = 0; i < reps; i++) { in ARRAY()
49 @Override void timeCreate(int reps) { in ATOMIC() argument
50 for (int i = 0; i < reps; i++) { in ATOMIC()
54 @Override void timeIncrement(int reps) { in ATOMIC() argument
55 for (int i = 0; i < reps; i++) { in ATOMIC()
[all …]
DCharacterBenchmark.java58 public boolean timeIsSpace(int reps) { in timeIsSpace() argument
61 for (int i = 0; i < reps; ++i) { in timeIsSpace()
67 for (int i = 0; i < reps; ++i) { in timeIsSpace()
76 public void timeDigit(int reps) { in timeDigit() argument
78 for (int i = 0; i < reps; ++i) { in timeDigit()
84 for (int i = 0; i < reps; ++i) { in timeDigit()
92 public void timeGetNumericValue(int reps) { in timeGetNumericValue() argument
94 for (int i = 0; i < reps; ++i) { in timeGetNumericValue()
100 for (int i = 0; i < reps; ++i) { in timeGetNumericValue()
108 public void timeIsDigit(int reps) { in timeIsDigit() argument
[all …]
DFormatterBenchmark.java26 public void timeFormatter_NoFormatting(int reps) { in timeFormatter_NoFormatting() argument
27 for (int i = 0; i < reps; i++) { in timeFormatter_NoFormatting()
33 public void timeStringBuilder_NoFormatting(int reps) { in timeStringBuilder_NoFormatting() argument
34 for (int i = 0; i < reps; i++) { in timeStringBuilder_NoFormatting()
40 public void timeFormatter_OneInt(int reps) { in timeFormatter_OneInt() argument
42 for (int i = 0; i < reps; i++) { in timeFormatter_OneInt()
48 public void timeFormatter_OneIntArabic(int reps) { in timeFormatter_OneIntArabic() argument
51 for (int i = 0; i < reps; i++) { in timeFormatter_OneIntArabic()
57 public void timeStringBuilder_OneInt(int reps) { in timeStringBuilder_OneInt() argument
58 for (int i = 0; i < reps; i++) { in timeStringBuilder_OneInt()
[all …]
DIntConstantDivisionBenchmark.java20 public int timeDivideIntByConstant2(int reps) { in timeDivideIntByConstant2() argument
22 for (int i = 0; i < reps; ++i) { in timeDivideIntByConstant2()
27 public int timeDivideIntByConstant8(int reps) { in timeDivideIntByConstant8() argument
29 for (int i = 0; i < reps; ++i) { in timeDivideIntByConstant8()
34 public int timeDivideIntByConstant10(int reps) { in timeDivideIntByConstant10() argument
36 for (int i = 0; i < reps; ++i) { in timeDivideIntByConstant10()
41 public int timeDivideIntByConstant100(int reps) { in timeDivideIntByConstant100() argument
43 for (int i = 0; i < reps; ++i) { in timeDivideIntByConstant100()
48 public int timeDivideIntByConstant100_HandOptimized(int reps) { in timeDivideIntByConstant100_HandOptimized() argument
50 for (int i = 0; i < reps; ++i) { in timeDivideIntByConstant100_HandOptimized()
[all …]
DByteBufferBenchmark.java84 public void timeByteBuffer_getByte(int reps) throws Exception { in timeByteBuffer_getByte() argument
86 for (int rep = 0; rep < reps; ++rep) { in timeByteBuffer_getByte()
94 public void timeByteBuffer_getByteArray(int reps) throws Exception { in timeByteBuffer_getByteArray() argument
97 for (int rep = 0; rep < reps; ++rep) { in timeByteBuffer_getByteArray()
105 public void timeByteBuffer_getByte_indexed(int reps) throws Exception { in timeByteBuffer_getByte_indexed() argument
107 for (int rep = 0; rep < reps; ++rep) { in timeByteBuffer_getByte_indexed()
115 public void timeByteBuffer_getChar(int reps) throws Exception { in timeByteBuffer_getChar() argument
117 for (int rep = 0; rep < reps; ++rep) { in timeByteBuffer_getChar()
125 public void timeCharBuffer_getCharArray(int reps) throws Exception { in timeCharBuffer_getCharArray() argument
128 for (int rep = 0; rep < reps; ++rep) { in timeCharBuffer_getCharArray()
[all …]
DStringBuilderBenchmark.java28 public void timeAppendBoolean(int reps) { in timeAppendBoolean() argument
29 for (int i = 0; i < reps; ++i) { in timeAppendBoolean()
37 public void timeAppendChar(int reps) { in timeAppendChar() argument
38 for (int i = 0; i < reps; ++i) { in timeAppendChar()
46 public void timeAppendCharArray(int reps) { in timeAppendCharArray() argument
48 for (int i = 0; i < reps; ++i) { in timeAppendCharArray()
56 public void timeAppendCharSequence(int reps) { in timeAppendCharSequence() argument
58 for (int i = 0; i < reps; ++i) { in timeAppendCharSequence()
66 public void timeAppendSubCharSequence(int reps) { in timeAppendSubCharSequence() argument
68 for (int i = 0; i < reps; ++i) { in timeAppendSubCharSequence()
[all …]
DPropertyAccessBenchmark.java37 public void timeDirectSetter(int reps) { in timeDirectSetter() argument
38 for (int i = 0; i < reps; i++) { in timeDirectSetter()
43 public void timeDirectFieldSet(int reps) { in timeDirectFieldSet() argument
44 for (int i = 0; i < reps; i++) { in timeDirectFieldSet()
49 public void timeDirectSetterAndBoxing(int reps) { in timeDirectSetterAndBoxing() argument
50 for (int i = 0; i < reps; i++) { in timeDirectSetterAndBoxing()
56 public void timeDirectFieldSetAndBoxing(int reps) { in timeDirectFieldSetAndBoxing() argument
57 for (int i = 0; i < reps; i++) { in timeDirectFieldSetAndBoxing()
63 public void timeReflectionSetterAndTwoBoxes(int reps) throws Exception { in timeReflectionSetterAndTwoBoxes() argument
64 for (int i = 0; i < reps; i++) { in timeReflectionSetterAndTwoBoxes()
[all …]
DStringSplitBenchmark.java22 public void timeStringSplitComma(int reps) { in timeStringSplitComma() argument
23 for (int i = 0; i < reps; ++i) { in timeStringSplitComma()
28 public void timeStringSplitLiteralDot(int reps) { in timeStringSplitLiteralDot() argument
29 for (int i = 0; i < reps; ++i) { in timeStringSplitLiteralDot()
34 public void timeStringSplitNewline(int reps) { in timeStringSplitNewline() argument
35 for (int i = 0; i < reps; ++i) { in timeStringSplitNewline()
40 public void timePatternSplitComma(int reps) { in timePatternSplitComma() argument
42 for (int i = 0; i < reps; ++i) { in timePatternSplitComma()
47 public void timePatternSplitLiteralDot(int reps) { in timePatternSplitLiteralDot() argument
49 for (int i = 0; i < reps; ++i) { in timePatternSplitLiteralDot()
[all …]
DBitSetBenchmark.java34 public void timeIsEmptyTrue(int reps) { in timeIsEmptyTrue() argument
35 for (int i = 0; i < reps; ++i) { in timeIsEmptyTrue()
40 public void timeIsEmptyFalse(int reps) { in timeIsEmptyFalse() argument
42 for (int i = 0; i < reps; ++i) { in timeIsEmptyFalse()
47 public void timeGet(int reps) { in timeGet() argument
48 for (int i = 0; i < reps; ++i) { in timeGet()
53 public void timeClear(int reps) { in timeClear() argument
54 for (int i = 0; i < reps; ++i) { in timeClear()
59 public void timeSet(int reps) { in timeSet() argument
60 for (int i = 0; i < reps; ++i) { in timeSet()
[all …]
DBidiBenchmark.java29 public void time_createBidiFromIter(int reps) { in time_createBidiFromIter() argument
30 for (int i = 0; i < reps; i++) { in time_createBidiFromIter()
35 public void time_createBidiFromCharArray(int reps) { in time_createBidiFromCharArray() argument
36 for (int i = 0; i < reps; i++) { in time_createBidiFromCharArray()
42 public void time_createBidiFromString(int reps) { in time_createBidiFromString() argument
43 for (int i = 0; i < reps; i++) { in time_createBidiFromString()
48 public void time_reorderVisually(int reps) { in time_reorderVisually() argument
49 for (int i = 0; i < reps; i++) { in time_reorderVisually()
55 public void time_hebrewBidi(int reps) { in time_hebrewBidi() argument
56 for (int i = 0; i < reps; i++) { in time_hebrewBidi()
[all …]
DTimeZoneBenchmark.java22 public void timeTimeZone_getDefault(int reps) throws Exception { in timeTimeZone_getDefault() argument
23 for (int rep = 0; rep < reps; ++rep) { in timeTimeZone_getDefault()
28 public void timeTimeZone_getTimeZoneUTC(int reps) throws Exception { in timeTimeZone_getTimeZoneUTC() argument
29 for (int rep = 0; rep < reps; ++rep) { in timeTimeZone_getTimeZoneUTC()
34 public void timeTimeZone_getTimeZone_default(int reps) throws Exception { in timeTimeZone_getTimeZone_default() argument
36 for (int rep = 0; rep < reps; ++rep) { in timeTimeZone_getTimeZone_default()
42 public void timeTimeZone_getTimeZone_America_Caracas(int reps) throws Exception { in timeTimeZone_getTimeZone_America_Caracas() argument
43 for (int rep = 0; rep < reps; ++rep) { in timeTimeZone_getTimeZone_America_Caracas()
49 public void timeTimeZone_getTimeZone_America_Santiago(int reps) throws Exception { in timeTimeZone_getTimeZone_America_Santiago() argument
50 for (int rep = 0; rep < reps; ++rep) { in timeTimeZone_getTimeZone_America_Santiago()
[all …]
/libcore/benchmarks/src/benchmarks/
DMethodInvocationBenchmark.java34 public int timeInternalGetter(int reps) { in timeInternalGetter() argument
36 for (int i = 0; i < reps; ++i) { in timeInternalGetter()
42 public int timeInternalFieldAccess(int reps) { in timeInternalFieldAccess() argument
44 for (int i = 0; i < reps; ++i) { in timeInternalFieldAccess()
60 public void timeInternalGetter(int reps) { in timeInternalGetter() argument
61 new C().timeInternalGetter(reps); in timeInternalGetter()
64 public void timeInternalFieldAccess(int reps) { in timeInternalFieldAccess() argument
65 new C().timeInternalFieldAccess(reps); in timeInternalFieldAccess()
69 public int timeStringLength(int reps) { in timeStringLength() argument
71 for (int i = 0; i < reps; ++i) { in timeStringLength()
[all …]
DAdditionBenchmark.java23 public int timeAddConstantToLocalInt(int reps) { in timeAddConstantToLocalInt() argument
25 for (int i = 0; i < reps; ++i) { in timeAddConstantToLocalInt()
30 public int timeAddTwoLocalInts(int reps) { in timeAddTwoLocalInts() argument
33 for (int i = 0; i < reps; ++i) { in timeAddTwoLocalInts()
38 public long timeAddConstantToLocalLong(int reps) { in timeAddConstantToLocalLong() argument
40 for (int i = 0; i < reps; ++i) { in timeAddConstantToLocalLong()
45 public long timeAddTwoLocalLongs(int reps) { in timeAddTwoLocalLongs() argument
48 for (int i = 0; i < reps; ++i) { in timeAddTwoLocalLongs()
53 public float timeAddConstantToLocalFloat(int reps) { in timeAddConstantToLocalFloat() argument
55 for (int i = 0; i < reps; ++i) { in timeAddConstantToLocalFloat()
[all …]
DFieldAccessBenchmark.java33 public int timeField(int reps) { in timeField() argument
35 for (int rep = 0; rep < reps; ++rep) { in timeField()
40 public int timeFieldFinal(int reps) { in timeFieldFinal() argument
42 for (int rep = 0; rep < reps; ++rep) { in timeFieldFinal()
47 public int timeFieldStatic(int reps) { in timeFieldStatic() argument
49 for (int rep = 0; rep < reps; ++rep) { in timeFieldStatic()
54 public int timeFieldStaticFinal(int reps) { in timeFieldStaticFinal() argument
56 for (int rep = 0; rep < reps; ++rep) { in timeFieldStaticFinal()
61 public int timeFieldCached(int reps) { in timeFieldCached() argument
64 for (int rep = 0; rep < reps; ++rep) { in timeFieldCached()
[all …]
DSystemArrayCopyBenchmark.java28 public void timeSystemCharArrayCopy(int reps) { in timeSystemCharArrayCopy() argument
32 for (int rep = 0; rep < reps; ++rep) { in timeSystemCharArrayCopy()
37 public void timeSystemByteArrayCopy(int reps) { in timeSystemByteArrayCopy() argument
41 for (int rep = 0; rep < reps; ++rep) { in timeSystemByteArrayCopy()
46 public void timeSystemShortArrayCopy(int reps) { in timeSystemShortArrayCopy() argument
50 for (int rep = 0; rep < reps; ++rep) { in timeSystemShortArrayCopy()
55 public void timeSystemIntArrayCopy(int reps) { in timeSystemIntArrayCopy() argument
59 for (int rep = 0; rep < reps; ++rep) { in timeSystemIntArrayCopy()
64 public void timeSystemLongArrayCopy(int reps) { in timeSystemLongArrayCopy() argument
68 for (int rep = 0; rep < reps; ++rep) { in timeSystemLongArrayCopy()
[all …]

1234