/third_party/skia/third_party/externals/abseil-cpp/absl/time/ |
D | duration_benchmark.cc | 35 void BM_Duration_Factory_Nanoseconds(benchmark::State& state) { in BM_Duration_Factory_Nanoseconds() 38 benchmark::DoNotOptimize(absl::Nanoseconds(i)); in BM_Duration_Factory_Nanoseconds() 44 void BM_Duration_Factory_Microseconds(benchmark::State& state) { in BM_Duration_Factory_Microseconds() 47 benchmark::DoNotOptimize(absl::Microseconds(i)); in BM_Duration_Factory_Microseconds() 53 void BM_Duration_Factory_Milliseconds(benchmark::State& state) { in BM_Duration_Factory_Milliseconds() 56 benchmark::DoNotOptimize(absl::Milliseconds(i)); in BM_Duration_Factory_Milliseconds() 62 void BM_Duration_Factory_Seconds(benchmark::State& state) { in BM_Duration_Factory_Seconds() 65 benchmark::DoNotOptimize(absl::Seconds(i)); in BM_Duration_Factory_Seconds() 71 void BM_Duration_Factory_Minutes(benchmark::State& state) { in BM_Duration_Factory_Minutes() 74 benchmark::DoNotOptimize(absl::Minutes(i)); in BM_Duration_Factory_Minutes() [all …]
|
D | time_benchmark.cc | 37 void BM_Time_Arithmetic(benchmark::State& state) { in BM_Time_Arithmetic() 42 benchmark::DoNotOptimize(t += nano); in BM_Time_Arithmetic() 43 benchmark::DoNotOptimize(t -= sec); in BM_Time_Arithmetic() 52 void BM_Time_Difference(benchmark::State& state) { in BM_Time_Difference() 57 benchmark::DoNotOptimize(diff += end - start); in BM_Time_Difference() 72 void BM_Time_ToDateTime_Absl(benchmark::State& state) { in BM_Time_ToDateTime_Absl() 80 benchmark::DoNotOptimize(t.In(tz)); in BM_Time_ToDateTime_Absl() 85 void BM_Time_ToDateTime_Libc(benchmark::State& state) { in BM_Time_ToDateTime_Libc() 94 benchmark::DoNotOptimize(localtime_r(&t, &tm)); in BM_Time_ToDateTime_Libc() 96 benchmark::DoNotOptimize(localtime_s(&tm, &t)); in BM_Time_ToDateTime_Libc() [all …]
|
D | civil_time_benchmark.cc | 41 void BM_Difference_Days(benchmark::State& state) { in BM_Difference_Days() 46 benchmark::DoNotOptimize(n); in BM_Difference_Days() 51 void BM_Step_Days(benchmark::State& state) { in BM_Step_Days() 55 benchmark::DoNotOptimize(++c); in BM_Step_Days() 60 void BM_Format(benchmark::State& state) { in BM_Format() 64 benchmark::DoNotOptimize(s); in BM_Format() 69 void BM_Parse(benchmark::State& state) { in BM_Parse() 74 benchmark::DoNotOptimize(b); in BM_Parse() 79 void BM_RoundTripFormatParse(benchmark::State& state) { in BM_RoundTripFormatParse() 84 benchmark::DoNotOptimize(b); in BM_RoundTripFormatParse() [all …]
|
/third_party/musl/Benchmark/musl/ |
D | libc_math.cpp | 32 static void Bm_function_Copysignl_Allpositive(benchmark::State &state) in Bm_function_Copysignl_Allpositive() 37 benchmark::DoNotOptimize(copysignl(x, y)); in Bm_function_Copysignl_Allpositive() 41 static void Bm_function_Copysignl_Allnegative(benchmark::State &state) in Bm_function_Copysignl_Allnegative() 46 benchmark::DoNotOptimize(copysignl(x, y)); in Bm_function_Copysignl_Allnegative() 50 static void Bm_function_Copysignl_Np(benchmark::State &state) in Bm_function_Copysignl_Np() 55 benchmark::DoNotOptimize(copysignl(x, y)); in Bm_function_Copysignl_Np() 59 static void Bm_function_Copysignl_Pn(benchmark::State &state) in Bm_function_Copysignl_Pn() 64 benchmark::DoNotOptimize(copysignl(x, y)); in Bm_function_Copysignl_Pn() 69 static void Bm_function_Fmodl(benchmark::State &state) in Bm_function_Fmodl() 74 benchmark::DoNotOptimize(fmodl(x, y)); in Bm_function_Fmodl() [all …]
|
D | libc_stdio.cpp | 62 static void Bm_function_Fopen_read(benchmark::State &state) in Bm_function_Fopen_read() 70 benchmark::DoNotOptimize(fp); in Bm_function_Fopen_read() 79 static void Bm_function_Fopen_write(benchmark::State &state) in Bm_function_Fopen_write() 87 benchmark::DoNotOptimize(fp); in Bm_function_Fopen_write() 96 static void Bm_function_Fopen_append(benchmark::State &state) in Bm_function_Fopen_append() 104 benchmark::DoNotOptimize(fp); in Bm_function_Fopen_append() 113 static void Bm_function_Fopen_rplus(benchmark::State &state) in Bm_function_Fopen_rplus() 121 benchmark::DoNotOptimize(fp); in Bm_function_Fopen_rplus() 130 static void Bm_function_Fopen_wplus(benchmark::State &state) in Bm_function_Fopen_wplus() 138 benchmark::DoNotOptimize(fp); in Bm_function_Fopen_wplus() [all …]
|
D | libc_unistd.cpp | 35 void ReadWriteTest(benchmark::State& state, bool isRead) in ReadWriteTest() 68 void PreadWriteTest(benchmark::State &state, Fn f, bool buffered) in PreadWriteTest() 86 static void Bm_function_Getpid(benchmark::State &state) in Bm_function_Getpid() 91 benchmark::DoNotOptimize(pid); in Bm_function_Getpid() 96 static void Bm_function_Geteuid(benchmark::State &state) in Bm_function_Geteuid() 101 benchmark::DoNotOptimize(uid); in Bm_function_Geteuid() 106 static void Bm_function_Close(benchmark::State &state) in Bm_function_Close() 116 benchmark::DoNotOptimize(close(fd)); in Bm_function_Close() 123 static void Bm_function_Usleep(benchmark::State &state) in Bm_function_Usleep() 126 benchmark::DoNotOptimize(usleep(SECOND)); in Bm_function_Usleep() [all …]
|
D | libc_time.cpp | 23 static void Bm_function_Nanosleep_0ns(benchmark::State &state) in Bm_function_Nanosleep_0ns() 28 benchmark::DoNotOptimize(nanosleep(&req, &rem)); in Bm_function_Nanosleep_0ns() 32 static void Bm_function_Nanosleep_10ns(benchmark::State &state) in Bm_function_Nanosleep_10ns() 37 benchmark::DoNotOptimize(nanosleep(&req, &rem)); in Bm_function_Nanosleep_10ns() 41 static void Bm_function_Nanosleep_100ns(benchmark::State &state) in Bm_function_Nanosleep_100ns() 46 benchmark::DoNotOptimize(nanosleep(&req, &rem)); in Bm_function_Nanosleep_100ns() 51 static void Bm_function_Tzset(benchmark::State &state) in Bm_function_Tzset() 57 static void Bm_function_Clock_nanosleep_realtime(benchmark::State &state) in Bm_function_Clock_nanosleep_realtime() 62 benchmark::DoNotOptimize(clock_nanosleep(CLOCK_REALTIME, 0, &req, &rem)); in Bm_function_Clock_nanosleep_realtime() 66 static void Bm_function_Clock_nanosleep_realtime_raw(benchmark::State &state) in Bm_function_Clock_nanosleep_realtime_raw() [all …]
|
D | libc_stdlib.cpp | 75 static void Bm_function_Strtod(benchmark::State &state) in Bm_function_Strtod() 83 benchmark::DoNotOptimize(strtod(str, &ptr)); in Bm_function_Strtod() 87 static void Bm_function_Strtof(benchmark::State &state) in Bm_function_Strtof() 95 benchmark::DoNotOptimize(strtof(str, &ptr)); in Bm_function_Strtof() 99 static void Bm_function_Strtold(benchmark::State &state) in Bm_function_Strtold() 107 benchmark::DoNotOptimize(strtold(str, &ptr)); in Bm_function_Strtold() 113 static void Bm_function_Qsortint(benchmark::State &state) in Bm_function_Qsortint() 123 static void Bm_function_Qsortdouble(benchmark::State &state) in Bm_function_Qsortdouble() 133 static void Bm_function_Qsortstring(benchmark::State &state) in Bm_function_Qsortstring() 145 static void Bm_function_Qsortstruct(benchmark::State &state) in Bm_function_Qsortstruct() [all …]
|
D | libc_ctype.cpp | 24 static void Bm_function_Tolower_a(benchmark::State &state) in Bm_function_Tolower_a() 28 benchmark::DoNotOptimize(tolower(c)); in Bm_function_Tolower_a() 33 static void Bm_function_Tolower_A(benchmark::State &state) in Bm_function_Tolower_A() 37 benchmark::DoNotOptimize(tolower(c)); in Bm_function_Tolower_A() 42 static void Bm_function_Tolower_all_ascii(benchmark::State &state) in Bm_function_Tolower_all_ascii() 46 benchmark::DoNotOptimize(tolower(i)); in Bm_function_Tolower_all_ascii() 52 static void Bm_function_Isspace_space(benchmark::State &state) in Bm_function_Isspace_space() 55 benchmark::DoNotOptimize(isspace(' ')); in Bm_function_Isspace_space() 60 static void Bm_function_Isspace_all_ascii(benchmark::State &state) in Bm_function_Isspace_all_ascii() 64 benchmark::DoNotOptimize(isspace(i)); in Bm_function_Isspace_all_ascii() [all …]
|
D | libc_locale.cpp | 37 static void Bm_function_Setlocale_All(benchmark::State &state) in Bm_function_Setlocale_All() 40 benchmark::DoNotOptimize(setlocale(LC_ALL, nullptr)); in Bm_function_Setlocale_All() 45 static void Bm_function_Setlocale_All1(benchmark::State &state) in Bm_function_Setlocale_All1() 48 benchmark::DoNotOptimize(setlocale(LC_ALL, "C")); in Bm_function_Setlocale_All1() 53 static void Bm_function_Setlocale_All2(benchmark::State &state) in Bm_function_Setlocale_All2() 56 benchmark::DoNotOptimize(setlocale(LC_ALL, "")); in Bm_function_Setlocale_All2() 61 static void Bm_function_Setlocale_Collate(benchmark::State &state) in Bm_function_Setlocale_Collate() 64 benchmark::DoNotOptimize(setlocale(LC_COLLATE, nullptr)); in Bm_function_Setlocale_Collate() 69 static void Bm_function_Setlocale_Ctype(benchmark::State &state) in Bm_function_Setlocale_Ctype() 72 benchmark::DoNotOptimize(setlocale(LC_CTYPE, nullptr)); in Bm_function_Setlocale_Ctype() [all …]
|
D | libc_errno.cpp | 22 static void Bm_function_Strerror_noerror(benchmark::State &state) in Bm_function_Strerror_noerror() 26 benchmark::DoNotOptimize(strerror(e)); in Bm_function_Strerror_noerror() 31 static void Bm_function_Strerror_enoent(benchmark::State &state) in Bm_function_Strerror_enoent() 35 benchmark::DoNotOptimize(strerror(e)); in Bm_function_Strerror_enoent() 41 static void Bm_function_Strerror_enomem(benchmark::State &state) in Bm_function_Strerror_enomem() 45 benchmark::DoNotOptimize(strerror(e)); in Bm_function_Strerror_enomem() 50 static void Bm_function_Strerror_eacces(benchmark::State &state) in Bm_function_Strerror_eacces() 54 benchmark::DoNotOptimize(strerror(e)); in Bm_function_Strerror_eacces() 59 static void Bm_function_Strerror_eexist(benchmark::State &state) in Bm_function_Strerror_eexist() 63 benchmark::DoNotOptimize(strerror(e)); in Bm_function_Strerror_eexist() [all …]
|
D | libc_string.cpp | 48 static void StringtestArgs(benchmark::internal::Benchmark* b) in StringtestArgs() 58 static void Bm_function_Memchr(benchmark::State &state) in Bm_function_Memchr() 75 static void Bm_function_Strrchr(benchmark::State &state) in Bm_function_Strrchr() 88 benchmark::DoNotOptimize(strrchr(test, ch)); in Bm_function_Strrchr() 95 static void Bm_function_Strnlen(benchmark::State &state) in Bm_function_Strnlen() 113 static void Bm_function_Stpncpy(benchmark::State &state) in Bm_function_Stpncpy() 132 static void Bm_function_Strncpy(benchmark::State &state) in Bm_function_Strncpy() 152 static void Bm_function_Bcmp(benchmark::State &state) in Bm_function_Bcmp() 172 static void Bm_function_Strpbrk(benchmark::State &state) in Bm_function_Strpbrk() 181 benchmark::DoNotOptimize(strpbrk(src, tag)); in Bm_function_Strpbrk() [all …]
|
D | libc_syscall.cpp | 39 static void Bm_function_Syscall_getpid(benchmark::State &state) in Bm_function_Syscall_getpid() 44 benchmark::DoNotOptimize(pid); in Bm_function_Syscall_getpid() 49 static void Bm_function_Syscall_gettid(benchmark::State &state) in Bm_function_Syscall_gettid() 54 benchmark::DoNotOptimize(tid); in Bm_function_Syscall_gettid() 59 static void Bm_function_Syscall_adjtimex(benchmark::State &state) in Bm_function_Syscall_adjtimex() 63 benchmark::DoNotOptimize(syscall(SYS_adjtimex, &timeInfo)); in Bm_function_Syscall_adjtimex() 68 static void Bm_function_Syscall_write(benchmark::State &state) in Bm_function_Syscall_write() 76 benchmark::DoNotOptimize(syscall(SYS_write, fp, "Bad Mind", BYTES_WRITTEN)); in Bm_function_Syscall_write() 82 static void Bm_function_Syscall_read(benchmark::State &state) in Bm_function_Syscall_read() 96 benchmark::DoNotOptimize(ret); in Bm_function_Syscall_read() [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
D | charconv_benchmark.cc | 25 void BM_Strtod_Pi(benchmark::State& state) { in BM_Strtod_Pi() 28 benchmark::DoNotOptimize(pi); in BM_Strtod_Pi() 29 benchmark::DoNotOptimize(strtod(pi, nullptr)); in BM_Strtod_Pi() 34 void BM_Absl_Pi(benchmark::State& state) { in BM_Absl_Pi() 38 benchmark::DoNotOptimize(pi); in BM_Absl_Pi() 41 benchmark::DoNotOptimize(v); in BM_Absl_Pi() 46 void BM_Strtod_Pi_float(benchmark::State& state) { in BM_Strtod_Pi_float() 49 benchmark::DoNotOptimize(pi); in BM_Strtod_Pi_float() 50 benchmark::DoNotOptimize(strtof(pi, nullptr)); in BM_Strtod_Pi_float() 55 void BM_Absl_Pi_float(benchmark::State& state) { in BM_Absl_Pi_float() [all …]
|
D | string_view_benchmark.cc | 33 void BM_StringViewFromString(benchmark::State& state) { in BM_StringViewFromString() 42 benchmark::DoNotOptimize(ps); in BM_StringViewFromString() 43 benchmark::DoNotOptimize(psv); in BM_StringViewFromString() 46 benchmark::DoNotOptimize(sv); in BM_StringViewFromString() 59 void DoEqualityComparisons(benchmark::State& state, absl::string_view a, in DoEqualityComparisons() 62 benchmark::DoNotOptimize(a == b); in DoEqualityComparisons() 66 void BM_EqualIdentical(benchmark::State& state) { in BM_EqualIdentical() 72 void BM_EqualSame(benchmark::State& state) { in BM_EqualSame() 85 void BM_EqualDifferent(benchmark::State& state) { in BM_EqualDifferent() 104 void DoConstantSizeInlinedEqualityComparisons(benchmark::State& state, in DoConstantSizeInlinedEqualityComparisons() [all …]
|
D | str_cat_benchmark.cc | 34 void BM_Sum_By_StrCat(benchmark::State& state) { in BM_Sum_By_StrCat() 44 benchmark::DoNotOptimize(sum); in BM_Sum_By_StrCat() 50 void BM_StrCat_By_snprintf(benchmark::State& state) { in BM_StrCat_By_snprintf() 60 void BM_StrCat_By_Strings(benchmark::State& state) { in BM_StrCat_By_Strings() 65 benchmark::DoNotOptimize(result); in BM_StrCat_By_Strings() 71 void BM_StrCat_By_StringOpPlus(benchmark::State& state) { in BM_StrCat_By_StringOpPlus() 79 benchmark::DoNotOptimize(result); in BM_StrCat_By_StringOpPlus() 85 void BM_StrCat_By_StrCat(benchmark::State& state) { in BM_StrCat_By_StrCat() 89 benchmark::DoNotOptimize(result); in BM_StrCat_By_StrCat() 95 void BM_HexCat_By_StrCat(benchmark::State& state) { in BM_HexCat_By_StrCat() [all …]
|
/third_party/benchmark/test/ |
D | string_util_gtest.cc | 13 EXPECT_EQ(0ul, benchmark::stoul("0", &pos)); in TEST() 18 EXPECT_EQ(7ul, benchmark::stoul("7", &pos)); in TEST() 23 EXPECT_EQ(135ul, benchmark::stoul("135", &pos)); in TEST() 29 EXPECT_EQ(0xFFFFFFFFul, benchmark::stoul("4294967295", &pos)); in TEST() 36 benchmark::stoul("18446744073709551615", &pos)); in TEST() 42 EXPECT_EQ(10ul, benchmark::stoul("1010", &pos, 2)); in TEST() 47 EXPECT_EQ(520ul, benchmark::stoul("1010", &pos, 8)); in TEST() 52 EXPECT_EQ(1010ul, benchmark::stoul("1010", &pos, 10)); in TEST() 57 EXPECT_EQ(4112ul, benchmark::stoul("1010", &pos, 16)); in TEST() 62 EXPECT_EQ(0xBEEFul, benchmark::stoul("BEEF", &pos, 16)); in TEST() [all …]
|
D | basic_test.cc | 6 void BM_empty(benchmark::State& state) { in BM_empty() 8 benchmark::DoNotOptimize(state.iterations()); in BM_empty() 14 void BM_spin_empty(benchmark::State& state) { in BM_spin_empty() 17 benchmark::DoNotOptimize(x); in BM_spin_empty() 24 void BM_spin_pause_before(benchmark::State& state) { in BM_spin_pause_before() 26 benchmark::DoNotOptimize(i); in BM_spin_pause_before() 30 benchmark::DoNotOptimize(i); in BM_spin_pause_before() 37 void BM_spin_pause_during(benchmark::State& state) { in BM_spin_pause_during() 41 benchmark::DoNotOptimize(i); in BM_spin_pause_during() 45 benchmark::DoNotOptimize(i); in BM_spin_pause_during() [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/ |
D | memutil_benchmark.cc | 97 void BM_Memmem(benchmark::State& state) { in BM_Memmem() 99 benchmark::DoNotOptimize( in BM_Memmem() 106 void BM_MemmemMedium(benchmark::State& state) { in BM_MemmemMedium() 108 benchmark::DoNotOptimize( in BM_MemmemMedium() 115 void BM_MemmemPathological(benchmark::State& state) { in BM_MemmemPathological() 117 benchmark::DoNotOptimize(absl::strings_internal::memmem( in BM_MemmemPathological() 125 void BM_Memcasemem(benchmark::State& state) { in BM_Memcasemem() 127 benchmark::DoNotOptimize( in BM_Memcasemem() 134 void BM_MemcasememMedium(benchmark::State& state) { in BM_MemcasememMedium() 136 benchmark::DoNotOptimize( in BM_MemcasememMedium() [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/container/ |
D | inlined_vector_benchmark.cc | 27 void BM_InlinedVectorFill(benchmark::State& state) { in BM_InlinedVectorFill() 36 benchmark::DoNotOptimize(v); in BM_InlinedVectorFill() 41 void BM_InlinedVectorFillRange(benchmark::State& state) { in BM_InlinedVectorFillRange() 47 benchmark::DoNotOptimize(src); in BM_InlinedVectorFillRange() 49 benchmark::DoNotOptimize(v); in BM_InlinedVectorFillRange() 54 void BM_StdVectorFill(benchmark::State& state) { in BM_StdVectorFill() 63 benchmark::DoNotOptimize(v); in BM_StdVectorFill() 90 void BM_InlinedVectorFillString(benchmark::State& state) { in BM_InlinedVectorFillString() 106 void BM_StdVectorFillString(benchmark::State& state) { in BM_StdVectorFillString() 129 void BM_InlinedVectorAssignments(benchmark::State& state) { in BM_InlinedVectorAssignments() [all …]
|
/third_party/protobuf/benchmarks/ |
D | Makefile.am | 94 cd $(top_srcdir) && git submodule update --init -r third_party/benchmark && \ 95 cd third_party/benchmark && cmake -DCMAKE_BUILD_TYPE=Release && make 99 $(top_srcdir)/third_party/benchmark/src/libbenchmark.a: initialize_submodule 103 bin_PROGRAMS = cpp-benchmark 105 cpp_benchmark_LDADD = $(top_srcdir)/src/libprotobuf.la $(top_srcdir)/third_party/benchmark/src/libb… 107 cpp_benchmark_CPPFLAGS = -I$(top_srcdir)/src -I$(srcdir)/cpp -I$(top_srcdir)/third_party/benchmark/… 111 …oto2_header) $(top_srcdir)/src/libprotobuf.la $(top_srcdir)/third_party/benchmark/src/libbenchmark… 112 …benchmark-cpp_benchmark.$(OBJEXT): $(benchmarks_protoc_outputs) $(benchmarks_protoc_outputs_proto2… 119 cpp: protoc_middleman protoc_middleman2 cpp-benchmark initialize_submodule 120 ./cpp-benchmark $(all_data) [all …]
|
/third_party/benchmark/bindings/python/google_benchmark/ |
D | example.py | 26 import google_benchmark as benchmark namespace 30 @benchmark.register 36 @benchmark.register 41 @benchmark.register 53 @benchmark.register 62 @benchmark.register 73 @benchmark.register 95 @benchmark.register 96 @benchmark.option.measure_process_cpu_time() 97 @benchmark.option.use_real_time() [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/src/ |
D | cctz_benchmark.cc | 32 void BM_Difference_Days(benchmark::State& state) { in BM_Difference_Days() 36 benchmark::DoNotOptimize(c - epoch); in BM_Difference_Days() 41 void BM_Step_Days(benchmark::State& state) { in BM_Step_Days() 45 benchmark::DoNotOptimize(++c); in BM_Step_Days() 50 void BM_GetWeekday(benchmark::State& state) { in BM_GetWeekday() 53 benchmark::DoNotOptimize(cctz::get_weekday(c)); in BM_GetWeekday() 58 void BM_NextWeekday(benchmark::State& state) { in BM_NextWeekday() 72 benchmark::DoNotOptimize(cctz::next_weekday(from, to)); in BM_NextWeekday() 79 void BM_PrevWeekday(benchmark::State& state) { in BM_PrevWeekday() 93 benchmark::DoNotOptimize(cctz::prev_weekday(from, to)); in BM_PrevWeekday() [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/functional/ |
D | function_ref_benchmark.cc | 28 void FreeFunction() { benchmark::DoNotOptimize(dummy); } in FreeFunction() 31 void operator()() const { benchmark::DoNotOptimize(dummy); } in operator ()() 35 void operator()() const { benchmark::DoNotOptimize(this); } in operator ()() 45 void ConstructAndCallFunctionBenchmark(benchmark::State& state, in ConstructAndCallFunctionBenchmark() 52 void BM_TrivialStdFunction(benchmark::State& state) { in BM_TrivialStdFunction() 58 void BM_TrivialFunctionRef(benchmark::State& state) { in BM_TrivialFunctionRef() 64 void BM_LargeStdFunction(benchmark::State& state) { in BM_LargeStdFunction() 70 void BM_LargeFunctionRef(benchmark::State& state) { in BM_LargeFunctionRef() 75 void BM_FunPtrStdFunction(benchmark::State& state) { in BM_FunPtrStdFunction() 80 void BM_FunPtrFunctionRef(benchmark::State& state) { in BM_FunPtrFunctionRef() [all …]
|
/third_party/benchmark/ |
D | README.md | 3 …nd-test](https://github.com/google/benchmark/workflows/build-and-test/badge.svg)](https://github.c… 4 …[bazel](https://github.com/google/benchmark/actions/workflows/bazel.yml/badge.svg)](https://github… 5 [](https://github.com/goog… 6 …bindings](https://github.com/google/benchmark/workflows/test-bindings/badge.svg)](https://github.c… 8 …uild Status](https://travis-ci.org/google/benchmark.svg?branch=master)](https://travis-ci.org/goog… 9 …age Status](https://coveralls.io/repos/google/benchmark/badge.svg)](https://coveralls.io/r/google/… 12 A library to benchmark code snippets, similar to unit tests. Example: 15 #include <benchmark/benchmark.h> 17 static void BM_SomeFunction(benchmark::State& state) { 24 // Register the function as a benchmark [all …]
|