Searched defs:reps (Results 51 - 75 of 98) sorted by relevance

1234

/libcore/benchmarks/src/benchmarks/regression/
H A DDateFormatBenchmark.java39 public void timeGetDateTimeInstance(int reps) throws Exception { argument
40 for (int i = 0; i < reps; ++i) {
45 public void timeGetDateTimeInstance_multiple(int reps) throws Exception { argument
46 for (int i = 0; i < reps; ++i) {
H A DDateToStringBenchmark.java39 public void timeDateToString(int reps) throws Exception { argument
40 for (int i = 0; i < reps; ++i) {
45 public void timeDateToString_Formatter(int reps) throws Exception { argument
46 for (int i = 0; i < reps; ++i) {
51 public void timeDateToString_ClonedFormatter(int reps) throws Exception { argument
52 for (int i = 0; i < reps; ++i) {
57 public void timeDateToString_AndroidDateFormat(int reps) { argument
58 for (int i = 0; i < reps; i++) {
H A DDoPrivilegedBenchmark.java23 public void timeDirect(int reps) throws Exception { argument
24 for (int i = 0; i < reps; ++i) {
29 public void timeFastAndSlow(int reps) throws Exception { argument
30 for (int i = 0; i < reps; ++i) {
44 public void timeNewAction(int reps) throws Exception { argument
45 for (int i = 0; i < reps; ++i) {
54 public void timeReusedAction(int reps) throws Exception { argument
56 for (int i = 0; i < reps; ++i) {
H A DIntConstantDivisionBenchmark.java20 public int timeDivideIntByConstant2(int reps) { argument
22 for (int i = 0; i < reps; ++i) {
27 public int timeDivideIntByConstant8(int reps) { argument
29 for (int i = 0; i < reps; ++i) {
34 public int timeDivideIntByConstant10(int reps) { argument
36 for (int i = 0; i < reps; ++i) {
41 public int timeDivideIntByConstant100(int reps) { argument
43 for (int i = 0; i < reps; ++i) {
48 public int timeDivideIntByConstant100_HandOptimized(int reps) { argument
50 for (int i = 0; i < reps;
55 timeDivideIntByConstant2048(int reps) argument
62 timeDivideIntByVariable2(int reps) argument
70 timeDivideIntByVariable10(int reps) argument
[all...]
H A DIntConstantMultiplicationBenchmark.java20 public int timeMultiplyIntByConstant6(int reps) { argument
22 for (int i = 0; i < reps; ++i) {
27 public int timeMultiplyIntByConstant7(int reps) { argument
29 for (int i = 0; i < reps; ++i) {
34 public int timeMultiplyIntByConstant8(int reps) { argument
36 for (int i = 0; i < reps; ++i) {
41 public int timeMultiplyIntByConstant8_Shift(int reps) { argument
43 for (int i = 0; i < reps; ++i) {
48 public int timeMultiplyIntByConstant10(int reps) { argument
50 for (int i = 0; i < reps;
55 timeMultiplyIntByConstant10_Shift(int reps) argument
62 timeMultiplyIntByConstant2047(int reps) argument
69 timeMultiplyIntByConstant2048(int reps) argument
76 timeMultiplyIntByConstant2049(int reps) argument
83 timeMultiplyIntByVariable10(int reps) argument
91 timeMultiplyIntByVariable8(int reps) argument
[all...]
H A DMutableIntBenchmark.java28 @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;
68 timeCreate(int reps) argument
69 timeIncrement(int reps) argument
70 timeGet(int reps) argument
75 timeCreate(int reps) argument
79 timeIncrement(int reps) argument
83 timeGet(int reps) argument
[all...]
H A DPriorityQueueBenchmark.java69 public boolean timeRemove(int reps) { argument
74 for (int i = 0; i < reps; i++) {
H A DSchemePrefixBenchmark.java75 public void timeSchemePrefix(int reps) { argument
76 for (int i = 0; i < reps; i++) {
H A DSimpleDateFormatBenchmark.java33 public void time_createFormatWithTimeZone(int reps) { argument
34 for (int i = 0; i < reps; i++) {
39 public void time_parseWithTimeZoneShort(int reps) throws ParseException { argument
41 for (int i = 0; i < reps; i++) {
46 public void time_parseWithTimeZoneLong(int reps) throws ParseException { argument
48 for (int i = 0; i < reps; i++) {
53 public void time_parseWithoutTimeZone(int reps) throws ParseException { argument
55 for (int i = 0; i < reps; i++) {
60 public void time_createAndParseWithTimeZoneShort(int reps) throws ParseException { argument
61 for (int i = 0; i < reps;
67 time_createAndParseWithTimeZoneLong(int reps) argument
74 time_formatWithTimeZoneShort(int reps) argument
81 time_formatWithTimeZoneLong(int reps) argument
[all...]
H A DStringBenchmark.java40 public void timeHashCode(int reps) { argument
41 for (int i = 0; i < reps; ++i) {
H A DStringBuilderBenchmark.java28 public void timeAppendBoolean(int reps) { argument
29 for (int i = 0; i < reps; ++i) {
37 public void timeAppendChar(int reps) { argument
38 for (int i = 0; i < reps; ++i) {
46 public void timeAppendCharArray(int reps) { argument
48 for (int i = 0; i < reps; ++i) {
56 public void timeAppendCharSequence(int reps) { argument
58 for (int i = 0; i < reps; ++i) {
66 public void timeAppendSubCharSequence(int reps) { argument
68 for (int i = 0; i < reps;
76 timeAppendDouble(int reps) argument
86 timeAppendFloat(int reps) argument
96 timeAppendInt(int reps) argument
106 timeAppendLong(int reps) argument
116 timeAppendObject(int reps) argument
131 timeAppendString(int reps) argument
[all...]
H A DXmlEntitiesBenchmark.java57 public void timeXmlParser(int reps) throws Exception { argument
58 for (int i = 0; i < reps; i++) {
66 public void timeDocumentBuilder(int reps) throws Exception { argument
67 for (int i = 0; i < reps; i++) {
H A DDigestBenchmark.java59 public void time(int reps) throws Exception { argument
60 for (int i = 0; i < reps; ++i) {
H A DFormatterBenchmark.java26 public void timeFormatter_NoFormatting(int reps) { argument
27 for (int i = 0; i < reps; i++) {
33 public void timeStringBuilder_NoFormatting(int reps) { argument
34 for (int i = 0; i < reps; i++) {
40 public void timeFormatter_OneInt(int reps) { argument
42 for (int i = 0; i < reps; i++) {
48 public void timeFormatter_OneIntArabic(int reps) { argument
51 for (int i = 0; i < reps; i++) {
57 public void timeStringBuilder_OneInt(int reps) { argument
58 for (int i = 0; i < reps;
66 timeFormatter_OneHexInt(int reps) argument
74 timeStringBuilder_OneHexInt(int reps) argument
83 timeFormatter_OneFloat(int reps) argument
91 timeFormatter_OneFloat_dot2f(int reps) argument
99 timeFormatter_TwoFloats(int reps) argument
107 timeStringBuilder_OneFloat(int reps) argument
116 timeFormatter_OneString(int reps) argument
123 timeStringBuilder_OneString(int reps) argument
[all...]
H A DIcuBenchmark.java42 public void time_getBestDateTimePattern(int reps) throws Exception { argument
43 for (int rep = 0; rep < reps; ++rep) {
49 public void time_toUpperCaseAsciiUS(int reps) { argument
50 for (int i = 0; i < reps; i++) {
56 public void time_toLowerCaseAsciiUs(int reps) { argument
57 for (int i = 0; i < reps; i++) {
63 public void time_toUpperCaseLat1SuplFr(int reps) { argument
64 for (int i = 0; i < reps; i++) {
70 public void time_toUpperCaseLatExtACz(int reps) { argument
71 for (int i = 0; i < reps;
77 time_toUpperCaseLatExtBPinyin(int reps) argument
[all...]
H A DKeyPairGeneratorBenchmark.java57 public void time(int reps) throws Exception { argument
58 for (int i = 0; i < reps; ++i) {
H A DNativeMethodBenchmark.java22 public void time_emptyJniStaticSynchronizedMethod0(int reps) throws Exception { argument
23 for (int i = 0; i < reps; ++i) {
28 public void time_emptyJniSynchronizedMethod0(int reps) throws Exception { argument
30 for (int i = 0; i < reps; ++i) {
36 public void time_emptyJniMethod0(int reps) throws Exception { argument
38 for (int i = 0; i < reps; ++i) {
43 public void time_emptyJniMethod6(int reps) throws Exception { argument
47 for (int i = 0; i < reps; ++i) {
52 public void time_emptyJniMethod6L(int reps) throws Exception { argument
54 for (int i = 0; i < reps;
59 time_emptyJniStaticMethod6L(int reps) argument
64 time_emptyJniStaticMethod0(int reps) argument
70 time_emptyJniStaticMethod6(int reps) argument
78 time_emptyJniMethod0_Fast(int reps) argument
85 time_emptyJniMethod6_Fast(int reps) argument
94 time_emptyJniMethod6L_Fast(int reps) argument
101 time_emptyJniStaticMethod6L_Fast(int reps) argument
106 time_emptyJniStaticMethod0_Fast(int reps) argument
112 time_emptyJniStaticMethod6_Fast(int reps) argument
120 time_emptyJniStaticMethod0_Critical(int reps) argument
126 time_emptyJniStaticMethod6_Critical(int reps) argument
[all...]
H A DSSLSocketBenchmark.java81 public void time(int reps) throws Exception { argument
82 for (int i = 0; i < reps; ++i) {
H A DStringReplaceAllBenchmark.java59 public void timeReplaceAllTrivialPatternNonExistent(int reps) { argument
60 for (int i = 0; i < reps; ++i) {
65 public void timeReplaceTrivialPatternAllRepeated(int reps) { argument
66 for (int i = 0; i < reps; ++i) {
71 public void timeReplaceAllTrivialPatternSingleOccurence(int reps) { argument
72 for (int i = 0; i < reps; ++i) {
H A DStringReplaceBenchmark.java54 public void timeReplaceCharNonExistent(int reps) { argument
55 for (int i = 0; i < reps; ++i) {
60 public void timeReplaceCharRepeated(int reps) { argument
61 for (int i = 0; i < reps; ++i) {
66 public void timeReplaceSingleChar(int reps) { argument
67 for (int i = 0; i < reps; ++i) {
72 public void timeReplaceSequenceNonExistent(int reps) { argument
73 for (int i = 0; i < reps; ++i) {
78 public void timeReplaceSequenceRepeated(int reps) { argument
79 for (int i = 0; i < reps;
84 timeReplaceSingleSequence(int reps) argument
[all...]
H A DEqualsHashCodeBenchmark.java63 public void timeEquals(int reps) { argument
64 for (int i = 0; i < reps; i+=3) {
71 public void timeHashCode(int reps) { argument
72 for (int i = 0; i < reps; i+=2) {
78 public void timeEqualsWithHeavilyEscapedComponent(int reps) { argument
79 for (int i = 0; i < reps; ++i) {
/libcore/benchmarks/src/benchmarks/
H A DDeepArrayOpsBenchmark.java80 public void timeDeepHashCode(int reps) { argument
81 for (int i = 0; i < reps; ++i) {
86 public void timeEquals(int reps) { argument
87 for (int i = 0; i < reps; ++i) {
H A DFieldAccessBenchmark.java33 public int timeField(int reps) { argument
35 for (int rep = 0; rep < reps; ++rep) {
40 public int timeFieldFinal(int reps) { argument
42 for (int rep = 0; rep < reps; ++rep) {
47 public int timeFieldStatic(int reps) { argument
49 for (int rep = 0; rep < reps; ++rep) {
54 public int timeFieldStaticFinal(int reps) { argument
56 for (int rep = 0; rep < reps; ++rep) {
61 public int timeFieldCached(int reps) { argument
64 for (int rep = 0; rep < reps;
69 timeFieldPrivateInnerClassPublicField(int reps) argument
77 timeFieldPrivateInnerClassProtectedField(int reps) argument
85 timeFieldPrivateInnerClassPrivateField(int reps) argument
93 timeFieldPrivateInnerClassPackageField(int reps) argument
[all...]
H A DMethodInvocationBenchmark.java34 public int timeInternalGetter(int reps) { argument
36 for (int i = 0; i < reps; ++i) {
42 public int timeInternalFieldAccess(int reps) { argument
44 for (int i = 0; i < reps; ++i) {
60 public void timeInternalGetter(int reps) { argument
61 new C().timeInternalGetter(reps);
64 public void timeInternalFieldAccess(int reps) { argument
65 new C().timeInternalFieldAccess(reps);
69 public int timeStringLength(int reps) { argument
71 for (int i = 0; i < reps;
77 timeEmptyStatic(int reps) argument
84 timeEmptyVirtual(int reps) argument
91 timeEmptyInterface(int reps) argument
107 timePrivateInnerPublicMethod(int reps) argument
114 timePrivateInnerProtectedMethod(int reps) argument
121 timePrivateInnerPrivateMethod(int reps) argument
128 timePrivateInnerPackageMethod(int reps) argument
135 timePrivateInnerFinalPackageMethod(int reps) argument
[all...]
H A DXmlParseBenchmark.java85 public int timeSax(int reps) throws IOException, SAXException { argument
87 for (int i = 0; i < reps; i++) {
104 public int timeDom(int reps) throws IOException, SAXException { argument
106 for (int i = 0; i < reps; i++) {
125 public int timeExpat(int reps) throws Exception { argument
126 return testXmlPull(expatConstructor, reps);
129 public int timeKxml(int reps) throws Exception { argument
130 return testXmlPull(kxmlConstructor, reps);
133 private int testXmlPull(Constructor<? extends XmlPullParser> constructor, int reps) argument
136 for (int i = 0; i < reps;
[all...]

Completed in 723 milliseconds

1234