diff options
author | kungasc <kungasc@yandex-team.com> | 2023-05-25 15:11:20 +0300 |
---|---|---|
committer | kungasc <kungasc@yandex-team.com> | 2023-05-25 15:11:20 +0300 |
commit | 36161a0673e3c898b48819ba206fa38409b896f5 (patch) | |
tree | d98bcdc33efd57c970f4a4b367cb49659b874cb9 /library/cpp | |
parent | 1fdca17f924b7862c94f670192a3b57ac27ec215 (diff) | |
download | ydb-36161a0673e3c898b48819ba206fa38409b896f5.tar.gz |
Add precharge benchmark
Diffstat (limited to 'library/cpp')
6 files changed, 96 insertions, 0 deletions
diff --git a/library/cpp/testing/CMakeLists.txt b/library/cpp/testing/CMakeLists.txt index 23be63b053b..38ecc236cf3 100644 --- a/library/cpp/testing/CMakeLists.txt +++ b/library/cpp/testing/CMakeLists.txt @@ -8,6 +8,7 @@ add_subdirectory(benchmark) add_subdirectory(common) +add_subdirectory(gbenchmark_main) add_subdirectory(gmock_in_unittest) add_subdirectory(gtest) add_subdirectory(gtest_extensions) diff --git a/library/cpp/testing/gbenchmark_main/CMakeLists.darwin-x86_64.txt b/library/cpp/testing/gbenchmark_main/CMakeLists.darwin-x86_64.txt new file mode 100644 index 00000000000..3253a09a82e --- /dev/null +++ b/library/cpp/testing/gbenchmark_main/CMakeLists.darwin-x86_64.txt @@ -0,0 +1,19 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-testing-gbenchmark_main) +target_link_libraries(cpp-testing-gbenchmark_main PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-benchmark + cpp-testing-hook +) +target_sources(cpp-testing-gbenchmark_main PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/testing/gbenchmark_main/main.cpp +) diff --git a/library/cpp/testing/gbenchmark_main/CMakeLists.linux-aarch64.txt b/library/cpp/testing/gbenchmark_main/CMakeLists.linux-aarch64.txt new file mode 100644 index 00000000000..66a59ee4146 --- /dev/null +++ b/library/cpp/testing/gbenchmark_main/CMakeLists.linux-aarch64.txt @@ -0,0 +1,20 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-testing-gbenchmark_main) +target_link_libraries(cpp-testing-gbenchmark_main PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + contrib-libs-benchmark + cpp-testing-hook +) +target_sources(cpp-testing-gbenchmark_main PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/testing/gbenchmark_main/main.cpp +) diff --git a/library/cpp/testing/gbenchmark_main/CMakeLists.linux-x86_64.txt b/library/cpp/testing/gbenchmark_main/CMakeLists.linux-x86_64.txt new file mode 100644 index 00000000000..66a59ee4146 --- /dev/null +++ b/library/cpp/testing/gbenchmark_main/CMakeLists.linux-x86_64.txt @@ -0,0 +1,20 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-testing-gbenchmark_main) +target_link_libraries(cpp-testing-gbenchmark_main PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + contrib-libs-benchmark + cpp-testing-hook +) +target_sources(cpp-testing-gbenchmark_main PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/testing/gbenchmark_main/main.cpp +) diff --git a/library/cpp/testing/gbenchmark_main/CMakeLists.txt b/library/cpp/testing/gbenchmark_main/CMakeLists.txt new file mode 100644 index 00000000000..f8b31df0c11 --- /dev/null +++ b/library/cpp/testing/gbenchmark_main/CMakeLists.txt @@ -0,0 +1,17 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND NOT HAVE_CUDA) + include(CMakeLists.linux-aarch64.txt) +elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") + include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) +elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND NOT HAVE_CUDA) + include(CMakeLists.linux-x86_64.txt) +endif() diff --git a/library/cpp/testing/gbenchmark_main/CMakeLists.windows-x86_64.txt b/library/cpp/testing/gbenchmark_main/CMakeLists.windows-x86_64.txt new file mode 100644 index 00000000000..3253a09a82e --- /dev/null +++ b/library/cpp/testing/gbenchmark_main/CMakeLists.windows-x86_64.txt @@ -0,0 +1,19 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-testing-gbenchmark_main) +target_link_libraries(cpp-testing-gbenchmark_main PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-benchmark + cpp-testing-hook +) +target_sources(cpp-testing-gbenchmark_main PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/testing/gbenchmark_main/main.cpp +) |