aboutsummaryrefslogtreecommitdiff
path: root/src/zenmaster/zenmaster.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2025-10-10 14:11:11 +0200
committerStefan Boberg <[email protected]>2025-10-10 14:11:11 +0200
commitac60b31346f3dc1a9378003c420ae8d0231e7192 (patch)
tree04ad006f84b0d23ff3df0f49b3c196abf4c934f1 /src/zenmaster/zenmaster.cpp
parentfix warning wrt copy elision (diff)
downloadzen-ac60b31346f3dc1a9378003c420ae8d0231e7192.tar.xz
zen-ac60b31346f3dc1a9378003c420ae8d0231e7192.zip
time for test zenserver launches
Diffstat (limited to 'src/zenmaster/zenmaster.cpp')
-rw-r--r--src/zenmaster/zenmaster.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/zenmaster/zenmaster.cpp b/src/zenmaster/zenmaster.cpp
index 353b0da6a..64f04cf1e 100644
--- a/src/zenmaster/zenmaster.cpp
+++ b/src/zenmaster/zenmaster.cpp
@@ -329,6 +329,8 @@ main(int argc, char** argv)
// Spawn some zenserver processes
+ Stopwatch StartTimer;
+
zen::ZenServerEnvironment TestEnv;
std::filesystem::path ProgramBaseDir = GetRunningExecutablePath().parent_path();
@@ -356,7 +358,7 @@ main(int argc, char** argv)
std::filesystem::path TestDir1 = TestEnv.CreateNewTestDir();
Instance->SetTestDir(TestDir1);
- Instance->SpawnServer();
+ Instance->SpawnServer("--malloc=ansi");
}
});
@@ -371,6 +373,8 @@ main(int argc, char** argv)
}
});
+ ZEN_INFO("Starting {} instances took {}", SpawnCount, NiceTimeSpanMs(StartTimer.GetElapsedTimeMs()));
+
ZEN_INFO("press any key to tear instances down");
zen::getch();