add very simple (but already exposing many problems) wxIPC benchmark

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-10-16 12:35:03 +00:00
parent fa8825a01d
commit 65669e3152
12 changed files with 414 additions and 50 deletions

View File

@@ -15,14 +15,19 @@
#include "wx/ipc.h"
// the default service name
#define IPC_SERVICE _T("4242")
#define IPC_SERVICE "4242"
//#define IPC_SERVICE _T("/tmp/wxsrv424")
// the hostname
#define IPC_HOST _T("localhost")
#define IPC_HOST "localhost"
// the IPC topic
#define IPC_TOPIC _T("IPC TEST")
#define IPC_TOPIC "IPC TEST"
// the name of the item we're being advised about
#define IPC_ADVISE_NAME _T("Item")
#define IPC_ADVISE_NAME "Item"
// the values used by tests/benchmarks/ipcclient.cpp
#define IPC_BENCHMARK_TOPIC "wxIPC BENCH"
#define IPC_BENCHMARK_ITEM "Benchmark"