Home
last modified time | relevance | path

Searched refs:reps (Results 1 – 25 of 80) 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 …]
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 …]
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 …]
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 …]
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 …]
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 …]
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 …]
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 …]
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 …]
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 …]
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 …]
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 …]
DSimpleDateFormatBenchmark.java33 public void time_createFormatWithTimeZone(int reps) { in time_createFormatWithTimeZone() argument
34 for (int i = 0; i < reps; i++) { in time_createFormatWithTimeZone()
39 public void time_parseWithTimeZoneShort(int reps) throws ParseException { in time_parseWithTimeZoneShort() argument
41 for (int i = 0; i < reps; i++) { in time_parseWithTimeZoneShort()
46 public void time_parseWithTimeZoneLong(int reps) throws ParseException { in time_parseWithTimeZoneLong() argument
48 for (int i = 0; i < reps; i++) { in time_parseWithTimeZoneLong()
53 public void time_parseWithoutTimeZone(int reps) throws ParseException { in time_parseWithoutTimeZone() argument
55 for (int i = 0; i < reps; i++) { in time_parseWithoutTimeZone()
60 public void time_createAndParseWithTimeZoneShort(int reps) throws ParseException { in time_createAndParseWithTimeZoneShort() argument
61 for (int i = 0; i < reps; i++) { in time_createAndParseWithTimeZoneShort()
[all …]
DIntegerBenchmark.java20 public int timeLongSignumBranch(int reps) { in timeLongSignumBranch() argument
22 for (int i = 0; i < reps; ++i) { in timeLongSignumBranch()
30 public int timeLongSignumBranchFree(int reps) { in timeLongSignumBranchFree() argument
32 for (int i = 0; i < reps; ++i) { in timeLongSignumBranchFree()
48 public int timeLongBitCount_BitSet(int reps) { in timeLongBitCount_BitSet() argument
50 for (int i = 0; i < reps; ++i) { in timeLongBitCount_BitSet()
74 public int timeLongBitCount_2Int(int reps) { in timeLongBitCount_2Int() argument
76 for (int i = 0; i < reps; ++i) { in timeLongBitCount_2Int()
88 public int timeLongBitCount_Long(int reps) { in timeLongBitCount_Long() argument
90 for (int i = 0; i < reps; ++i) { in timeLongBitCount_Long()
[all …]
DIntConstantRemainderBenchmark.java20 public int timeRemainderIntByConstant2(int reps) { in timeRemainderIntByConstant2() argument
22 for (int i = 0; i < reps; ++i) { in timeRemainderIntByConstant2()
27 public int timeRemainderIntByConstant8(int reps) { in timeRemainderIntByConstant8() argument
29 for (int i = 0; i < reps; ++i) { in timeRemainderIntByConstant8()
50 public int timeRemainderIntByConstant2048(int reps) { in timeRemainderIntByConstant2048() argument
52 for (int i = 0; i < reps; ++i) { in timeRemainderIntByConstant2048()
57 public int timeRemainderIntByVariable2(int reps) { in timeRemainderIntByVariable2() argument
60 for (int i = 0; i < reps; ++i) { in timeRemainderIntByVariable2()
/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 …]
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 …]
DReferenceBenchmark.java33 public void timeAlloc(int reps) { in timeAlloc() argument
35 for (int i = 0; i < reps; i++) { in timeAlloc()
41 public void timeAllocAndEnqueue(int reps) { in timeAllocAndEnqueue() argument
43 for (int i = 0; i < reps; i++) { in timeAllocAndEnqueue()
49 public void timeAllocEnqueueAndPoll(int reps) { in timeAllocEnqueueAndPoll() argument
51 for (int i = 0; i < reps; i++) { in timeAllocEnqueueAndPoll()
54 for (int i = 0; i < reps; i++) { in timeAllocEnqueueAndPoll()
60 public void timeAllocEnqueueAndRemove(int reps) { in timeAllocEnqueueAndRemove() argument
62 for (int i = 0; i < reps; i++) { in timeAllocEnqueueAndRemove()
65 for (int i = 0; i < reps; i++) { in timeAllocEnqueueAndRemove()
[all …]
DMultiplicationBenchmark.java23 public int timeMultiplyIntByConstant10(int reps) { in timeMultiplyIntByConstant10() argument
25 for (int i = 0; i < reps; ++i) { in timeMultiplyIntByConstant10()
30 public int timeMultiplyIntByConstant8(int reps) { in timeMultiplyIntByConstant8() argument
32 for (int i = 0; i < reps; ++i) { in timeMultiplyIntByConstant8()
37 public int timeMultiplyIntByVariable10(int reps) { in timeMultiplyIntByVariable10() argument
40 for (int i = 0; i < reps; ++i) { in timeMultiplyIntByVariable10()
45 public int timeMultiplyIntByVariable8(int reps) { in timeMultiplyIntByVariable8() argument
48 for (int i = 0; i < reps; ++i) { in timeMultiplyIntByVariable8()
DGetSystemPropertyBenchmark.java34 public void timeSystem_getProperty_default(int reps) { in timeSystem_getProperty_default() argument
35 for (int i = 0; i < reps; i++) { in timeSystem_getProperty_default()
40 public void timeSystem_getProperty(int reps) { in timeSystem_getProperty() argument
41 for (int i = 0; i < reps; i++) { in timeSystem_getProperty()
46 public void timeAccessController_getPropertyAction(int reps) { in timeAccessController_getPropertyAction() argument
47 for (int i = 0; i < reps; i++) { in timeAccessController_getPropertyAction()
53 public void timeAccessController_getPropertyAction_default(int reps) { in timeAccessController_getPropertyAction_default() argument
54 for (int i = 0; i < reps; i++) { in timeAccessController_getPropertyAction_default()

1234