HomeSort by relevance Sort by last modified time
    Searched refs:Benchmark (Results 1 - 25 of 78) sorted by null

1 2 3 4

  /external/chromium_org/tools/playback_benchmark/
common.js 9 var Benchmark = Benchmark || {};
11 Benchmark.functionList = [
28 Benchmark.timeoutMapping = [];
30 Benchmark.ignoredListeners = ['mousemove', 'mouseover', 'mouseout'];
32 Benchmark.originals = {};
34 Benchmark.overrides = {
37 var eventId = Benchmark.agent.createAsyncEvent(event);
38 var timerId = Benchmark.originals.setTimeout.call(this, function() {
39 Benchmark.agent.fireAsyncEvent(eventId, callback)
    [all...]
playback.js 9 var Benchmark = Benchmark || {};
16 Benchmark.Agent = function(data) {
29 Benchmark.die('Wrong window size: ' +
33 this.startTime = Benchmark.originals.Date.now();
40 Benchmark.Agent.prototype.getCurrentEvent = function() {
51 Benchmark.Agent.prototype.getNextEvent = function(event) {
63 var score = Benchmark.originals.Date.now() - this.startTime;
64 Benchmark.reportScore(score);
75 Benchmark.Agent.prototype.ensureEqual = function(event, recordedEvent)
    [all...]
  /external/compiler-rt/lib/tsan/tests/rtl/
tsan_bench.cc 25 static void Benchmark() {
36 Benchmark<uint8_t, noinstr>();
40 Benchmark<uint8_t, __tsan_read1>();
44 Benchmark<uint8_t, __tsan_write1>();
48 Benchmark<uint16_t, noinstr>();
52 Benchmark<uint16_t, __tsan_read2>();
56 Benchmark<uint16_t, __tsan_write2>();
60 Benchmark<uint32_t, noinstr>();
64 Benchmark<uint32_t, __tsan_read4>();
68 Benchmark<uint32_t, __tsan_write4>()
    [all...]
  /bionic/tests/
benchmark.h 23 class Benchmark {
25 Benchmark(const char* name, void (*fn)(int)) {
29 Benchmark(const char* name, void (*fn_range)(int, int)) {
33 Benchmark* Arg(int x);
59 #define BENCHMARK(f) \
60 static ::testing::Benchmark* _benchmark_##f __attribute__((unused)) = \
61 (new ::testing::Benchmark(#f, f))
benchmark_main.cpp 17 #include "benchmark.h"
30 typedef std::map<std::string, ::testing::Benchmark*> BenchmarkMap;
57 Benchmark* Benchmark::Arg(int arg) {
62 const char* Benchmark::Name() {
66 bool Benchmark::ShouldRun(int argc, char* argv[]) {
87 void Benchmark::Register(const char* name, void (*fn)(int), void (*fn_range)(int, int)) {
100 void Benchmark::Run() {
114 void Benchmark::RunRepeatedlyWithArg(int iterations, int arg) {
128 void Benchmark::RunWithArg(int arg)
    [all...]
  /external/chromium_org/third_party/re2/util/
benchmark.h 9 struct Benchmark {
19 Benchmark(const char* name, void (*f)(int)) { Clear(name); fn = f; Register(); }
20 Benchmark(const char* name, void (*f)(int, int), int l, int h) { Clear(name); fnr = f; lo = l; hi = h; Register(); }
22 Benchmark* ThreadRange(int lo, int hi) { threadlo = lo; threadhi = hi; return this; }
34 #define BENCHMARK(f) \
35 ::testing::Benchmark* _benchmark_##f = (new ::testing::Benchmark(#f, f))
38 ::testing::Benchmark* _benchmark_##f = \
39 (new ::testing::Benchmark(#f, f, lo, hi))
benchmark.cc 7 #include "util/benchmark.h"
12 using testing::Benchmark;
15 static Benchmark* benchmarks[10000];
18 void Benchmark::Register() {
66 static void runN(Benchmark *b, int n, int siz) {
95 void RunBench(Benchmark* b, int nthread, int siz) {
146 Benchmark* b = benchmarks[i];
  /external/regex-re2/util/
benchmark.h 9 struct Benchmark {
19 Benchmark(const char* name, void (*f)(int)) { Clear(name); fn = f; Register(); }
20 Benchmark(const char* name, void (*f)(int, int), int l, int h) { Clear(name); fnr = f; lo = l; hi = h; Register(); }
22 Benchmark* ThreadRange(int lo, int hi) { threadlo = lo; threadhi = hi; return this; }
34 #define BENCHMARK(f) \
35 ::testing::Benchmark* _benchmark_##f = (new ::testing::Benchmark(#f, f))
38 ::testing::Benchmark* _benchmark_##f = \
39 (new ::testing::Benchmark(#f, f, lo, hi))
benchmark.cc 7 #include "util/benchmark.h"
12 using testing::Benchmark;
15 static Benchmark* benchmarks[10000];
18 void Benchmark::Register() {
66 static void runN(Benchmark *b, int n, int siz) {
95 void RunBench(Benchmark* b, int nthread, int siz) {
146 Benchmark* b = benchmarks[i];
  /frameworks/rs/java/tests/ComputeBenchmark/src/com/example/android/rs/computebench/
ComputeBench.java 25 private Benchmark mBenchmark;
34 mBenchmark = new Benchmark(mRS, getResources());
Benchmark.java 22 public class Benchmark implements Runnable {
26 public Benchmark(RenderScript rs, Resources res) {
36 android.util.Log.v("ComputeBench", "Total benchmark took " + t + " ms");
  /frameworks/rs/java/tests/LatencyBenchmark/src/com/example/android/rs/computebench/
LatencyBench.java 25 private Benchmark mBenchmark;
34 mBenchmark = new Benchmark(mRS, getResources());
Benchmark.java 22 public class Benchmark implements Runnable {
28 public Benchmark(RenderScript rs, Resources res) {
  /external/chromium_org/third_party/WebKit/PerformanceTests/DOM/resources/dom-perf/
accessors.js 143 new Benchmark("CSS Style Get", Accessors.CSSGet, Accessors.CSSSetup),
144 new Benchmark("CSS Style Set", Accessors.CSSSet, Accessors.CSSSetup),
145 new Benchmark("Document Get NodeType", Accessors.DocumentGet),
146 new Benchmark("Document Set Title", Accessors.DocumentSet),
147 new Benchmark("Nodelist Get Length", Accessors.NodeListGet, Accessors.NodeListSetup),
148 new Benchmark("Span Get NodeType", Accessors.DOMObjectGet, Accessors.DOMObjectSetup),
149 new Benchmark("Span Set Title", Accessors.DOMObjectSet, Accessors.DOMObjectSetup),
150 new Benchmark("Root Get Length", Accessors.RootGet),
151 new Benchmark("Root Set Title", Accessors.RootSet),
152 new Benchmark("Window Get Length", Accessors.WindowGet)
    [all...]
domtable.js 31 // DOMTable - a benchmark creating tables and accessing table elements
33 // This benchmark tests different mechanisms for creating an HTML table. By
36 // A second part of the benchmark sums the contents of all elements. Again
37 // in one set the benchmark is created using DOM functions from JavaScript,
98 // Create the table and add it to the root_element for the benchmark.
104 // Create the table and add it to the root_element for the benchmark.
112 // Create the HTML string for the table and set it at the root_element for the benchmark.
118 // Create the HTML string for the table and set it at the root_element for the benchmark.
172 new Benchmark("create", DOMTable_Create, DOMTable_CreateSetup),
173 new Benchmark("create and layout", DOMTable_CreateLayout, DOMTable_CreateSetup)
    [all...]
modify-attribute.js 74 new Benchmark("Modify id", ModifyAttribute.ModifyId, ModifyAttribute.CreateElementToSetUp),
75 new Benchmark("Modify class", ModifyAttribute.ModifyClass, ModifyAttribute.CreateElementToSetUp),
76 new Benchmark("Modify title", ModifyAttribute.ModifyTitle, ModifyAttribute.CreateElementToSetUp)
createnodes.js 89 CreateNodes.forceNode = function(benchmark) {
90 var child = benchmark.suite.benchmarkContent.childNodes[CreateNodes.nIterations / 2];
209 new Benchmark("append, DOM, DocumentFragment",
211 new Benchmark("create, DOM, DocumentFragment",
213 new Benchmark("append, DOM, SharedDocumentFragment",
215 new Benchmark("create, DOM",
217 new Benchmark("append, DOM",
219 new Benchmark("append, DOM, iFrame",
221 new Benchmark("append, HTML",
223 new Benchmark("create, HTML, Spans",
    [all...]
domwalk.js 31 // DOMWalk - a benchmark for walking the DOM
33 // This benchmark tests different mechanisms for touching every element
149 new Benchmark("DOMWalkByTag (100 nodes)", DOMWalk_ByTagNameSmall, DOMWalk_SetupSmall),
150 new Benchmark("DOMWalkRecursive (100 nodes)", DOMWalk_RecursiveSmall, DOMWalk_SetupSmall),
151 new Benchmark("DOMWalkByTag (4000 nodes)", DOMWalk_ByTagNameLarge, DOMWalk_SetupLarge),
152 new Benchmark("DOMWalkRecursive (4000 nodes)", DOMWalk_RecursiveLarge, DOMWalk_SetupLarge)
events.js 266 new Benchmark("Event Hooking (1000 nodes)", small_test.HookTest, small_test.Setup),
267 new Benchmark("Event Dispatch (1000 nodes)", small_test.DispatchTest, small_test.SetupWithListeners),
268 new Benchmark("Event Hooking (5000 nodes)", large_test.HookTest, large_test.Setup),
269 new Benchmark("Event Hooking Proxy (4000 nodes)",
271 new Benchmark("Event Dispatch (5000 nodes)", large_test.DispatchTest, large_test.SetupWithListeners),
272 new Benchmark("Event Teardown (5000 nodes)", large_test.TeardownTest, large_test.SetupForTeardown),
273 new Benchmark("Event Teardown (4000 nodes)", extra_large_test.TeardownTest, extra_large_test.SetupForTeardown)
clonenodes.js 81 return new Benchmark(this.name, this.Test, this.Setup);
  /external/chromium_org/skia/ext/
image_operations_bench.cc 137 class Benchmark {
142 Benchmark()
161 const int Benchmark::kDefaultNumberIterations = 1024;
162 const skia::ImageOperations::ResizeMethod Benchmark::kDefaultResizeMethod =
166 void Benchmark::Usage() {
173 Benchmark::kDefaultNumberIterations,
174 MethodToString(Benchmark::kDefaultResizeMethod));
179 bool Benchmark::ParseArgs(const CommandLine* command_line) {
229 // actual benchmark.
230 bool Benchmark::Run() const
    [all...]
  /external/chromium_org/third_party/leveldatabase/src/db/
db_bench.cc 98 // flag and also specify a benchmark that wants a fresh database, that
99 // benchmark will fail.
240 // Pretend at least one op was done in case we are running a benchmark
268 // State shared by all concurrent executions of the same benchmark.
287 // Per-thread state for concurrent executions of the same benchmark.
302 class Benchmark {
389 Benchmark()
412 ~Benchmark() {
441 void (Benchmark::*method)(ThreadState*) = NULL;
447 method = &Benchmark::WriteSeq
976 leveldb::Benchmark benchmark; local
    [all...]
  /external/markdown/MarkdownTest/
MarkdownTest.pl 13 use Benchmark;
18 my $time_start = new Benchmark;
90 my $time_end = new Benchmark;
92 print "Benchmark: ", timestr($time_diff), "\n";
  /external/chromium_org/third_party/JSON/JSON-2.59/eg/
bench_decode.pl 5 use Benchmark qw( cmpthese timethese );
58 L<JSON::PP> and L<JSON::XS> decoding benchmark.
bench_encode.pl 5 use Benchmark qw( cmpthese timethese );
74 L<JSON::PP> and L<JSON::XS> encoding benchmark.

Completed in 621 milliseconds

1 2 3 4