From 1110808a9d39d4b808aef724c861a2e1a38d2a69 Mon Sep 17 00:00:00 2001 From: Devtools Arcadia <arcadia-devtools@yandex-team.ru> Date: Mon, 7 Feb 2022 18:08:42 +0300 Subject: intermediate changes ref:cde9a383711a11544ce7e107a78147fb96cc4029 --- .../cpp/testing/benchmark/examples/metrics/main.py | 7 +++++++ .../cpp/testing/benchmark/examples/metrics/ya.make | 20 ++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 library/cpp/testing/benchmark/examples/metrics/main.py create mode 100644 library/cpp/testing/benchmark/examples/metrics/ya.make (limited to 'library/cpp/testing/benchmark/examples/metrics') diff --git a/library/cpp/testing/benchmark/examples/metrics/main.py b/library/cpp/testing/benchmark/examples/metrics/main.py new file mode 100644 index 0000000000..8f9d9d06ae --- /dev/null +++ b/library/cpp/testing/benchmark/examples/metrics/main.py @@ -0,0 +1,7 @@ +import yatest.common as yc + + +def test_export_metrics(metrics): + metrics.set_benchmark(yc.execute_benchmark( + 'library/cpp/testing/benchmark/examples/examples', + threads=8)) 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..a9dbdca9fa --- /dev/null +++ b/library/cpp/testing/benchmark/examples/metrics/ya.make @@ -0,0 +1,20 @@ +OWNER( + pg + yazevnul +) + +PY2TEST() + +SIZE(LARGE) + +TAG( + ya:force_sandbox + sb:intel_e5_2660v1 + ya:fat +) + +TEST_SRCS(main.py) + +DEPENDS(library/cpp/testing/benchmark/examples) + +END() -- cgit v1.2.3