diff options
| author | Stefan Boberg <[email protected]> | 2025-10-10 14:11:11 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2025-10-10 14:11:11 +0200 |
| commit | ac60b31346f3dc1a9378003c420ae8d0231e7192 (patch) | |
| tree | 04ad006f84b0d23ff3df0f49b3c196abf4c934f1 /src/zenmaster/zenmaster.cpp | |
| parent | fix warning wrt copy elision (diff) | |
| download | zen-ac60b31346f3dc1a9378003c420ae8d0231e7192.tar.xz zen-ac60b31346f3dc1a9378003c420ae8d0231e7192.zip | |
time for test zenserver launches
Diffstat (limited to 'src/zenmaster/zenmaster.cpp')
| -rw-r--r-- | src/zenmaster/zenmaster.cpp | 6 |
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(); |