summaryrefslogtreecommitdiffstats
path: root/library/cpp/testing/gbenchmark/main.cpp
diff options
context:
space:
mode:
authorrp-1 <[email protected]>2025-10-03 14:27:04 +0300
committerrp-1 <[email protected]>2025-10-03 15:13:39 +0300
commitc1ffdb950536fb476f714704061d8714536db34a (patch)
tree726f9fee445b2ffeb60c8a3475b09de5c6b4a7a8 /library/cpp/testing/gbenchmark/main.cpp
parent71330c140e37851e7d801ac0148e636346997036 (diff)
Move NYT::Initialize to separate "weak" hook
Move BEFORE_INIT hook to the beginning commit_hash:9cbf1d95bf1cda4bcce0d3ab9207debcab65391b
Diffstat (limited to 'library/cpp/testing/gbenchmark/main.cpp')
-rw-r--r--library/cpp/testing/gbenchmark/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/library/cpp/testing/gbenchmark/main.cpp b/library/cpp/testing/gbenchmark/main.cpp
index 523d18901a0..a0b30bb7094 100644
--- a/library/cpp/testing/gbenchmark/main.cpp
+++ b/library/cpp/testing/gbenchmark/main.cpp
@@ -1,9 +1,11 @@
#include <benchmark/benchmark.h>
#include <library/cpp/testing/hook/hook.h>
+#include <library/cpp/testing/hook/yt_initialize_hook.h>
#include <util/generic/scope.h>
int main(int argc, char** argv) {
+ InitializeYt(argc, argv);
NTesting::THook::CallBeforeInit();
::benchmark::Initialize(&argc, argv);
if (::benchmark::ReportUnrecognizedArguments(argc, argv)) {