/libcore/benchmarks/src/benchmarks/regression/ |
D | StrictMathBenchmark.java | 59 public void timeAbsD(int reps) { in timeAbsD() 65 public void timeAbsF(int reps) { in timeAbsF() 71 public void timeAbsI(int reps) { in timeAbsI() 77 public void timeAbsL(int reps) { in timeAbsL() 83 public void timeAcos(int reps) { in timeAcos() 89 public void timeAsin(int reps) { in timeAsin() 95 public void timeAtan(int reps) { in timeAtan() 101 public void timeAtan2(int reps) { in timeAtan2() 107 public void timeCbrt(int reps) { in timeCbrt() 113 public void timeCeilOverInterestingValues(int reps) { in timeCeilOverInterestingValues() [all …]
|
D | IntegralToStringBenchmark.java | 25 public void time_IntegerToString_small(int reps) { in time_IntegerToString_small() 31 public void time_IntegerToString_medium(int reps) { in time_IntegerToString_medium() 37 public void time_IntegerToString_large(int reps) { in time_IntegerToString_large() 43 public void time_IntegerToString2_small(int reps) { in time_IntegerToString2_small() 49 public void time_IntegerToString2_medium(int reps) { in time_IntegerToString2_medium() 55 public void time_IntegerToString2_large(int reps) { in time_IntegerToString2_large() 61 public void time_IntegerToString10_small(int reps) { in time_IntegerToString10_small() 67 public void time_IntegerToString10_medium(int reps) { in time_IntegerToString10_medium() 73 public void time_IntegerToString10_large(int reps) { in time_IntegerToString10_large() 79 public void time_IntegerToString16_small(int reps) { in time_IntegerToString16_small() [all …]
|
D | DecimalFormatBenchmark.java | 29 public static void formatWithGrouping(Object obj, int reps) { in formatWithGrouping() 37 public static void format(String pattern, Object obj, int reps) { in format() 44 public static void format(Object obj, int reps) { in format() 50 public static void formatToCharacterIterator(Object obj, int reps) { in formatToCharacterIterator() 57 public static void formatCurrencyUS(Object obj, int reps) { in formatCurrencyUS() 63 public static void formatCurrencyFR(Object obj, int reps) { in formatCurrencyFR() 69 public void time_formatGrouping_BigDecimal10e3(int reps) { in time_formatGrouping_BigDecimal10e3() 73 public void time_formatGrouping_BigDecimal10e9(int reps) { in time_formatGrouping_BigDecimal10e9() 77 public void time_formatGrouping_BigDecimal10e100(int reps) { in time_formatGrouping_BigDecimal10e100() 81 public void time_formatGrouping_BigDecimal10e1000(int reps) { in time_formatGrouping_BigDecimal10e1000() [all …]
|
D | RealToStringBenchmark.java | 25 public void timeFloat_toString_NaN(int reps) { in timeFloat_toString_NaN() 31 public void timeFloat_toString_NEGATIVE_INFINITY(int reps) { in timeFloat_toString_NEGATIVE_INFINITY() 37 public void timeFloat_toString_POSITIVE_INFINITY(int reps) { in timeFloat_toString_POSITIVE_INFINITY() 43 public void timeFloat_toString_zero(int reps) { in timeFloat_toString_zero() 49 public void timeFloat_toString_minusZero(int reps) { in timeFloat_toString_minusZero() 55 public void timeFloat_toString_small(int reps) { in timeFloat_toString_small() 61 public void timeFloat_toString_medium(int reps) { in timeFloat_toString_medium() 67 public void timeFloat_toString_large(int reps) { in timeFloat_toString_large() 73 public void timeStringBuilder_small(int reps) { in timeStringBuilder_small() 79 public void timeStringBuilder_medium(int reps) { in timeStringBuilder_medium() [all …]
|
D | MathBenchmark.java | 34 public double timeAbsD(int reps) { in timeAbsD() 42 public float timeAbsF(int reps) { in timeAbsF() 50 public int timeAbsI(int reps) { in timeAbsI() 58 public long timeAbsL(int reps) { in timeAbsL() 66 public double timeAcos(int reps) { in timeAcos() 74 public double timeAsin(int reps) { in timeAsin() 82 public double timeAtan(int reps) { in timeAtan() 90 public double timeAtan2(int reps) { in timeAtan2() 98 public double timeCbrt(int reps) { in timeCbrt() 106 public double timeCeil(int reps) { in timeCeil() [all …]
|
D | ExpensiveObjectsBenchmark.java | 32 public void timeNewDateFormatTimeInstance(int reps) { in timeNewDateFormatTimeInstance() 39 public void timeClonedDateFormatTimeInstance(int reps) { in timeClonedDateFormatTimeInstance() 46 public void timeReusedDateFormatTimeInstance(int reps) { in timeReusedDateFormatTimeInstance() 55 public void timeNewCollator(int reps) { in timeNewCollator() 61 public void timeClonedCollator(int reps) { in timeClonedCollator() 68 public void timeNewDateFormatSymbols(int reps) { in timeNewDateFormatSymbols() 74 public void timeClonedDateFormatSymbols(int reps) { in timeClonedDateFormatSymbols() 81 public void timeNewDecimalFormatSymbols(int reps) { in timeNewDecimalFormatSymbols() 87 public void timeClonedDecimalFormatSymbols(int reps) { in timeClonedDecimalFormatSymbols() 94 public void timeNewNumberFormat(int reps) { in timeNewNumberFormat() [all …]
|
D | AnnotatedElementBenchmark.java | 41 public void timeGetTypeAnnotations(int reps) { in timeGetTypeAnnotations() 47 public void timeGetFieldAnnotations(int reps) { in timeGetFieldAnnotations() 53 public void timeGetMethodAnnotations(int reps) { in timeGetMethodAnnotations() 59 public void timeGetParameterAnnotations(int reps) { in timeGetParameterAnnotations() 65 public void timeGetTypeAnnotation(int reps) { in timeGetTypeAnnotation() 71 public void timeGetFieldAnnotation(int reps) { in timeGetFieldAnnotation() 77 public void timeGetMethodAnnotation(int reps) { in timeGetMethodAnnotation() 83 public void timeIsTypeAnnotationPresent(int reps) { in timeIsTypeAnnotationPresent() 89 public void timeIsFieldAnnotationPresent(int reps) { in timeIsFieldAnnotationPresent() 95 public void timeIsMethodAnnotationPresent(int reps) { in timeIsMethodAnnotationPresent() [all …]
|
D | SerializationBenchmark.java | 36 public void timeReadIntArray(int reps) throws Exception { in timeReadIntArray() 41 public void timeWriteIntArray(int reps) throws Exception { in timeWriteIntArray() 45 public void timeReadArrayListInteger(int reps) throws Exception { in timeReadArrayListInteger() 53 public void timeWriteArrayListInteger(int reps) throws Exception { in timeWriteArrayListInteger() 61 public void timeReadString(int reps) throws Exception { in timeReadString() 65 public void timeReadObjectStreamClass(int reps) throws Exception { in timeReadObjectStreamClass() 72 public void timeWriteString(int reps) throws Exception { in timeWriteString() 77 public void timeWriteObjectStreamClass(int reps) throws Exception { in timeWriteObjectStreamClass() 85 public void timeWriteNoObjects(int reps) throws Exception { in timeWriteNoObjects() 95 private void readSingleObject(int reps, Object object) throws Exception { in readSingleObject() [all …]
|
D | NativeMethodBenchmark.java | 22 public void time_emptyJniStaticSynchronizedMethod0(int reps) throws Exception { in time_emptyJniStaticSynchronizedMethod0() 28 public void time_emptyJniSynchronizedMethod0(int reps) throws Exception { in time_emptyJniSynchronizedMethod0() 36 public void time_emptyJniMethod0(int reps) throws Exception { in time_emptyJniMethod0() 43 public void time_emptyJniMethod6(int reps) throws Exception { in time_emptyJniMethod6() 52 public void time_emptyJniMethod6L(int reps) throws Exception { in time_emptyJniMethod6L() 59 public void time_emptyJniStaticMethod6L(int reps) throws Exception { in time_emptyJniStaticMethod6L() 64 public void time_emptyJniStaticMethod0(int reps) throws Exception { in time_emptyJniStaticMethod0() 70 public void time_emptyJniStaticMethod6(int reps) throws Exception { in time_emptyJniStaticMethod6() 78 public void time_emptyJniMethod0_Fast(int reps) throws Exception { in time_emptyJniMethod0_Fast() 85 public void time_emptyJniMethod6_Fast(int reps) throws Exception { in time_emptyJniMethod6_Fast() [all …]
|
D | CharacterBenchmark.java | 58 public boolean timeIsSpace(int reps) { in timeIsSpace() 76 public void timeDigit(int reps) { in timeDigit() 92 public void timeGetNumericValue(int reps) { in timeGetNumericValue() 108 public void timeIsDigit(int reps) { in timeIsDigit() 124 public void timeIsIdentifierIgnorable(int reps) { in timeIsIdentifierIgnorable() 140 public void timeIsJavaIdentifierPart(int reps) { in timeIsJavaIdentifierPart() 156 public void timeIsJavaIdentifierStart(int reps) { in timeIsJavaIdentifierStart() 172 public void timeIsLetter(int reps) { in timeIsLetter() 188 public void timeIsLetterOrDigit(int reps) { in timeIsLetterOrDigit() 204 public void timeIsLowerCase(int reps) { in timeIsLowerCase() [all …]
|
D | MutableIntBenchmark.java | 28 @Override void timeCreate(int reps) { in ARRAY() 33 @Override void timeIncrement(int reps) { in ARRAY() 38 @Override int timeGet(int reps) { in ARRAY() 49 @Override void timeCreate(int reps) { in ATOMIC() 54 @Override void timeIncrement(int reps) { in ATOMIC() 59 @Override int timeGet(int reps) { in ATOMIC() 68 abstract void timeCreate(int reps); in timeCreate() 69 abstract void timeIncrement(int reps); in timeIncrement() 70 abstract int timeGet(int reps); in timeGet() 75 public void timeCreate(int reps) { in timeCreate() [all …]
|
D | ByteBufferBenchmark.java | 84 public void timeByteBuffer_getByte(int reps) throws Exception { in timeByteBuffer_getByte() 94 public void timeByteBuffer_getByteArray(int reps) throws Exception { in timeByteBuffer_getByteArray() 105 public void timeByteBuffer_getByte_indexed(int reps) throws Exception { in timeByteBuffer_getByte_indexed() 115 public void timeByteBuffer_getChar(int reps) throws Exception { in timeByteBuffer_getChar() 125 public void timeCharBuffer_getCharArray(int reps) throws Exception { in timeCharBuffer_getCharArray() 136 public void timeByteBuffer_getChar_indexed(int reps) throws Exception { in timeByteBuffer_getChar_indexed() 146 public void timeByteBuffer_getDouble(int reps) throws Exception { in timeByteBuffer_getDouble() 156 public void timeDoubleBuffer_getDoubleArray(int reps) throws Exception { in timeDoubleBuffer_getDoubleArray() 167 public void timeByteBuffer_getFloat(int reps) throws Exception { in timeByteBuffer_getFloat() 177 public void timeFloatBuffer_getFloatArray(int reps) throws Exception { in timeFloatBuffer_getFloatArray() [all …]
|
D | IntConstantMultiplicationBenchmark.java | 20 public int timeMultiplyIntByConstant6(int reps) { in timeMultiplyIntByConstant6() 27 public int timeMultiplyIntByConstant7(int reps) { in timeMultiplyIntByConstant7() 34 public int timeMultiplyIntByConstant8(int reps) { in timeMultiplyIntByConstant8() 41 public int timeMultiplyIntByConstant8_Shift(int reps) { in timeMultiplyIntByConstant8_Shift() 48 public int timeMultiplyIntByConstant10(int reps) { in timeMultiplyIntByConstant10() 55 public int timeMultiplyIntByConstant10_Shift(int reps) { in timeMultiplyIntByConstant10_Shift() 62 public int timeMultiplyIntByConstant2047(int reps) { in timeMultiplyIntByConstant2047() 69 public int timeMultiplyIntByConstant2048(int reps) { in timeMultiplyIntByConstant2048() 76 public int timeMultiplyIntByConstant2049(int reps) { in timeMultiplyIntByConstant2049() 83 public int timeMultiplyIntByVariable10(int reps) { in timeMultiplyIntByVariable10() [all …]
|
D | ReflectionBenchmark.java | 24 public void timeObject_getClass(int reps) throws Exception { in timeObject_getClass() 31 public void timeClass_getField(int reps) throws Exception { in timeClass_getField() 38 public void timeClass_getDeclaredField(int reps) throws Exception { in timeClass_getDeclaredField() 45 public void timeClass_getConstructor(int reps) throws Exception { in timeClass_getConstructor() 52 public void timeClass_newInstance(int reps) throws Exception { in timeClass_newInstance() 60 public void timeClass_getMethod(int reps) throws Exception { in timeClass_getMethod() 67 public void timeClass_getDeclaredMethod(int reps) throws Exception { in timeClass_getDeclaredMethod() 74 public void timeField_setInt(int reps) throws Exception { in timeField_setInt() 83 public void timeField_getInt(int reps) throws Exception { in timeField_getInt() 92 public void timeMethod_invokeV(int reps) throws Exception { in timeMethod_invokeV() [all …]
|
D | FormatterBenchmark.java | 26 public void timeFormatter_NoFormatting(int reps) { in timeFormatter_NoFormatting() 33 public void timeStringBuilder_NoFormatting(int reps) { in timeStringBuilder_NoFormatting() 40 public void timeFormatter_OneInt(int reps) { in timeFormatter_OneInt() 48 public void timeFormatter_OneIntArabic(int reps) { in timeFormatter_OneIntArabic() 57 public void timeStringBuilder_OneInt(int reps) { in timeStringBuilder_OneInt() 66 public void timeFormatter_OneHexInt(int reps) { in timeFormatter_OneHexInt() 74 public void timeStringBuilder_OneHexInt(int reps) { in timeStringBuilder_OneHexInt() 83 public void timeFormatter_OneFloat(int reps) { in timeFormatter_OneFloat() 91 public void timeFormatter_OneFloat_dot2f(int reps) { in timeFormatter_OneFloat_dot2f() 99 public void timeFormatter_TwoFloats(int reps) { in timeFormatter_TwoFloats() [all …]
|
D | BitSetBenchmark.java | 34 public void timeIsEmptyTrue(int reps) { in timeIsEmptyTrue() 40 public void timeIsEmptyFalse(int reps) { in timeIsEmptyFalse() 47 public void timeGet(int reps) { in timeGet() 53 public void timeClear(int reps) { in timeClear() 59 public void timeSet(int reps) { in timeSet() 65 public void timeSetOn(int reps) { in timeSetOn() 71 public void timeSetOff(int reps) { in timeSetOff()
|
D | TimeZoneBenchmark.java | 22 public void timeTimeZone_getDefault(int reps) throws Exception { in timeTimeZone_getDefault() 28 public void timeTimeZone_getTimeZoneUTC(int reps) throws Exception { in timeTimeZone_getTimeZoneUTC() 34 public void timeTimeZone_getTimeZone_default(int reps) throws Exception { in timeTimeZone_getTimeZone_default() 42 public void timeTimeZone_getTimeZone_America_Caracas(int reps) throws Exception { in timeTimeZone_getTimeZone_America_Caracas() 49 public void timeTimeZone_getTimeZone_America_Santiago(int reps) throws Exception { in timeTimeZone_getTimeZone_America_Santiago() 55 public void timeTimeZone_getTimeZone_GMT_plus_10(int reps) throws Exception { in timeTimeZone_getTimeZone_GMT_plus_10()
|
D | StringSplitBenchmark.java | 22 public void timeStringSplitComma(int reps) { in timeStringSplitComma() 28 public void timeStringSplitLiteralDot(int reps) { in timeStringSplitLiteralDot() 34 public void timeStringSplitNewline(int reps) { in timeStringSplitNewline() 40 public void timePatternSplitComma(int reps) { in timePatternSplitComma() 47 public void timePatternSplitLiteralDot(int reps) { in timePatternSplitLiteralDot() 54 public void timeStringSplitHard(int reps) { in timeStringSplitHard()
|
D | BidiBenchmark.java | 29 public void time_createBidiFromIter(int reps) { in time_createBidiFromIter() 35 public void time_createBidiFromCharArray(int reps) { in time_createBidiFromCharArray() 42 public void time_createBidiFromString(int reps) { in time_createBidiFromString() 48 public void time_reorderVisually(int reps) { in time_reorderVisually() 55 public void time_hebrewBidi(int reps) { in time_hebrewBidi() 66 public void time_complicatedOverrideBidi(int reps) { in time_complicatedOverrideBidi() 74 public void time_requiresBidi(int reps) { in time_requiresBidi()
|
D | StringBuilderBenchmark.java | 28 public void timeAppendBoolean(int reps) { in timeAppendBoolean() 37 public void timeAppendChar(int reps) { in timeAppendChar() 46 public void timeAppendCharArray(int reps) { in timeAppendCharArray() 56 public void timeAppendCharSequence(int reps) { in timeAppendCharSequence() 66 public void timeAppendSubCharSequence(int reps) { in timeAppendSubCharSequence() 76 public void timeAppendDouble(int reps) { in timeAppendDouble() 86 public void timeAppendFloat(int reps) { in timeAppendFloat() 96 public void timeAppendInt(int reps) { in timeAppendInt() 106 public void timeAppendLong(int reps) { in timeAppendLong() 116 public void timeAppendObject(int reps) { in timeAppendObject() [all …]
|
D | IntConstantDivisionBenchmark.java | 20 public int timeDivideIntByConstant2(int reps) { in timeDivideIntByConstant2() 27 public int timeDivideIntByConstant8(int reps) { in timeDivideIntByConstant8() 34 public int timeDivideIntByConstant10(int reps) { in timeDivideIntByConstant10() 41 public int timeDivideIntByConstant100(int reps) { in timeDivideIntByConstant100() 48 public int timeDivideIntByConstant100_HandOptimized(int reps) { in timeDivideIntByConstant100_HandOptimized() 55 public int timeDivideIntByConstant2048(int reps) { in timeDivideIntByConstant2048() 62 public int timeDivideIntByVariable2(int reps) { in timeDivideIntByVariable2() 70 public int timeDivideIntByVariable10(int reps) { in timeDivideIntByVariable10()
|
D | StringEqualsBenchmark.java | 197 public void timeEqualsNull(int reps) { in timeEqualsNull() 206 public void timeEqualsShort(int reps) { in timeEqualsShort() 215 public void timeEqualsMedium(int reps) { in timeEqualsMedium() 224 public void timeEqualsLong(int reps) { in timeEqualsLong() 233 public void timeEqualsVeryLong(int reps) { in timeEqualsVeryLong() 242 public void timeEqualsNonWordAligned(int reps) { in timeEqualsNonWordAligned() 251 public void timeEqualsEnd(int reps) { in timeEqualsEnd() 260 public void timeEqualsNonString(int reps) { in timeEqualsNonString()
|
D | SimpleDateFormatBenchmark.java | 33 public void time_createFormatWithTimeZone(int reps) { in time_createFormatWithTimeZone() 39 public void time_parseWithTimeZoneShort(int reps) throws ParseException { in time_parseWithTimeZoneShort() 46 public void time_parseWithTimeZoneLong(int reps) throws ParseException { in time_parseWithTimeZoneLong() 53 public void time_parseWithoutTimeZone(int reps) throws ParseException { in time_parseWithoutTimeZone() 60 public void time_createAndParseWithTimeZoneShort(int reps) throws ParseException { in time_createAndParseWithTimeZoneShort() 67 public void time_createAndParseWithTimeZoneLong(int reps) throws ParseException { in time_createAndParseWithTimeZoneLong() 74 public void time_formatWithTimeZoneShort(int reps) { in time_formatWithTimeZoneShort() 81 public void time_formatWithTimeZoneLong(int reps) { in time_formatWithTimeZoneLong()
|
/libcore/benchmarks/src/benchmarks/ |
D | MethodInvocationBenchmark.java | 34 public int timeInternalGetter(int reps) { in timeInternalGetter() 42 public int timeInternalFieldAccess(int reps) { in timeInternalFieldAccess() 60 public void timeInternalGetter(int reps) { in timeInternalGetter() 64 public void timeInternalFieldAccess(int reps) { in timeInternalFieldAccess() 69 public int timeStringLength(int reps) { in timeStringLength() 77 public void timeEmptyStatic(int reps) { in timeEmptyStatic() 84 public void timeEmptyVirtual(int reps) { in timeEmptyVirtual() 91 public void timeEmptyInterface(int reps) { in timeEmptyInterface() 107 public void timePrivateInnerPublicMethod(int reps) { in timePrivateInnerPublicMethod() 114 public void timePrivateInnerProtectedMethod(int reps) { in timePrivateInnerProtectedMethod() [all …]
|
D | AdditionBenchmark.java | 23 public int timeAddConstantToLocalInt(int reps) { in timeAddConstantToLocalInt() 30 public int timeAddTwoLocalInts(int reps) { in timeAddTwoLocalInts() 38 public long timeAddConstantToLocalLong(int reps) { in timeAddConstantToLocalLong() 45 public long timeAddTwoLocalLongs(int reps) { in timeAddTwoLocalLongs() 53 public float timeAddConstantToLocalFloat(int reps) { in timeAddConstantToLocalFloat() 60 public float timeAddTwoLocalFloats(int reps) { in timeAddTwoLocalFloats() 68 public double timeAddConstantToLocalDouble(int reps) { in timeAddConstantToLocalDouble() 75 public double timeAddTwoLocalDoubles(int reps) { in timeAddTwoLocalDoubles()
|