aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar Soheil Hassas Yeganeh <soheil@google.com>2018-12-21 18:14:08 -0500
committerGravatar Soheil Hassas Yeganeh <soheil@google.com>2018-12-21 18:56:09 -0500
commit2e017da58aeb335e79f7bbf0797aad45a59d293b (patch)
tree4d7b38a8adb0807345520f0f79f31dc05b65f1e6 /tools
parentbae61a0f43db262d6170c53c0b77db04b0113ad1 (diff)
Add microbenchmarks for grpc_timer
This helps assessing upcoming changes.
Diffstat (limited to 'tools')
-rw-r--r--tools/run_tests/generated/sources_and_headers.json21
-rw-r--r--tools/run_tests/generated/tests.json22
2 files changed, 43 insertions, 0 deletions
diff --git a/tools/run_tests/generated/sources_and_headers.json b/tools/run_tests/generated/sources_and_headers.json
index 336d499be9..8d1bca22be 100644
--- a/tools/run_tests/generated/sources_and_headers.json
+++ b/tools/run_tests/generated/sources_and_headers.json
@@ -3007,6 +3007,27 @@
},
{
"deps": [
+ "benchmark",
+ "gpr",
+ "grpc++_test_config",
+ "grpc++_test_util_unsecure",
+ "grpc++_unsecure",
+ "grpc_benchmark",
+ "grpc_test_util_unsecure",
+ "grpc_unsecure"
+ ],
+ "headers": [],
+ "is_filegroup": false,
+ "language": "c++",
+ "name": "bm_timer",
+ "src": [
+ "test/cpp/microbenchmarks/bm_timer.cc"
+ ],
+ "third_party": false,
+ "type": "target"
+ },
+ {
+ "deps": [
"gpr",
"grpc",
"grpc_test_util"
diff --git a/tools/run_tests/generated/tests.json b/tools/run_tests/generated/tests.json
index 3a348e4a92..e35d4db276 100644
--- a/tools/run_tests/generated/tests.json
+++ b/tools/run_tests/generated/tests.json
@@ -3717,6 +3717,28 @@
},
{
"args": [],
+ "benchmark": true,
+ "ci_platforms": [
+ "linux",
+ "mac",
+ "posix"
+ ],
+ "cpu_cost": 1.0,
+ "exclude_configs": [],
+ "exclude_iomgrs": [],
+ "flaky": false,
+ "gtest": false,
+ "language": "c++",
+ "name": "bm_timer",
+ "platforms": [
+ "linux",
+ "mac",
+ "posix"
+ ],
+ "uses_polling": false
+ },
+ {
+ "args": [],
"benchmark": false,
"ci_platforms": [
"linux",