Vijay Pai
e10ebf15eb
Keep code that is common between both async client versions in a new async superclass and only use unary/streaming-specific material in the subclass.
10 years ago
vjpai
9ba29cd8f3
Move end_threads to subclass since some subclass-specific fields will still be
...
alive at this time
Conflicts:
test/cpp/qps/client_sync.cc
10 years ago
vjpai
07b2fe6f96
Move end_threads to subclass since some subclass-specific fields will still be
...
alive at this time
10 years ago
vjpai
c6aa60e510
Move interarrival timer to Client class so that it can be used for async tests
...
as well
10 years ago
Vijay Pai
4d4372b452
Supply command line flags for open-loop testing
10 years ago
Vijay Pai
e36a32a495
Fix names
10 years ago
Vijay Pai
87dd702783
Fix embarassing break bug
10 years ago
Craig Tiller
98ae48d63c
Ignore SIGPIPE
10 years ago
Craig Tiller
77e0d64b4d
Fix a race in QPS client shutdown
...
Previously we were cleaning up threads only AFTER local resources were
reclaimed, leading to many crashes.
10 years ago
zeliard
3e3e0ad348
merge from upstream (grpc) master
10 years ago
Vijay Pai
105ff2eb2e
Support for open-loop sync test
10 years ago
Yang Gao
c4b6ffb1b6
Add a GrpcLibrary class to wrap grpc_init and grpc_shutdown and convert all the tests to init/shutdown free.
10 years ago
Vijay Pai
e23aba4884
Fix definition of InterarrivalTimer to enable late initialization
...
and use nanoseconds
10 years ago
vjpai
9cf0b3b84d
Random number distributions and test for common distributions
10 years ago
Yang Gao
103837ee6b
Wrap ParseCommandLineFlags in InitTest
10 years ago
Craig Tiller
66048f4fc1
Add reporting library, use it
10 years ago
Craig Tiller
41faf0f4c8
s/11/1
10 years ago
Craig Tiller
e9a6eb7332
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.
10 years ago
Craig Tiller
4cc8a172f5
Tweaks
10 years ago
Nicolas "Pixel" Noble
0caebbfcfe
Splitting gRPC service class codegen into its own set of files.
10 years ago
Craig Tiller
206d59a56a
fine tuning
10 years ago
Craig Tiller
8221e40ac0
Indentation fixes, s/11/1/g
10 years ago
Craig Tiller
1c61af7364
Dont sleep forever on async cq
10 years ago
Craig Tiller
8a5a666ad0
Handle errors better on client
10 years ago
Craig Tiller
aa2fca5a48
Remove asserts
10 years ago
Craig Tiller
2c2cf6d2c5
Smoke test initial version
10 years ago
Craig Tiller
b9de09f2ac
Allow specifying warmup, benchmark times
10 years ago
Vijay Pai
f2554d051b
Revive proper SIGINT handling
10 years ago
Vijay Pai
54e16ee548
Put in calls to profiling
10 years ago
Vijay Pai
49673133b3
Remove unused header file for profiler
10 years ago
Vijay Pai
ce3bd9680b
Remove outdated file
10 years ago
vjpai
4bcab68012
Include the config.h file to make sure that nullptr is covered
10 years ago
Vijay Pai
bef9cbc7dc
Eliminate range-based fors
10 years ago
Vijay Pai
82dd80abc6
Elminate range-based fors and work around some other limitations in older compilers
10 years ago
Vijay Pai
6266b9341c
Sweep different parameter sets in a single shell script.
10 years ago
Vijay Pai
8ad32091e6
Make sure that nothing gets added to cq after shutdown
10 years ago
Vijay Pai
55bb5bdf80
No need to do an extra read
10 years ago
Vijay Pai
c5b397927c
test return value of rpc parse
10 years ago
vjpai
653803e310
Make RPC type configurable
10 years ago
vjpai
46f65239cf
Added streaming C++ tests for sync and sync cases
10 years ago
Nicolas Noble
cfd6073a66
Various Windows fixes.
...
-) using dupenv_s instead of getenv_s and calling strdup ourselves.
-) few impossible-to-obtain if checks.
-) various signed/unsigned casting.
-) using time_t instead of time32_t
-) checking output of FormatMessage for failures.
-) don't redefine _WIN32_WINNT without undefining it first.
-) fixed msvc's interlocked casting.
-) renamed AddPort to AddListeningPort.
-) added protobuf's third_party includes to search path.
-) added a missing definition for inet_ntop in mingw32.
-) removed useless declarations.
10 years ago
Yang Gao
6baa9b67ad
clang-format c++ code
10 years ago
Chilledheart
4be94b9541
Add missing GRPC_OVERRIDE, NFC
...
Testing asan configuration with the latest clang compiler fails due to
the warning `-Winconsistent-missing-override`. This patch fixes it.
10 years ago
Craig Tiller
43ef582e42
override --> GRPC_OVERRIDE
10 years ago
Craig Tiller
78524b75d7
Compile fix
10 years ago
Craig Tiller
2eaf1596bb
ACTUALLY set the server thread pool
10 years ago
Craig Tiller
a182bf12b0
clang-format
10 years ago
Craig Tiller
50a976f56c
Linux compile fix
10 years ago
Craig Tiller
c98bef7303
Compile fix
10 years ago
Craig Tiller
a8dc37a2dd
Rename some files
10 years ago