/external/chromium-trace/catapult/third_party/vinn/third_party/parse5/benchmark/ |
index.js | 1 var Benchmark = require('benchmark'), 11 new Benchmark.Suite()
|
/external/caliper/caliper/src/main/java/com/google/caliper/ |
Benchmark.java | 26 * Annotation for benchmark methods. To write a benchmark: 37 * available timers, benchmark methods <i>may</i> take either an {@code int} or {@code long} 39 * that the work done in the benchmark method scale linearly to the number of repetitions. 41 * <p>Benchmark methods may return any value. It will be ignored. 56 * {@literal @}Benchmark int foo(int reps) { 66 * {@literal @}Benchmark int bar() { 67 * // benchmark another operation of MyObject that doesn't require a reps parameter 72 * <p>The benchmark class MyBenchmark has two benchmark methods ({@code foo} and {@code bar}) an [all...] |
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
Running.java | 38 public @interface Benchmark {}
|
/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...] |
/system/core/liblog/tests/ |
benchmark.h | 29 class Benchmark; 33 void BenchmarkRegister(Benchmark* bm); 36 class Benchmark { 38 Benchmark(const char* name, void (*fn)(int)) : name_(strdup(name)), fn_(fn) { 41 Benchmark(const char* name) : name_(strdup(name)), fn_(NULL) {} 43 virtual ~Benchmark() { 59 class BenchmarkWantsArgBase : public Benchmark { 61 BenchmarkWantsArgBase(const char* name, void (*fn)(int, T)) : Benchmark(name) { 71 virtual void RunFn(int) { printf("can't run arg benchmark %s without arg\n", Name()); } 118 static inline Benchmark* BenchmarkFactory(const char* name, void (*fn)(int)) [all...] |
/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))
|
/external/skia/bench/ |
Benchmark.cpp | 8 #include "Benchmark.h" 18 Benchmark::Benchmark() { 24 const char* Benchmark::getName() { 28 const char* Benchmark::getUniqueName() { 32 SkIPoint Benchmark::getSize() { 36 void Benchmark::delayedSetup() { 40 void Benchmark::perCanvasPreDraw(SkCanvas* canvas) { 44 void Benchmark::preDraw(SkCanvas* canvas) { 48 void Benchmark::postDraw(SkCanvas* canvas) [all...] |
Benchmark.h | 17 static BenchRegistry gBench##N([](void*) -> Benchmark* { code; }); 44 class Benchmark : public SkRefCnt { 46 Benchmark(); 60 // Call to determine whether the benchmark is intended for 70 // Call before draw, allows the benchmark to do setup work outside of the 71 // timer. When a benchmark is repeatedly drawn, this should be called once 153 typedef SkTRegistry<Benchmark*(*)(void*)> BenchRegistry;
|
/frameworks/rs/java/tests/ComputeBenchmark/src/com/example/android/rs/computebench/ |
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/ |
Benchmark.java | 22 public class Benchmark implements Runnable { 28 public Benchmark(RenderScript rs, Resources res) {
|
/external/owasp/sanitizer/src/tests/org/owasp/html/ |
Benchmark.java | 44 public class Benchmark {
|
/external/chromium-trace/catapult/telemetry/telemetry/ |
benchmark.py | 18 """Raised for invalid benchmark options.""" 49 class Benchmark(command_line.Command): 50 """Base class for a Telemetry benchmark. 52 A benchmark packages a measurement and a PageSet together. 54 Benchmark.test, or override the CreatePageTest method. 63 """Creates a new Benchmark. 72 Benchmark.CreateTimelineBasedMeasurementOptions.__func__) 74 self.CreatePageTest.__func__ == Benchmark.CreatePageTest.__func__) 82 """Override this method to disable a benchmark under specific conditions. 161 raise InvalidOptionsError('Invalid benchmark options: %s' [all...] |
/external/v8/benchmarks/ |
base.js | 29 // Simple framework for running the benchmark suites and 33 // A benchmark has a name (string) and a function that will be run to 36 // running the benchmark, but the running time of these functions will 37 // not be accounted for in the benchmark score. 38 function Benchmark(name, run, setup, tearDown) { 46 // Benchmark results hold the benchmark and the measured time used to 47 // run the benchmark. The benchmark score is computed later once a 48 // full benchmark suite has run to completion [all...] |
/external/google-benchmark/include/benchmark/ |
benchmark_api.h | 6 static void BM_StringCreation(benchmark::State& state) { 11 // Register the function as a benchmark 12 BENCHMARK(BM_StringCreation); 14 // Define another benchmark 15 static void BM_StringCopy(benchmark::State& state) { 20 BENCHMARK(BM_StringCopy); 29 benchmark::Initialize(&argc, argv); 30 benchmark::RunSpecifiedBenchmarks(); 40 static void BM_memcpy(benchmark::State& state) { 49 BENCHMARK(BM_memcpy)->Arg(8)->Arg(64)->Arg(512)->Arg(1<<10)->Arg(8<<10) 151 namespace benchmark { namespace [all...] |
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/ |
Benchmark.java | 41 * This benchmark is fake, but may be useful for certain relative comparisons. 45 public class Benchmark extends com.google.caliper.Benchmark { 93 CaliperMain.main(Benchmark.class, allArgs.toArray(new String[allArgs.size()]));
|
/external/v8/test/js-perf-test/ |
base.js | 17 // Simple framework for running the benchmark suites and 21 // A benchmark has a name (string) and a function that will be run to 24 // running the benchmark, but the running time of these functions will 25 // not be accounted for in the benchmark score. 26 function Benchmark(name, doWarmup, doDeterministic, deterministicIterations, 40 // Benchmark results hold the benchmark and the measured time used to 41 // run the benchmark. The benchmark score is computed later once a 42 // full benchmark suite has run to completion. If latency is set to [all...] |
/external/v8/tools/ |
perf-to-html.py | 113 class Benchmark: 171 def RenderOneBenchmark(self, benchmark): 173 self.Print("<a name=\"" + benchmark.name() + "\">") 174 self.Print(benchmark.name() + "</a> <a href=\"#top\">(top)</a>") 176 self.Print("<table class=\"benchmark\">") 184 tests = benchmark.tests() 185 for test in benchmark.SortedTestKeys(): 207 for benchmark in data: 208 if benchmark != "errors": 209 self.Print("<li><a href=\"#" + benchmark + "\">" + benchmark + "</a></li>" [all...] |
/external/google-benchmark/src/ |
benchmark.cc | 15 #include "benchmark/benchmark.h" 55 "Minimum number of seconds we should run benchmark before " 60 "of the benchmark execution, regardless of number of " 64 "The number of runs of each benchmark. If greater than 1, the " 76 namespace benchmark { namespace 90 inline Mutex& RETURN_CAPABILITY(::benchmark::internal::BenchmarkLockVar) 109 // Global variable so that a benchmark can cause a little extra printing 116 //static benchmark::MallocCounter *benchmark_mc; 256 // Information kept per benchmark we may want to ru 259 Benchmark* benchmark; member in struct:benchmark::internal::Benchmark::Instance [all...] |
/prebuilts/tools/common/m2/repository/net/sourceforge/pmd/pmd/5.1.1/ |
pmd-5.1.1.jar | |