Allow RunScenarios to spawn in-process workers
This allows us to get back to single binary tests where appropriate, which will help in-depth profiling efforts.
I've built this atop my smoke_test changes as they inspired me to get this done.
diff --git a/build.json b/build.json
index f2a39c6..adf6128 100644
--- a/build.json
+++ b/build.json
@@ -554,11 +554,17 @@
"language": "c++",
"headers": [
"test/cpp/qps/driver.h",
+ "test/cpp/qps/qps_worker.h",
"test/cpp/qps/timer.h"
],
"src": [
"test/cpp/qps/qpstest.proto",
+ "test/cpp/qps/client_async.cc",
+ "test/cpp/qps/client_sync.cc",
"test/cpp/qps/driver.cc",
+ "test/cpp/qps/qps_worker.cc",
+ "test/cpp/qps/server_async.cc",
+ "test/cpp/qps/server_sync.cc",
"test/cpp/qps/timer.cc"
]
},
@@ -2007,10 +2013,6 @@
"test/cpp/qps/server.h"
],
"src": [
- "test/cpp/qps/client_async.cc",
- "test/cpp/qps/client_sync.cc",
- "test/cpp/qps/server_async.cc",
- "test/cpp/qps/server_sync.cc",
"test/cpp/qps/worker.cc"
],
"deps": [