aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordaniel-march <daniel-march@yandex-team.com>2023-11-13 12:02:38 +0300
committerdaniel-march <daniel-march@yandex-team.com>2023-11-13 12:35:56 +0300
commit2f9a1205dd504ed64fb4aecfe7a473d9634ea8fd (patch)
tree1d20032dfd2ef472fd2841b39d4d5dd121845166
parent987637b68fa23a063658d04cd766b07524a6c073 (diff)
downloadydb-2f9a1205dd504ed64fb4aecfe7a473d9634ea8fd.tar.gz
Added 'y_benchmark' to Y_BENCHMARK
-rw-r--r--build/ymake.core.conf1
-rw-r--r--library/cpp/accurate_accumulate/benchmark/ya.make2
-rw-r--r--library/cpp/containers/comptrie/benchmark/ya.make2
-rw-r--r--library/cpp/string_utils/base64/bench/ya.make2
-rw-r--r--library/cpp/testing/benchmark/examples/ya.make2
-rw-r--r--tools/enum_parser/parse_enum/benchmark/ya.make2
6 files changed, 11 insertions, 0 deletions
diff --git a/build/ymake.core.conf b/build/ymake.core.conf
index e51a2c19a4..275f62d471 100644
--- a/build/ymake.core.conf
+++ b/build/ymake.core.conf
@@ -1587,6 +1587,7 @@ module EXECTEST: _BARE_UNIT {
module Y_BENCHMARK: PROGRAM {
.SEM=CPP_PROGRAM_SEM
PEERDIR(library/cpp/testing/benchmark/main)
+ ADD_YTEST($MODULE_PREFIX$REALPRJNAME y_benchmark)
}
GBENCH_SEM=$CPP_PROGRAM_SEM \
diff --git a/library/cpp/accurate_accumulate/benchmark/ya.make b/library/cpp/accurate_accumulate/benchmark/ya.make
index 5eb3aac446..3dc032e7ee 100644
--- a/library/cpp/accurate_accumulate/benchmark/ya.make
+++ b/library/cpp/accurate_accumulate/benchmark/ya.make
@@ -1,5 +1,7 @@
Y_BENCHMARK()
+BENCHMARK_OPTS(--budget=10)
+
SRCS(
main.cpp
)
diff --git a/library/cpp/containers/comptrie/benchmark/ya.make b/library/cpp/containers/comptrie/benchmark/ya.make
index d0d42fb7d7..1fded11a94 100644
--- a/library/cpp/containers/comptrie/benchmark/ya.make
+++ b/library/cpp/containers/comptrie/benchmark/ya.make
@@ -1,5 +1,7 @@
Y_BENCHMARK()
+TAG(ya:not_autocheck)
+
SRCS(
main.cpp
)
diff --git a/library/cpp/string_utils/base64/bench/ya.make b/library/cpp/string_utils/base64/bench/ya.make
index 6e47492f27..311b32cb49 100644
--- a/library/cpp/string_utils/base64/bench/ya.make
+++ b/library/cpp/string_utils/base64/bench/ya.make
@@ -1,5 +1,7 @@
Y_BENCHMARK()
+BENCHMARK_OPTS(--budget=10)
+
SRCS(
main.cpp
)
diff --git a/library/cpp/testing/benchmark/examples/ya.make b/library/cpp/testing/benchmark/examples/ya.make
index 857c43519c..c683602e72 100644
--- a/library/cpp/testing/benchmark/examples/ya.make
+++ b/library/cpp/testing/benchmark/examples/ya.make
@@ -1,5 +1,7 @@
Y_BENCHMARK()
+BENCHMARK_OPTS(--budget=10)
+
SRCS(
main.cpp
)
diff --git a/tools/enum_parser/parse_enum/benchmark/ya.make b/tools/enum_parser/parse_enum/benchmark/ya.make
index 746389067d..a3ebd34158 100644
--- a/tools/enum_parser/parse_enum/benchmark/ya.make
+++ b/tools/enum_parser/parse_enum/benchmark/ya.make
@@ -1,5 +1,7 @@
Y_BENCHMARK()
+BENCHMARK_OPTS(--budget=10)
+
SRCS(
main.cpp
)