diff --git a/tools/benchmark/main.cpp b/tools/benchmark/main.cpp
index af091524082a1df6898cf2d397758e0bbfa6251e..068d1336f98900f5ce6b4c5b8191df248e918237 100644
--- a/tools/benchmark/main.cpp
+++ b/tools/benchmark/main.cpp
@@ -69,11 +69,7 @@ setupHandler(const std::string& name,
     config->factory = factory;
     config->logger = logger;
     config->certStore = h->certStore;
-
-    std::filesystem::path currentPath = std::filesystem::current_path();
-    std::filesystem::path tempDirPath = currentPath / "temp";
-
-    config->cachePath = tempDirPath.string();
+    config->cachePath = std::filesystem::current_path() / "temp";
 
     h->connectionManager = std::make_shared<ConnectionManager>(config);
     h->connectionManager->onICERequest([](const DeviceId&) { return true; });