Searched refs:reps (Results 26 - 50 of 90) sorted by relevance

1234

/libcore/benchmarks/src/benchmarks/regression/
H A DAnnotatedElementBenchmark.java41 public void timeGetTypeAnnotations(int reps) { argument
42 for (int i = 0; i < reps; i++) {
47 public void timeGetFieldAnnotations(int reps) { argument
48 for (int i = 0; i < reps; i++) {
53 public void timeGetMethodAnnotations(int reps) { argument
54 for (int i = 0; i < reps; i++) {
59 public void timeGetParameterAnnotations(int reps) { argument
60 for (int i = 0; i < reps; i++) {
65 public void timeGetTypeAnnotation(int reps) { argument
66 for (int i = 0; i < reps;
71 timeGetFieldAnnotation(int reps) argument
77 timeGetMethodAnnotation(int reps) argument
83 timeIsTypeAnnotationPresent(int reps) argument
89 timeIsFieldAnnotationPresent(int reps) argument
95 timeIsMethodAnnotationPresent(int reps) argument
103 timeGetAllReturnsLargeAnnotation(int reps) argument
109 timeGetAllReturnsSmallAnnotation(int reps) argument
115 timeGetAllReturnsMarkerAnnotation(int reps) argument
121 timeGetAllReturnsNoAnnotation(int reps) argument
127 timeGetAllReturnsThreeAnnotations(int reps) argument
136 timeGetAnnotationsOnSubclass(int reps) argument
142 timeGetDeclaredAnnotationsOnSubclass(int reps) argument
151 timeGetDeclaredClasses(int reps) argument
157 timeGetDeclaringClass(int reps) argument
163 timeGetEnclosingClass(int reps) argument
170 timeGetEnclosingConstructor(int reps) argument
177 timeGetEnclosingMethod(int reps) argument
184 timeGetModifiers(int reps) argument
190 timeGetSimpleName(int reps) argument
196 timeIsAnonymousClass(int reps) argument
203 timeIsLocalClass(int reps) argument
[all...]
H A DChecksumBenchmark.java23 public void timeAdler_block(int reps) throws Exception { argument
26 for (int i = 0; i < reps; ++i) {
30 public void timeAdler_byte(int reps) throws Exception { argument
32 for (int i = 0; i < reps; ++i) {
36 public void timeCrc_block(int reps) throws Exception { argument
39 for (int i = 0; i < reps; ++i) {
43 public void timeCrc_byte(int reps) throws Exception { argument
45 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 DDefaultCharsetBenchmark.java22 public void time_defaultCharset(int reps) throws Exception { argument
23 for (int i = 0; i < reps; ++i) {
H A DRandomBenchmark.java23 public void timeNewRandom(int reps) throws Exception { argument
24 for (int i = 0; i < reps; ++i) {
30 public void timeReusedRandom(int reps) throws Exception { argument
32 for (int i = 0; i < reps; ++i) {
37 public void timeReusedSecureRandom(int reps) throws Exception { argument
39 for (int i = 0; i < reps; ++i) {
44 public void timeNewSecureRandom(int reps) throws Exception { argument
45 for (int i = 0; i < reps; ++i) {
H A DSSLSocketFactoryBenchmark.java22 public void time(int reps) throws Exception { argument
23 for (int i = 0; i < reps; ++i) {
H A DThreadLocalBenchmark.java26 public void timeThreadLocal_get(int reps) { argument
27 for (int rep = 0; rep < reps; ++rep) {
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 DLoopingBackwardsBenchmark.java29 public int timeForwards(int reps) { argument
31 for (int i = 0; i < reps; i++) {
39 public int timeBackwards(int reps) { argument
41 for (int i = 0; i < reps; i++) {
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 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 DReflectionBenchmark.java24 public void timeObject_getClass(int reps) throws Exception { argument
26 for (int rep = 0; rep < reps; ++rep) {
31 public void timeClass_getField(int reps) throws Exception { argument
33 for (int rep = 0; rep < reps; ++rep) {
38 public void timeClass_getDeclaredField(int reps) throws Exception { argument
40 for (int rep = 0; rep < reps; ++rep) {
45 public void timeClass_getConstructor(int reps) throws Exception { argument
47 for (int rep = 0; rep < reps; ++rep) {
52 public void timeClass_newInstance(int reps) throws Exception { argument
55 for (int rep = 0; rep < reps;
60 timeClass_getMethod(int reps) argument
67 timeClass_getDeclaredMethod(int reps) argument
74 timeField_setInt(int reps) argument
83 timeField_getInt(int reps) argument
92 timeMethod_invokeV(int reps) argument
101 timeMethod_invokeStaticV(int reps) argument
109 timeMethod_invokeI(int reps) argument
118 timeMethod_invokePreBoxedI(int reps) argument
128 timeMethod_invokeStaticI(int reps) argument
136 timeMethod_invokeStaticPreBoxedI(int reps) argument
145 timeRegularMethodInvocation(int reps) argument
152 timeRegularConstructor(int reps) argument
158 timeClass_classNewInstance(int reps) argument
165 timeClass_isInstance(int reps) argument
173 timeGetInstanceField(int reps) argument
186 timeGetStaticField(int reps) argument
192 timeGetInterfaceStaticField(int reps) argument
198 timeGetSuperClassField(int reps) argument
[all...]
H A DCharacterBenchmark.java58 public boolean timeIsSpace(int reps) { argument
61 for (int i = 0; i < reps; ++i) {
67 for (int i = 0; i < reps; ++i) {
76 public void timeDigit(int reps) { argument
78 for (int i = 0; i < reps; ++i) {
84 for (int i = 0; i < reps; ++i) {
92 public void timeGetNumericValue(int reps) { argument
94 for (int i = 0; i < reps; ++i) {
100 for (int i = 0; i < reps; ++i) {
108 public void timeIsDigit(int reps) { argument
124 timeIsIdentifierIgnorable(int reps) argument
140 timeIsJavaIdentifierPart(int reps) argument
156 timeIsJavaIdentifierStart(int reps) argument
172 timeIsLetter(int reps) argument
188 timeIsLetterOrDigit(int reps) argument
204 timeIsLowerCase(int reps) argument
220 timeIsSpaceChar(int reps) argument
236 timeIsUpperCase(int reps) argument
252 timeIsWhitespace(int reps) argument
268 timeToLowerCase(int reps) argument
284 timeToUpperCase(int reps) argument
[all...]
H A DPropertyAccessBenchmark.java37 public void timeDirectSetter(int reps) { argument
38 for (int i = 0; i < reps; i++) {
43 public void timeDirectFieldSet(int reps) { argument
44 for (int i = 0; i < reps; i++) {
49 public void timeDirectSetterAndBoxing(int reps) { argument
50 for (int i = 0; i < reps; i++) {
56 public void timeDirectFieldSetAndBoxing(int reps) { argument
57 for (int i = 0; i < reps; i++) {
63 public void timeReflectionSetterAndTwoBoxes(int reps) throws Exception { argument
64 for (int i = 0; i < reps;
69 timeReflectionSetterAndOneBox(int reps) argument
76 timeReflectionFieldSet(int reps) argument
82 timeGeneratedSetter(int reps) argument
88 timeGeneratedFieldSet(int reps) argument
[all...]
H A DBigIntegerBenchmark.java23 public void timeRandomDivision(int reps) throws Exception { argument
27 for (int i = 0; i < reps; ++i) {
32 public void timeRandomGcd(int reps) throws Exception { argument
36 for (int i = 0; i < reps; ++i) {
41 public void timeRandomMultiplication(int reps) throws Exception { argument
45 for (int i = 0; i < reps; ++i) {
H A DDoubleBenchmark.java23 public void timeDoubleToLongBits(int reps) { argument
25 for (int rep = 0; rep < reps; ++rep) {
33 public void timeDoubleToRawLongBits(int reps) { argument
35 for (int rep = 0; rep < reps; ++rep) {
43 public void timeLongBitsToDouble(int reps) { argument
45 for (int rep = 0; rep < reps; ++rep) {
H A DFloatBenchmark.java23 public void timeFloatToIntBits(int reps) { argument
25 for (int rep = 0; rep < reps; ++rep) {
33 public void timeFloatToRawIntBits(int reps) { argument
35 for (int rep = 0; rep < reps; ++rep) {
43 public void timeIntBitsToFloat(int reps) { argument
45 for (int rep = 0; rep < reps; ++rep) {
H A DIntegerBenchmark.java20 public int timeLongSignumBranch(int reps) { argument
22 for (int i = 0; i < reps; ++i) {
30 public int timeLongSignumBranchFree(int reps) { argument
32 for (int i = 0; i < reps; ++i) {
48 public int timeLongBitCount_BitSet(int reps) { argument
50 for (int i = 0; i < reps; ++i) {
74 public int timeLongBitCount_2Int(int reps) { argument
76 for (int i = 0; i < reps; ++i) {
88 public int timeLongBitCount_Long(int reps) { argument
90 for (int i = 0; i < reps;
121 timeNumberOfTrailingZerosHD(int reps) argument
129 timeNumberOfTrailingZerosOL(int reps) argument
137 timeIntegerValueOf(int reps) argument
[all...]
/libcore/benchmarks/src/benchmarks/
H A DStringIterationBenchmark.java23 public void timeStringIteration0(int reps) { argument
25 for (int rep = 0; rep < reps; ++rep) {
32 public void timeStringIteration1(int reps) { argument
34 for (int rep = 0; rep < reps; ++rep) {
41 public void timeStringIteration2(int reps) { argument
43 for (int rep = 0; rep < reps; ++rep) {
51 public void timeStringToCharArray(int reps) { argument
53 for (int rep = 0; rep < reps; ++rep) {
H A DSystemArrayCopyBenchmark.java28 public void timeSystemCharArrayCopy(int reps) { argument
32 for (int rep = 0; rep < reps; ++rep) {
37 public void timeSystemByteArrayCopy(int reps) { argument
41 for (int rep = 0; rep < reps; ++rep) {
46 public void timeSystemShortArrayCopy(int reps) { argument
50 for (int rep = 0; rep < reps; ++rep) {
55 public void timeSystemIntArrayCopy(int reps) { argument
59 for (int rep = 0; rep < reps; ++rep) {
64 public void timeSystemLongArrayCopy(int reps) { argument
68 for (int rep = 0; rep < reps;
73 timeSystemFloatArrayCopy(int reps) argument
82 timeSystemDoubleArrayCopy(int reps) argument
91 timeSystemBooleanArrayCopy(int reps) argument
[all...]
H A DVirtualVersusInterfaceBenchmark.java27 public void timeMapPut(int reps) { argument
29 for (int i = 0; i < reps; ++i) {
33 public void timeHashMapPut(int reps) { argument
35 for (int i = 0; i < reps; ++i) {
H A DHashedCollectionsBenchmark.java28 public void timeHashMapGet(int reps) { argument
31 for (int i = 0; i < reps; ++i) {
35 public void timeHashMapGet_Synchronized(int reps) { argument
40 for (int i = 0; i < reps; ++i) {
46 public void timeHashtableGet(int reps) { argument
49 for (int i = 0; i < reps; ++i) {
53 public void timeLinkedHashMapGet(int reps) { argument
56 for (int i = 0; i < reps; ++i) {
60 public void timeConcurrentHashMapGet(int reps) { argument
63 for (int i = 0; i < reps;
[all...]
H A DArrayIterationBenchmark.java27 public void timeArrayIteration(int reps) { argument
28 for (int rep = 0; rep < reps; ++rep) {
35 public void timeArrayIterationCached(int reps) { argument
36 for (int rep = 0; rep < reps; ++rep) {
46 public void timeArrayIterationForEach(int reps) { argument
47 for (int rep = 0; rep < reps; ++rep) {
H A DArrayListIterationBenchmark.java29 public void timeArrayListIterationIndexed(int reps) { argument
30 for (int rep = 0; rep < reps; ++rep) {
39 public void timeArrayListIterationForEach(int reps) { argument
40 for (int rep = 0; rep < reps; ++rep) {
H A DClassLoaderResourceBenchmark.java26 public void timeGetBootResource_hit(int reps) { argument
30 for (int rep = 0; rep < reps; ++rep) {
35 public void timeGetBootResource_miss(int reps) { argument
39 for (int rep = 0; rep < reps; ++rep) {

Completed in 215 milliseconds

1234