diff options
author | Craig Tiller <ctiller@google.com> | 2017-03-09 15:09:34 -0800 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2017-03-09 15:09:34 -0800 |
commit | af1158126075c007a0e2fcdf99609545685f62e6 (patch) | |
tree | 1e50761cd5a2414789cb51dc048c6fbd44c91682 /test/cpp/microbenchmarks/BUILD | |
parent | 4d92a49fc0a96afc7f4539c0e600f06b6e4089f6 (diff) | |
parent | eb064ec7b81b60c5e1eb47d6124d0c05056b3097 (diff) |
Merge github.com:grpc/grpc into cpp_bazelness
Diffstat (limited to 'test/cpp/microbenchmarks/BUILD')
-rw-r--r-- | test/cpp/microbenchmarks/BUILD | 51 |
1 files changed, 47 insertions, 4 deletions
diff --git a/test/cpp/microbenchmarks/BUILD b/test/cpp/microbenchmarks/BUILD index b391f8766f..8f8858367f 100644 --- a/test/cpp/microbenchmarks/BUILD +++ b/test/cpp/microbenchmarks/BUILD @@ -35,14 +35,57 @@ cc_test( deps = ["//external:benchmark"], ) -cc_test( - name = "bm_fullstack", - srcs = ["bm_fullstack.cc"], +cc_library( + name = "helpers", + srcs = ["helpers.cc"], + hdrs = ["helpers.h", "fullstack_fixtures.h", "fullstack_context_mutators.h"], deps = ["//:grpc++", "//external:benchmark", "//test/core/util:grpc_test_util", "//src/proto/grpc/testing:echo_proto"], ) cc_test( name = "bm_closure", srcs = ["bm_closure.cc"], - deps = ["//:grpc", "//external:benchmark"], + deps = [":helpers"], +) + +cc_test( + name = "bm_cq", + srcs = ["bm_cq.cc"], + deps = [":helpers"], +) + +cc_test( + name = "bm_error", + srcs = ["bm_error.cc"], + deps = [":helpers"], +) + +cc_test( + name = "bm_fullstack_streaming_ping_pong", + srcs = ["bm_fullstack_streaming_ping_pong.cc"], + deps = [":helpers"], + + ) +cc_test( + name = "bm_fullstack_streaming_pump", + srcs = ["bm_fullstack_streaming_pump.cc"], + deps = [":helpers"], +) + +cc_test( + name = "bm_fullstack_trickle", + srcs = ["bm_fullstack_trickle.cc"], + deps = [":helpers"], +) + +cc_test( + name = "bm_fullstack_unary_ping_pong", + srcs = ["bm_fullstack_unary_ping_pong.cc"], + deps = [":helpers"], +) + +cc_test( + name = "bm_metadata", + srcs = ["bm_metadata.cc"], + deps = [":helpers"], ) |