Home
last modified time | relevance | path

Searched refs:Benchmark (Results 1 – 25 of 387) sorted by relevance

12345678910>>...16

/external/skia/bench/
DBenchmark.cpp18 Benchmark::Benchmark() { in Benchmark() function in Benchmark
24 const char* Benchmark::getName() { in getName()
28 const char* Benchmark::getUniqueName() { in getUniqueName()
32 SkIPoint Benchmark::getSize() { in getSize()
36 void Benchmark::delayedSetup() { in delayedSetup()
40 void Benchmark::perCanvasPreDraw(SkCanvas* canvas) { in perCanvasPreDraw()
44 void Benchmark::preDraw(SkCanvas* canvas) { in preDraw()
48 void Benchmark::postDraw(SkCanvas* canvas) { in postDraw()
52 void Benchmark::perCanvasPostDraw(SkCanvas* canvas) { in perCanvasPostDraw()
56 void Benchmark::draw(int loops, SkCanvas* canvas) { in draw()
[all …]
DRefCntBench.cpp17 class AtomicInc32 : public Benchmark {
38 typedef Benchmark INHERITED;
41 class AtomicInc64 : public Benchmark {
62 typedef Benchmark INHERITED;
65 class RefCntBench_Stack : public Benchmark {
87 typedef Benchmark INHERITED;
99 class RefCntBench_Heap : public Benchmark {
123 typedef Benchmark INHERITED;
126 class RefCntBench_New : public Benchmark {
149 typedef Benchmark INHERITED;
[all …]
/external/google-benchmark/include/benchmark/
Dbenchmark_api.h169 class Benchmark; variable
189 Benchmark* RegisterBenchmarkInternal(Benchmark*);
381 class Benchmark {
383 virtual ~Benchmark();
391 Benchmark* Arg(int x);
396 Benchmark* Range(int start, int limit);
400 Benchmark* DenseRange(int start, int limit);
405 Benchmark* ArgPair(int x, int y);
412 Benchmark* RangePair(int lo1, int hi1, int lo2, int hi2);
417 Benchmark* Apply(void (*func)(Benchmark* benchmark));
[all …]
/external/compiler-rt/lib/tsan/tests/rtl/
Dtsan_bench.cc25 static void Benchmark() { in Benchmark() function
36 Benchmark<uint8_t, noinstr>(); in TEST()
40 Benchmark<uint8_t, __tsan_read1>(); in TEST()
44 Benchmark<uint8_t, __tsan_write1>(); in TEST()
48 Benchmark<uint16_t, noinstr>(); in TEST()
52 Benchmark<uint16_t, __tsan_read2>(); in TEST()
56 Benchmark<uint16_t, __tsan_write2>(); in TEST()
60 Benchmark<uint32_t, noinstr>(); in TEST()
64 Benchmark<uint32_t, __tsan_read4>(); in TEST()
68 Benchmark<uint32_t, __tsan_write4>(); in TEST()
[all …]
/external/google-benchmark/src/
Dbenchmark.cc257 struct Benchmark::Instance {
259 Benchmark* benchmark;
277 size_t AddBenchmark(std::unique_ptr<Benchmark> family);
282 std::vector<Benchmark::Instance>* benchmarks);
286 std::vector<std::unique_ptr<Benchmark>> families_;
329 size_t BenchmarkFamilies::AddBenchmark(std::unique_ptr<Benchmark> family) { in AddBenchmark()
338 std::vector<Benchmark::Instance>* benchmarks) { in FindBenchmarks()
352 for (std::unique_ptr<Benchmark>& bench_family : families_) { in FindBenchmarks()
368 Benchmark::Instance instance; in FindBenchmarks()
515 Benchmark::Benchmark(const char* name) in Benchmark() function in benchmark::internal::Benchmark
[all …]
/external/caliper/examples/src/main/java/examples/
DStringBuilderBenchmark.java21 import com.google.caliper.Benchmark;
31 @Benchmark void appendBoolean(int reps) { in appendBoolean()
42 @Benchmark void appendChar(int reps) { in appendChar()
51 @Benchmark void appendCharArray(int reps) { in appendCharArray()
61 @Benchmark void appendCharSequence(int reps) { in appendCharSequence()
71 @Benchmark void appendDouble(int reps) { in appendDouble()
81 @Benchmark void appendFloat(int reps) { in appendFloat()
91 @Benchmark void appendInt(int reps) { in appendInt()
101 @Benchmark void appendLong(int reps) { in appendLong()
111 @Benchmark void appendObject(int reps) { in appendObject()
[all …]
DCharacterBenchmark.java20 import com.google.caliper.Benchmark;
54 @Benchmark boolean isSpace(int reps) { in isSpace()
72 @Benchmark void digit(int reps) { in digit()
88 @Benchmark void getNumericValue(int reps) { in getNumericValue()
104 @Benchmark void isDigit(int reps) { in isDigit()
120 @Benchmark void isIdentifierIgnorable(int reps) { in isIdentifierIgnorable()
136 @Benchmark void isJavaIdentifierPart(int reps) { in isJavaIdentifierPart()
152 @Benchmark void isJavaIdentifierStart(int reps) { in isJavaIdentifierStart()
168 @Benchmark void isLetter(int reps) { in isLetter()
184 @Benchmark void isLetterOrDigit(int reps) { in isLetterOrDigit()
[all …]
DExpensiveObjectsBenchmark.java19 import com.google.caliper.Benchmark;
30 @Benchmark void newDecimalFormatSymbols(int reps) { in newDecimalFormatSymbols()
36 @Benchmark void clonedDecimalFormatSymbols(int reps) { in clonedDecimalFormatSymbols()
43 @Benchmark void newNumberFormat(int reps) { in newNumberFormat()
49 @Benchmark void clonedNumberFormat(int reps) { in clonedNumberFormat()
56 @Benchmark void newSimpleDateFormat(int reps) { in newSimpleDateFormat()
62 @Benchmark void clonedSimpleDateFormat(int reps) { in clonedSimpleDateFormat()
DFormatterBenchmark.java19 import com.google.caliper.Benchmark;
26 @Benchmark void formatter_NoFormatting(int reps) { in formatter_NoFormatting()
34 @Benchmark void stringBuilder_NoFormatting(int reps) { in stringBuilder_NoFormatting()
41 @Benchmark void formatter_OneInt(int reps) { in formatter_OneInt()
49 @Benchmark void stringBuilder_OneInt(int reps) { in stringBuilder_OneInt()
58 @Benchmark void formatter_OneString(int reps) { in formatter_OneString()
66 @Benchmark void stringBuilder_OneString(int reps) { in stringBuilder_OneString()
DIntModBenchmark.java19 import com.google.caliper.Benchmark;
28 @Benchmark int conditional(int reps) { in conditional()
41 @Benchmark int doubleRemainder(int reps) { in doubleRemainder()
54 @Benchmark int rightShiftingMod(int reps) { in rightShiftingMod()
68 @Benchmark int leftShiftingMod(int reps) { in leftShiftingMod()
81 @Benchmark int wrongMod(int reps) { in wrongMod()
DBitSetBenchmark.java21 import com.google.caliper.Benchmark;
104 @Benchmark int setBitSetX64(int reps) { in setBitSetX64()
115 @Benchmark long setMaskX64(int reps) { in setMaskX64()
129 @Benchmark String charsToBitSet(int reps) { in charsToBitSet()
148 @Benchmark long charsToMask(int reps) { in charsToMask()
174 @Benchmark long baselineIteration(int reps) { in baselineIteration()
DListModificationBenchmark.java20 import com.google.caliper.Benchmark;
66 @Benchmark void populate(int reps) throws Exception { in populate()
75 @Benchmark void iteration(int reps) { in iteration()
84 @Benchmark void headAddRemove(int reps) { in headAddRemove()
91 @Benchmark void middleAddRemove(int reps) { in middleAddRemove()
99 @Benchmark void tailAddRemove(int reps) { in tailAddRemove()
/external/v8/test/js-perf-test/Collections/
Dmap.js7 new Benchmark('Set', false, false, 0, MapSetSmi, MapSetupSmiBase, MapTearDown),
8 new Benchmark('Has', false, false, 0, MapHasSmi, MapSetupSmi, MapTearDown),
9 new Benchmark('Get', false, false, 0, MapGetSmi, MapSetupSmi, MapTearDown),
10 new Benchmark('Delete', false, false, 0, MapDeleteSmi, MapSetupSmi, MapTearDown),
15 new Benchmark('Set', false, false, 0, MapSetString, MapSetupStringBase, MapTearDown),
16 new Benchmark('Has', false, false, 0, MapHasString, MapSetupString, MapTearDown),
17 new Benchmark('Get', false, false, 0, MapGetString, MapSetupString, MapTearDown),
18 new Benchmark('Delete', false, false, 0, MapDeleteString, MapSetupString, MapTearDown),
23 new Benchmark('Set', false, false, 0, MapSetObject, MapSetupObjectBase, MapTearDown),
24 new Benchmark('Has', false, false, 0, MapHasObject, MapSetupObject, MapTearDown),
[all …]
Dset.js7 new Benchmark('Set', false, false, 0, SetAddSmi, SetSetupSmiBase, SetTearDown),
8 new Benchmark('Has', false, false, 0, SetHasSmi, SetSetupSmi, SetTearDown),
9 new Benchmark('Delete', false, false, 0, SetDeleteSmi, SetSetupSmi, SetTearDown),
14 new Benchmark('Set', false, false, 0, SetAddString, SetSetupStringBase, SetTearDown),
15 new Benchmark('Has', false, false, 0, SetHasString, SetSetupString, SetTearDown),
16 new Benchmark('Delete', false, false, 0, SetDeleteString, SetSetupString, SetTearDown),
21 new Benchmark('Set', false, false, 0, SetAddObject, SetSetupObjectBase, SetTearDown),
22 new Benchmark('Has', false, false, 0, SetHasObject, SetSetupObject, SetTearDown),
23 new Benchmark('Delete', false, false, 0, SetDeleteObject, SetSetupObject, SetTearDown),
28 new Benchmark('ForEach', false, false, 0, SetForEach, SetSetupSmi, SetTearDown),
/external/regex-re2/util/
Dbenchmark.h9 struct Benchmark { struct
19 Benchmark(const char* name, void (*f)(int)) { Clear(name); fn = f; Register(); } in Benchmark() argument
20Benchmark(const char* name, void (*f)(int, int), int l, int h) { Clear(name); fnr = f; lo = l; hi … in Benchmark() argument
22 Benchmark* ThreadRange(int lo, int hi) { threadlo = lo; threadhi = hi; return this; } in ThreadRange() argument
35 ::testing::Benchmark* _benchmark_##f = (new ::testing::Benchmark(#f, f))
38 ::testing::Benchmark* _benchmark_##f = \
39 (new ::testing::Benchmark(#f, f, lo, hi))
/external/guava/guava-tests/benchmark/com/google/common/collect/
DIteratorBenchmark.java20 import com.google.caliper.Benchmark;
52 @Benchmark int arrayIndexed(int reps) { in arrayIndexed()
62 @Benchmark int arrayIndexedLength(int reps) { in arrayIndexedLength()
72 @Benchmark int arrayFor(int reps) { in arrayFor()
82 @Benchmark int arrayListIndexed(int reps) { in arrayListIndexed()
92 @Benchmark int arrayListIndexedLength(int reps) { in arrayListIndexedLength()
102 @Benchmark int arrayListFor(int reps) { in arrayListFor()
112 @Benchmark int arrayListToArrayFor(int reps) { in arrayListToArrayFor()
122 @Benchmark int linkedListFor(int reps) { in linkedListFor()
132 @Benchmark int linkedListToArrayFor(int reps) { in linkedListToArrayFor()
/external/caliper/caliper/src/test/java/com/google/caliper/runner/
DMalformedBenchmarksTest.java22 import com.google.caliper.Benchmark;
78 @Benchmark void timeIt(int reps) {} in timeIt()
96 @Benchmark public static void timeIt(int reps) {} in timeIt()
106 @Benchmark void timeIt(Integer reps) {} in timeIt()
111 @Benchmark void timeIt(int reps, int what) {} in timeIt()
124 @Benchmark public void foo(long reps) {} in foo()
125 @Benchmark public void foo(int reps) {} in foo()
126 @Benchmark public void bar(long reps) {} in bar()
127 @Benchmark public void bar(int reps) {} in bar()
128 @Benchmark public void baz(int reps) {} in baz()
DBadUserCodeTest.java21 import com.google.caliper.Benchmark;
56 @Benchmark void timeSomething(int reps) { in timeSomething()
75 @Benchmark void timeSomething(int reps) { in timeSomething()
90 @Benchmark void timeSomething(@SuppressWarnings("unused") int reps) { in timeSomething()
107 @Benchmark void timeSomething(int reps) { in timeSomething()
128 @Benchmark void timeSomething(int reps) { in timeSomething()
170 @Benchmark int timeSomethingFBZ(@SuppressWarnings("unused") int reps) { in timeSomethingFBZ()
208 @Benchmark int timeSomethingFBZ(@SuppressWarnings("unused") int reps) { in timeSomethingFBZ()
/external/caliper/tutorial/
DTutorial.java20 import com.google.caliper.Benchmark;
53 @Benchmark void timeNanoTime(int reps) { in timeNanoTime()
74 @Benchmark void timeNanoTime(int reps) { in timeNanoTime()
79 @Benchmark void timeCurrentTimeMillis(int reps) { in timeCurrentTimeMillis()
94 @Benchmark void timeArrayIteration_BAD(int reps) { in timeArrayIteration_BAD()
130 @Benchmark int timeArrayIteration_fixed(int reps) { in timeArrayIteration_fixed()
178 @Benchmark int timeArrayIteration(int reps) { in timeArrayIteration()
/external/guava/guava-tests/benchmark/com/google/common/cache/
DMapMakerComparisonBenchmark.java20 import com.google.caliper.Benchmark;
57 @Benchmark void computingMapMaker(int rep) { in computingMapMaker()
63 @Benchmark void loadingCacheBuilder_stats(int rep) { in loadingCacheBuilder_stats()
69 @Benchmark void loadingCacheBuilder(int rep) { in loadingCacheBuilder()
75 @Benchmark void concurrentHashMap(int rep) { in concurrentHashMap()
81 @Benchmark void cacheBuilder_stats(int rep) { in cacheBuilder_stats()
87 @Benchmark void cacheBuilder(int rep) { in cacheBuilder()
/external/guava/guava-tests/benchmark/com/google/common/math/
DLessThanBenchmark.java20 import com.google.caliper.Benchmark;
64 @Benchmark int branchFreeLtIntInlined(int reps) { in branchFreeLtIntInlined()
76 @Benchmark int branchFreeLtInt(int reps) { in branchFreeLtInt()
88 @Benchmark int ternaryLtIntAddOutsideTernary(int reps) { in ternaryLtIntAddOutsideTernary()
100 @Benchmark int ternaryLtIntAddInsideTernary(int reps) { in ternaryLtIntAddInsideTernary()
112 @Benchmark int branchFreeLtLongInlined(int reps) { in branchFreeLtLongInlined()
124 @Benchmark int branchFreeLtLong(int reps) { in branchFreeLtLong()
136 @Benchmark int ternaryLtLongAddOutsideTernary(int reps) { in ternaryLtLongAddOutsideTernary()
148 @Benchmark int ternaryLtLongAddInsideTernary(int reps) { in ternaryLtLongAddInsideTernary()
/external/v8/test/js-perf-test/Iterators/
Dforof.js6 new Benchmark('ArrayValues', false, false, 0,
8 new Benchmark('ArrayKeys', false, false, 0,
10 new Benchmark('ArrayEntries', false, false, 0,
12 new Benchmark('Uint8Array', false, false, 0,
14 new Benchmark('Float64Array', false, false, 0,
16 new Benchmark('String', false, false, 0,
/external/guava/guava-tests/benchmark/com/google/common/base/
DJoinerBenchmark.java20 import com.google.caliper.Benchmark;
56 @Benchmark int joinerWithStringDelimiter(int reps) { in joinerWithStringDelimiter()
67 @Benchmark int joinerWithCharacterDelimiter(int reps) { in joinerWithCharacterDelimiter()
79 @Benchmark int joinerInlined(int reps) { in joinerInlined()
101 @Benchmark int stringBuilderIsEmpty(int reps) { in stringBuilderIsEmpty()
120 @Benchmark int booleanIfFirst(int reps) { in booleanIfFirst()
141 @Benchmark int assignDelimiter(int reps) { in assignDelimiter()
160 @Benchmark int alwaysAppendThenBackUp(int reps) { in alwaysAppendThenBackUp()
DObjectsBenchmark.java19 import com.google.caliper.Benchmark;
40 @Benchmark int hashString_2(int reps) { in hashString_2()
48 @Benchmark int hashString_3(int reps) { in hashString_3()
56 @Benchmark int hashString_4(int reps) { in hashString_4()
64 @Benchmark int hashString_5(int reps) { in hashString_5()
72 @Benchmark int hashMixed_5(int reps) { in hashMixed_5()
/external/v8/test/js-perf-test/Strings/
Dharmony-string.js6 new Benchmark('StringRepeat', false, false, 0,
8 new Benchmark('StringStartsWith', false, false, 0,
10 new Benchmark('StringEndsWith', false, false, 0,
12 new Benchmark('StringIncludes', false, false, 0,
14 new Benchmark('StringFromCodePoint', false, false, 0,
16 new Benchmark('StringCodePointAt', false, false, 0,

12345678910>>...16