aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/testing/benchmark
diff options
context:
space:
mode:
authoralexv-smirnov <alex@ydb.tech>2023-06-13 11:05:01 +0300
committeralexv-smirnov <alex@ydb.tech>2023-06-13 11:05:01 +0300
commitbf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0 (patch)
tree1d1df72c0541a59a81439842f46d95396d3e7189 /library/cpp/testing/benchmark
parent8bfdfa9a9bd19bddbc58d888e180fbd1218681be (diff)
downloadydb-bf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0.tar.gz
add ymake export to ydb
Diffstat (limited to 'library/cpp/testing/benchmark')
-rw-r--r--library/cpp/testing/benchmark/examples/metrics/ya.make15
-rw-r--r--library/cpp/testing/benchmark/examples/ya.make11
-rw-r--r--library/cpp/testing/benchmark/main/ya.make11
-rw-r--r--library/cpp/testing/benchmark/ya.make22
4 files changed, 59 insertions, 0 deletions
diff --git a/library/cpp/testing/benchmark/examples/metrics/ya.make b/library/cpp/testing/benchmark/examples/metrics/ya.make
new file mode 100644
index 0000000000..56eb58fc7f
--- /dev/null
+++ b/library/cpp/testing/benchmark/examples/metrics/ya.make
@@ -0,0 +1,15 @@
+PY2TEST()
+
+SIZE(LARGE)
+
+TAG(
+ ya:force_sandbox
+ sb:intel_e5_2660v1
+ ya:fat
+)
+
+TEST_SRCS(main.py)
+
+DEPENDS(library/cpp/testing/benchmark/examples)
+
+END()
diff --git a/library/cpp/testing/benchmark/examples/ya.make b/library/cpp/testing/benchmark/examples/ya.make
new file mode 100644
index 0000000000..857c43519c
--- /dev/null
+++ b/library/cpp/testing/benchmark/examples/ya.make
@@ -0,0 +1,11 @@
+Y_BENCHMARK()
+
+SRCS(
+ main.cpp
+)
+
+END()
+
+RECURSE(
+ metrics
+)
diff --git a/library/cpp/testing/benchmark/main/ya.make b/library/cpp/testing/benchmark/main/ya.make
new file mode 100644
index 0000000000..684435b94f
--- /dev/null
+++ b/library/cpp/testing/benchmark/main/ya.make
@@ -0,0 +1,11 @@
+LIBRARY()
+
+SRCS(
+ GLOBAL main.cpp
+)
+
+PEERDIR(
+ library/cpp/testing/benchmark
+)
+
+END()
diff --git a/library/cpp/testing/benchmark/ya.make b/library/cpp/testing/benchmark/ya.make
new file mode 100644
index 0000000000..8ded7f4ec2
--- /dev/null
+++ b/library/cpp/testing/benchmark/ya.make
@@ -0,0 +1,22 @@
+LIBRARY()
+
+SRCS(
+ bench.cpp
+ dummy.cpp
+)
+
+PEERDIR(
+ contrib/libs/re2
+ library/cpp/colorizer
+ library/cpp/getopt/small
+ library/cpp/json
+ library/cpp/linear_regression
+ library/cpp/threading/poor_man_openmp
+)
+
+END()
+
+RECURSE(
+ examples
+ main
+)