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
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
07b2fe6f96
Move end_threads to subclass since some subclass-specific fields will still be
...
alive at this time
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
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
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