OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:reps
(Results
1 - 25
of
110
) sorted by null
1
2
3
4
5
/libcore/benchmarks/src/benchmarks/regression/
IntConstantMultiplicationBenchmark.java
24
public int timeMultiplyIntByConstant6(int
reps
) {
26
for (int i = 0; i <
reps
; ++i) {
31
public int timeMultiplyIntByConstant7(int
reps
) {
33
for (int i = 0; i <
reps
; ++i) {
38
public int timeMultiplyIntByConstant8(int
reps
) {
40
for (int i = 0; i <
reps
; ++i) {
45
public int timeMultiplyIntByConstant8_Shift(int
reps
) {
47
for (int i = 0; i <
reps
; ++i) {
52
public int timeMultiplyIntByConstant10(int
reps
) {
54
for (int i = 0; i <
reps
; ++i)
[
all
...]
MathBenchmark.java
33
public void timeAbsD(int
reps
) {
34
for (int rep = 0; rep <
reps
; ++rep) {
39
public void timeAbsF(int
reps
) {
40
for (int rep = 0; rep <
reps
; ++rep) {
45
public void timeAbsI(int
reps
) {
46
for (int rep = 0; rep <
reps
; ++rep) {
51
public void timeAbsL(int
reps
) {
52
for (int rep = 0; rep <
reps
; ++rep) {
57
public void timeAcos(int
reps
) {
58
for (int rep = 0; rep <
reps
; ++rep)
[
all
...]
MutableIntBenchmark.java
30
@Override void timeCreate(int
reps
) {
31
for (int i = 0; i <
reps
; i++) {
35
@Override void timeIncrement(int
reps
) {
36
for (int i = 0; i <
reps
; i++) {
40
@Override int timeGet(int
reps
) {
42
for (int i = 0; i <
reps
; i++) {
51
@Override void timeCreate(int
reps
) {
52
for (int i = 0; i <
reps
; i++) {
56
@Override void timeIncrement(int
reps
) {
57
for (int i = 0; i <
reps
; i++)
[
all
...]
StrictMathBenchmark.java
33
public void timeAbsD(int
reps
) {
34
for (int rep = 0; rep <
reps
; ++rep) {
39
public void timeAbsF(int
reps
) {
40
for (int rep = 0; rep <
reps
; ++rep) {
45
public void timeAbsI(int
reps
) {
46
for (int rep = 0; rep <
reps
; ++rep) {
51
public void timeAbsL(int
reps
) {
52
for (int rep = 0; rep <
reps
; ++rep) {
57
public void timeAcos(int
reps
) {
58
for (int rep = 0; rep <
reps
; ++rep)
[
all
...]
RealToStringBenchmark.java
29
public void timeFloat_toString_NaN(int
reps
) {
30
for (int rep = 0; rep <
reps
; ++rep) {
35
public void timeFloat_toString_NEGATIVE_INFINITY(int
reps
) {
36
for (int rep = 0; rep <
reps
; ++rep) {
41
public void timeFloat_toString_POSITIVE_INFINITY(int
reps
) {
42
for (int rep = 0; rep <
reps
; ++rep) {
47
public void timeFloat_toString_zero(int
reps
) {
48
for (int rep = 0; rep <
reps
; ++rep) {
53
public void timeFloat_toString_minusZero(int
reps
) {
54
for (int rep = 0; rep <
reps
; ++rep)
[
all
...]
IntegralToStringBenchmark.java
29
public void time_IntegerToString_small(int
reps
) {
30
for (int rep = 0; rep <
reps
; ++rep) {
35
public void time_IntegerToString_medium(int
reps
) {
36
for (int rep = 0; rep <
reps
; ++rep) {
41
public void time_IntegerToString_large(int
reps
) {
42
for (int rep = 0; rep <
reps
; ++rep) {
47
public void time_IntegerToString2_small(int
reps
) {
48
for (int rep = 0; rep <
reps
; ++rep) {
53
public void time_IntegerToString2_medium(int
reps
) {
54
for (int rep = 0; rep <
reps
; ++rep)
[
all
...]
StringSplitBenchmark.java
23
public void timeStringSplitComma(int
reps
) {
24
for (int i = 0; i <
reps
; ++i) {
29
public void timeStringSplitLiteralDot(int
reps
) {
30
for (int i = 0; i <
reps
; ++i) {
35
public void timeStringSplitNewline(int
reps
) {
36
for (int i = 0; i <
reps
; ++i) {
41
public void timePatternSplitComma(int
reps
) {
43
for (int i = 0; i <
reps
; ++i) {
48
public void timePatternSplitLiteralDot(int
reps
) {
50
for (int i = 0; i <
reps
; ++i)
[
all
...]
TimeZoneBenchmark.java
23
public void timeTimeZone_getDefault(int
reps
) throws Exception {
24
for (int rep = 0; rep <
reps
; ++rep) {
29
public void timeTimeZone_getTimeZoneUTC(int
reps
) throws Exception {
30
for (int rep = 0; rep <
reps
; ++rep) {
35
public void timeTimeZone_getTimeZone_default(int
reps
) throws Exception {
37
for (int rep = 0; rep <
reps
; ++rep) {
43
public void timeTimeZone_getTimeZone_America_Caracas(int
reps
) throws Exception {
44
for (int rep = 0; rep <
reps
; ++rep) {
50
public void timeTimeZone_getTimeZone_America_Santiago(int
reps
) throws Exception {
51
for (int rep = 0; rep <
reps
; ++rep)
[
all
...]
IntConstantRemainderBenchmark.java
24
public int timeRemainderIntByConstant2(int
reps
) {
26
for (int i = 0; i <
reps
; ++i) {
31
public int timeRemainderIntByConstant8(int
reps
) {
33
for (int i = 0; i <
reps
; ++i) {
39
public int timeRemainderIntByConstant10(int
reps
) {
41
for (int i = 0; i <
reps
; ++i) {
46
public int timeRemainderIntByConstant100(int
reps
) {
48
for (int i = 0; i <
reps
; ++i) {
54
public int timeRemainderIntByConstant2048(int
reps
) {
56
for (int i = 0; i <
reps
; ++i)
[
all
...]
StringIsEmptyBenchmark.java
23
public void timeIsEmpty_NonEmpty(int
reps
) {
25
for (int i = 0; i <
reps
; ++i) {
31
public void timeIsEmpty_Empty(int
reps
) {
33
for (int i = 0; i <
reps
; ++i) {
39
public void timeLengthEqualsZero(int
reps
) {
41
for (int i = 0; i <
reps
; ++i) {
47
public void timeEqualsEmpty(int
reps
) {
49
for (int i = 0; i <
reps
; ++i) {
IntConstantDivisionBenchmark.java
24
public int timeDivideIntByConstant2(int
reps
) {
26
for (int i = 0; i <
reps
; ++i) {
31
public int timeDivideIntByConstant8(int
reps
) {
33
for (int i = 0; i <
reps
; ++i) {
38
public int timeDivideIntByConstant10(int
reps
) {
40
for (int i = 0; i <
reps
; ++i) {
45
public int timeDivideIntByConstant100(int
reps
) {
47
for (int i = 0; i <
reps
; ++i) {
52
public int timeDivideIntByConstant100_HandOptimized(int
reps
) {
54
for (int i = 0; i <
reps
; ++i)
[
all
...]
NativeMethodBenchmark.java
23
public void time_emptyJniStaticSynchronizedMethod0(int
reps
) throws Exception {
24
for (int i = 0; i <
reps
; ++i) {
29
public void time_emptyJniSynchronizedMethod0(int
reps
) throws Exception {
31
for (int i = 0; i <
reps
; ++i) {
36
public void time_emptyJniStaticMethod0(int
reps
) throws Exception {
37
for (int i = 0; i <
reps
; ++i) {
42
public void time_emptyJniMethod0(int
reps
) throws Exception {
44
for (int i = 0; i <
reps
; ++i) {
49
public void time_emptyJniStaticMethod6(int
reps
) throws Exception {
52
for (int i = 0; i <
reps
; ++i)
[
all
...]
SerializationBenchmark.java
35
public void timeReadIntArray(int
reps
) throws Exception {
37
readSingleObject(
reps
, intArray);
40
public void timeWriteIntArray(int
reps
) throws Exception {
42
writeSingleObject(
reps
, intArray);
44
public void timeReadArrayListInteger(int
reps
) throws Exception {
49
readSingleObject(
reps
, object);
52
public void timeWriteArrayListInteger(int
reps
) throws Exception {
57
writeSingleObject(
reps
, object);
60
public void timeReadString(int
reps
) throws Exception {
61
readSingleObject(
reps
, "hello")
[
all
...]
FormatterBenchmark.java
28
public void timeFormatter_NoFormatting(int
reps
) {
29
for (int i = 0; i <
reps
; i++) {
35
public void timeStringBuilder_NoFormatting(int
reps
) {
36
for (int i = 0; i <
reps
; i++) {
42
public void timeFormatter_OneInt(int
reps
) {
44
for (int i = 0; i <
reps
; i++) {
50
public void timeFormatter_OneIntArabic(int
reps
) {
53
for (int i = 0; i <
reps
; i++) {
59
public void timeStringBuilder_OneInt(int
reps
) {
60
for (int i = 0; i <
reps
; i++)
[
all
...]
ExpensiveObjectsBenchmark.java
30
public void timeNewDateFormatTimeInstance(int
reps
) {
31
for (int i = 0; i <
reps
; ++i) {
37
public void timeClonedDateFormatTimeInstance(int
reps
) {
39
for (int i = 0; i <
reps
; ++i) {
44
public void timeReusedDateFormatTimeInstance(int
reps
) {
46
for (int i = 0; i <
reps
; ++i) {
53
public void timeNewCollator(int
reps
) {
54
for (int i = 0; i <
reps
; ++i) {
59
public void timeClonedCollator(int
reps
) {
61
for (int i = 0; i <
reps
; ++i)
[
all
...]
BitSetBenchmark.java
33
public void timeIsEmptyTrue(int
reps
) {
34
for (int i = 0; i <
reps
; ++i) {
39
public void timeIsEmptyFalse(int
reps
) {
41
for (int i = 0; i <
reps
; ++i) {
46
public void timeGet(int
reps
) {
47
for (int i = 0; i <
reps
; ++i) {
52
public void timeClear(int
reps
) {
53
for (int i = 0; i <
reps
; ++i) {
58
public void timeSet(int
reps
) {
59
for (int i = 0; i <
reps
; ++i)
[
all
...]
AnnotatedElementBenchmark.java
41
public void timeGetTypeAnnotations(int
reps
) {
42
for (int i = 0; i <
reps
; i++) {
47
public void timeGetFieldAnnotations(int
reps
) {
48
for (int i = 0; i <
reps
; i++) {
53
public void timeGetMethodAnnotations(int
reps
) {
54
for (int i = 0; i <
reps
; i++) {
59
public void timeGetParameterAnnotations(int
reps
) {
60
for (int i = 0; i <
reps
; i++) {
65
public void timeGetTypeAnnotation(int
reps
) {
66
for (int i = 0; i <
reps
; i++)
[
all
...]
ReflectionBenchmark.java
25
public void timeObject_getClass(int
reps
) throws Exception {
27
for (int rep = 0; rep <
reps
; ++rep) {
32
public void timeClass_getField(int
reps
) throws Exception {
34
for (int rep = 0; rep <
reps
; ++rep) {
39
public void timeClass_getDeclaredField(int
reps
) throws Exception {
41
for (int rep = 0; rep <
reps
; ++rep) {
46
public void timeClass_getConstructor(int
reps
) throws Exception {
48
for (int rep = 0; rep <
reps
; ++rep) {
53
public void timeClass_newInstance(int
reps
) throws Exception {
56
for (int rep = 0; rep <
reps
; ++rep)
[
all
...]
/libcore/benchmarks/src/benchmarks/
MethodInvocationBenchmark.java
38
public int timeInternalGetter(int
reps
) {
40
for (int i = 0; i <
reps
; ++i) {
46
public int timeInternalFieldAccess(int
reps
) {
48
for (int i = 0; i <
reps
; ++i) {
64
public void timeInternalGetter(int
reps
) {
65
new C().timeInternalGetter(
reps
);
68
public void timeInternalFieldAccess(int
reps
) {
69
new C().timeInternalFieldAccess(
reps
);
73
public int timeStringLength(int
reps
) {
75
for (int i = 0; i <
reps
; ++i)
[
all
...]
MultiplicationBenchmark.java
27
public int timeMultiplyIntByConstant10(int
reps
) {
29
for (int i = 0; i <
reps
; ++i) {
34
public int timeMultiplyIntByConstant8(int
reps
) {
36
for (int i = 0; i <
reps
; ++i) {
41
public int timeMultiplyIntByVariable10(int
reps
) {
44
for (int i = 0; i <
reps
; ++i) {
49
public int timeMultiplyIntByVariable8(int
reps
) {
52
for (int i = 0; i <
reps
; ++i) {
AdditionBenchmark.java
27
public int timeAddConstantToLocalInt(int
reps
) {
29
for (int i = 0; i <
reps
; ++i) {
34
public int timeAddTwoLocalInts(int
reps
) {
37
for (int i = 0; i <
reps
; ++i) {
42
public long timeAddConstantToLocalLong(int
reps
) {
44
for (int i = 0; i <
reps
; ++i) {
49
public long timeAddTwoLocalLongs(int
reps
) {
52
for (int i = 0; i <
reps
; ++i) {
57
public float timeAddConstantToLocalFloat(int
reps
) {
59
for (int i = 0; i <
reps
; ++i)
[
all
...]
FieldAccessBenchmark.java
37
public int timeField(int
reps
) {
39
for (int rep = 0; rep <
reps
; ++rep) {
44
public int timeFieldFinal(int
reps
) {
46
for (int rep = 0; rep <
reps
; ++rep) {
51
public int timeFieldStatic(int
reps
) {
53
for (int rep = 0; rep <
reps
; ++rep) {
58
public int timeFieldStaticFinal(int
reps
) {
60
for (int rep = 0; rep <
reps
; ++rep) {
65
public int timeFieldCached(int
reps
) {
68
for (int rep = 0; rep <
reps
; ++rep)
[
all
...]
/frameworks/base/core/tests/benchmarks/src/android/net/
TrafficStatsBenchmark.java
22
public void timeGetUidRxBytes(int
reps
) {
23
for (int i = 0; i <
reps
; i++) {
28
public void timeGetMobileRxBytes(int
reps
) {
29
for (int i = 0; i <
reps
; i++) {
34
public void timeGetTotalRxBytes(int
reps
) {
35
for (int i = 0; i <
reps
; i++) {
/frameworks/base/core/tests/benchmarks/src/android/os/
ParcelBenchmark.java
36
public void timeWriteByte(int
reps
) {
38
for (int i = 0; i <
reps
; i++) {
43
public void timeReadByte(int
reps
) {
44
mParcel.setDataCapacity(
reps
);
45
for (int i = 0; i <
reps
; i++) {
50
public void timeWriteInt(int
reps
) {
52
for (int i = 0; i <
reps
; i++) {
57
public void timeReadInt(int
reps
) {
58
mParcel.setDataCapacity(
reps
<< 2);
59
for (int i = 0; i <
reps
; i++)
[
all
...]
ParcelArrayBenchmark.java
59
public void timeWriteByteArray(int
reps
) {
60
for (int i = 0; i <
reps
; i++) {
66
public void timeCreateByteArray(int
reps
) {
67
for (int i = 0; i <
reps
; i++) {
73
public void timeReadByteArray(int
reps
) {
74
for (int i = 0; i <
reps
; i++) {
80
public void timeWriteIntArray(int
reps
) {
81
for (int i = 0; i <
reps
; i++) {
87
public void timeCreateIntArray(int
reps
) {
88
for (int i = 0; i <
reps
; i++)
[
all
...]
Completed in 468 milliseconds
1
2
3
4
5