Commit Graph

134 Commits

Author SHA1 Message Date
Moiz Haidry d3db9fee9c Merge pull request #17461 from mhaidrygoog/callback_client_streaming_benchmark
Add support for Callback Client Streaming benchmarks
2019-01-03 20:38:54 -08:00
Moiz Haidry 7bb853ebdd Addressed PR comments. Made Client::Thread public and removed use of void ptr to refer it. Avoided overloading of NextIssue TIme by renaming it NextRPCIssueTime 2018-12-21 22:40:38 -08:00
Alexander Polcyn 50eaf46718 Refactor benchmark initial channel wait for ready to be single threaded 2018-12-21 14:07:46 -08:00
Moiz Haidry e6e1081499 Add support for Callback Client Streaming benchmarks 2018-12-13 09:40:37 -08:00
Vijay Pai 432b34bf74 Initialize value before creating slice 2018-11-07 12:33:19 -08:00
Moiz Haidry b4d5c7cee4 Benchmark test for callback unary gRPC
Every thread intitiates multiple RPCs. The Callback of the unary RPC then issues a new RPC and this goes until the benchmark shuts down. For shutdown the main thread waits on a conditional variable. After shutdown the callbacks increment a rpcs done variable and once the the rpcs done equate the the total number of outstanding rpcs, the last callback performing the increment operation also issues a signal to wake up the main thread. The mainthread process to join the other threads and perform cleanup
2018-10-08 12:24:03 -07:00
Hope Casey-Allen e360d82216 Clang tidy 2018-08-25 19:31:00 -07:00
Hope Casey-Allen 839a0520a2 Add an option to collect medians every epoch. Useful for gathering per second median latencies 2018-08-25 18:33:11 -07:00
Alexander Polcyn a2160f547f Wait a configurable amount of time for benchmark channels to become ready 2018-07-26 10:45:12 -07:00
Noah Eisen 373fc6dc40 Manual fixes to enable performance- clang tidy checks 2018-06-14 14:58:09 -04:00
kpayson64 7a20c962df Break out qps services into seperate protos 2018-04-18 22:13:09 -07:00
Vijay Pai c90a85649b Change grpc++ references in names to grpcpp 2018-03-08 22:04:59 -08:00
kpayson64 1bf7207852 Merge pull request #13084 from kpayson64/cq_lambda
CompletionQueue DoThenAsyncNext
2017-10-25 10:28:02 -07:00
Ken Payson 42bd87e376 Adds gRPC Experimental CQ DoThenAsyncNext lambda API 2017-10-25 09:13:30 -07:00
Yuchen Zeng ca31256597 Remove redundant WaitForConnected 2017-10-23 18:26:21 -07:00
Vijay Pai 088112fea1 Create inproc version of QPS test and add a few simple tests of this to standard testing suite. 2017-10-19 14:29:13 -07:00
Craig Tiller c18ad11837 Wait until all clients connected before starting streams 2017-10-09 13:44:10 -07:00
Craig Tiller f6cd77c48d Stability fixes 2017-10-09 13:28:00 -07:00
Craig Tiller 2897235609 Expose stats into qps_driver 2017-08-31 15:52:57 -07:00
Vijay Pai 6defb325d9 Remove some pre-C++11-style workarounds 2017-08-29 08:44:54 -07:00
Vijay Pai c38955501b Move some internal includes to the right places 2017-08-24 10:16:40 -07:00
Guantao Liu 1932a50e50 Merge pull request #11787 from guantaol/qps_driver
Add a new metric and enable internal credential types in QPS Driver
2017-07-18 17:46:57 -07:00
Vijay Pai 0f95fa4909 Add idiomatic C++ API for grpc::Slice construction that doesn't
require using grpc_slice
2017-07-18 11:07:43 -07:00
Guantao Liu abe3cf51f0 Add a new metric 'Queries/CPU-sec'.
Enable internal credential types.
2017-07-12 17:36:30 -07:00
Jan Tattermusch 7897ae9308 auto-fix most of licenses 2017-06-08 11:22:41 +02:00
Yuxuan Li 8698f2bbee fix extern c location 2017-05-15 16:53:01 -07:00
Yuxuan Li a7f7fcf94a Merge branch 'master' into poll_stat 2017-05-08 11:35:00 -07:00
Yuxuan Li 87827e03aa use lock instand of atomics, fix include position 2017-05-05 14:12:42 -07:00
Yuxuan Li f8365cd87b clean up, fix minor issue 2017-05-03 23:29:17 -07:00
Yuxuan Li 28efff3e1e clang-format 2017-05-03 22:50:56 -07:00
Yuxuan Li 999ac157e6 initial implementation. 2017-05-03 21:36:36 -07:00
Vijay Pai eea8cf0fe3 Add QPS tests for one-sided streaming 2017-05-02 09:26:12 -07:00
yang-g d0084c220e Include x.pb.h instead of x.grpc.pb.h for message-only protos 2017-03-06 11:23:35 -08:00
apolcyn 44e907af0e Merge pull request #9322 from apolcyn/deprecate_benchmark_core_lists
Don't configure core lists in in benchmark driver
2017-01-17 17:30:41 -08:00
Alexander Polcyn 6ff1ca4871 re-run generate project to build qps json driver 2017-01-11 14:25:55 -08:00
Alexander Polcyn 8a0ef63dea remove LimitCores in c++ benchmark 2017-01-11 13:52:01 -08:00
Yuxuan Li 98c0bd7c82 add setting channel args functionality to performance tesing
setting channel args --draft

clang-format
2017-01-11 08:01:40 +00:00
Vijay Pai aaefa958d7 Merge pull request #8638 from vjpai/conform
Improve C++11 conformance
2016-11-10 14:57:05 -08:00
Craig Tiller 32df467f11 Merge github.com:grpc/grpc into grpc_slice 2016-11-04 08:21:56 -07:00
Vijay Pai 90102c2bfc Eliminate unnecessary uses of new[]/delete[] that can be replaced
with vector

Also start eliminating uses of plain-old delete that are not helpful
2016-11-04 07:51:24 -07:00
Vijay Pai c0b2acb1a0 Use C++11 final and override 2016-11-01 16:31:56 -07:00
Craig Tiller d41a4a720f s/gpr_slice/grpc_slice, and move around tests, impls 2016-10-26 16:16:06 -07:00
Craig Tiller 0895545a58 Complete reporting for failure rates 2016-09-29 11:01:14 -07:00
Craig Tiller 032f9bfb58 Start to log errors from benchmark 2016-09-29 10:10:00 -07:00
Craig Tiller 0c80c7d12c Collecting failure status progress 2016-09-28 16:30:55 -07:00
yang-g e267f86c43 Properly init variable 2016-09-22 14:15:46 -07:00
Craig Tiller 9e1c2d2358 Dont start requests until all clients have gotten connected 2016-09-14 08:37:10 -07:00
Craig Tiller 531976a6d4 Add an initial mark that clients could use to delay startup of requests 2016-09-14 08:28:37 -07:00
Vijay Pai f50020ce03 Appease the const gods, improve readability, stop using 0 and 1 as
proxies for false and true.
2016-08-08 07:29:31 -07:00
Vijay Pai d02988d6b5 clang-format 2016-08-05 09:47:47 -07:00