aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/testing/benchmark/examples/metrics/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'library/cpp/testing/benchmark/examples/metrics/main.py')
-rw-r--r--library/cpp/testing/benchmark/examples/metrics/main.py7
1 files changed, 7 insertions, 0 deletions
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))