vjpai
3beb20c3e2
Support use of high_res clock in timepoints
10 years ago
David Garcia Quintas
c9516d4e28
Fixed memory leak in server_async
10 years ago
vjpai
924d459c27
Fix timer issues
10 years ago
Craig Tiller
d4db33dcab
Add missing copyright notices
10 years ago
Craig Tiller
8ebcec484f
clang-format
10 years ago
Craig Tiller
aeea2f2203
Fix shutdown crash in async streaming test
10 years ago
Craig Tiller
5c8737d171
clang-format qps code - it was getting out of hand
10 years ago
David Garcia Quintas
feb67f67dc
Replaced std::this_thread::sleep_for for gpr_sleep_until.
...
std::this_thread::sleep_for isn't available in gcc <= 4.6 (4.7?) nor
VS2010.
10 years ago
David Garcia Quintas
30ecd2b8d9
Return shared_ptr by value plus minor dependency fix
10 years ago
David Garcia Quintas
a6b559a76a
Improvements to reporting mechanism based on comments.
...
Turned the reporter into a composite, much cleaner arch.
10 years ago
David Garcia Quintas
226beffea1
Simplified code based on comments and fixed build.json
10 years ago
David Garcia Quintas
87ca82768d
Added missing benchmark_config.* files
10 years ago
David Garcia Quintas
3cc9ec92d9
Removed registry for benchmark reports & introduced benchmark_config.{h,cc} in the spirit of test_config.{h,cc}.
...
The purpose of benchmark_config is to allow for different behaviors to
be decided at compile-time.
10 years ago
David Garcia Quintas
cdbdedbf23
Refactored benchmark reporting mechanism.
...
It now allows pluggging in "reporter" instances to process the benchmark results arbitrarily.
This would allow, for example, to send results to a leaderboard and/or other systems for tracking performance metrics.
10 years ago
David Garcia Quintas
08116501cb
Fix to work around the fact that Histogram isn't copyable.
10 years ago
David Garcia Quintas
6ba29ba3fb
Added the client and server configurations to the bench results proto.
...
The added configurations also include the host of both parties. This
is useful for reporting.
10 years ago
Craig Tiller
882431fff5
Compile fix
10 years ago
Craig Tiller
49c3b01c3e
Better RNG seeding portability
10 years ago
Craig Tiller
f98e56c91b
Cheesy attempt to get this working on Travis
10 years ago
vjpai
6a608020b0
WIP
10 years ago
vjpai
37f7257529
WIP
10 years ago
Siddharth Rakesh
2e9157d88c
Added async streaming ping pong test
10 years ago
Craig Tiller
2da0296478
Eliminate need for SIGPIPE handling
10 years ago
Craig Tiller
3676b38183
Lose redundant tag on unary calls
10 years ago
Craig Tiller
f9e6adf998
Completion queue binding for new requests API change
...
Move completion queue binding for new requests to the new request
request time, not server instantiation time.
10 years ago
David Garcia Quintas
d4f10c0320
Split C++'s smoke_test into 4 stand alone ones.
10 years ago
Vijay Pai
dfe83deb2c
Make sure that we have enough server threads to actually support the
...
number of outstanding streams
10 years ago
vjpai
0a4129399a
Also need to create a vector of streams
10 years ago
Vijay Pai
36ff3f00e2
clang-format
10 years ago
Vijay Pai
25aa12fa75
Support multi-stream synchronous client tests
10 years ago
vjpai
041998d986
Change function-pointer to std::function
10 years ago
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