1# Copyright 2021 gRPC authors. 2# 3# Licensed under the Apache License, Version 2.0 (the "License"); 4# you may not use this file except in compliance with the License. 5# You may obtain a copy of the License at 6# 7# http://www.apache.org/licenses/LICENSE-2.0 8# 9# Unless required by applicable law or agreed to in writing, software 10# distributed under the License is distributed on an "AS IS" BASIS, 11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12# See the License for the specific language governing permissions and 13# limitations under the License. 14 15licenses(["notice"]) 16 17load("//bazel:grpc_build_system.bzl", "grpc_cc_test", "grpc_package") 18 19grpc_package(name = "test/core/promise/benchmark") 20 21load("//test/cpp/microbenchmarks:grpc_benchmark_config.bzl", "grpc_benchmark_args") 22 23grpc_cc_test( 24 name = "competition", 25 srcs = [ 26 "competition.cc", 27 "filter_stack.cc", 28 "filter_stack.h", 29 ], 30 args = grpc_benchmark_args(), 31 external_deps = [ 32 "benchmark", 33 "absl/synchronization", 34 ], 35 tags = [ 36 "no_mac", 37 "no_windows", 38 ], 39 uses_polling = False, 40 deps = [ 41 "//:activity", 42 "//:for_each", 43 "//:join", 44 "//:latch", 45 "//:pipe", 46 "//:seq", 47 "//:try_join", 48 "//:try_seq", 49 "//test/core/promise:test_wakeup_schedulers", 50 "//test/core/util:grpc_suppressions", 51 ], 52) 53