Commit Graph

68 Commits

Author SHA1 Message Date
Craig Tiller 1b4e33029e Consolidate C++ proto files under src/proto
- make the directory structure match the package structure
- sanitize the package structure (test --> testing)
- add auto-detection of proto file dependencies
2015-12-17 16:35:00 -08:00
Vijay Pai ce84670628 clang-format 2015-11-04 00:30:12 -08:00
vjpai d08a738166 Cleanup some names
Remove some unused options and make server_threads relevant
Start stubbing out better qps/core calculations
2015-11-02 16:45:08 -08:00
vjpai 119c103ab0 Split up into a new service proto, use proper service suffix, add a
reset option to the mark, create a closed loop config params (empty
message) for consistency with other tests.
2015-10-29 01:21:04 -07:00
vjpai 754751e3c6 Numerous proto changes to make things more sane and fix some outstanding issues 2015-10-28 09:16:22 -07:00
vjpai 52bfb2564f Split qpstest.proto into two parts - one for performance stats and
one for control.
Eliminate the use of our own SimpleRequest and SimpleResponse and
instead share the one from end2end testing
2015-10-21 07:50:49 -07:00
vjpai 0cc1341199 Move qpstest.proto to a common area (test/proto) instead of test/cpp/qps 2015-10-19 12:21:45 -07:00
yang-g 9e2f90cd06 headers reorg 2015-08-21 15:35:03 -07:00
Vijay Pai 90e7369484 clang-format plus helpful comments 2015-08-05 19:15:36 -07:00
Vijay Pai eed63fa267 Remaining changes needed to get QPS test working on old compilers.
This change contains a lot of ugly changes, such as changing
std::vector to allocation by new, etc.
2015-08-05 23:08:34 +00:00
Vijay Pai ab1dba72dc clang-format 2015-07-31 09:09:09 -07:00
vjpai 09d0b0cf47 Remove lambdas from state machine functions 2015-07-31 08:39:54 -07:00
Vijay Pai 13735d5d7e if->while 2015-07-01 14:00:08 -07:00
Vijay Pai 5606199585 Delete spare contexts lying around at the end of the test to avoid
showing up as memory leaks

Also reduce the rate of the openloop test - this may be an issue with
sanitizers particularly because of issue #2278
2015-07-01 13:39:48 -07:00
Vijay Pai e2980cd0b3 Eliminate data-race caused by specialization in vector<bool> 2015-07-01 09:38:20 -07:00
Craig Tiller 0960875b06 Remove spammy line (this is obfuscating testing logs) 2015-06-22 14:32:31 -07:00
Yang Gao b6d57e704b add missed explicit 2015-06-09 22:11:12 -07:00
Vijay Pai d9c7e7e373 Stop worrying about 1 second deadline as a fatal problem
Also fix reporter
2015-06-08 13:44:25 -07:00
Vijay Pai 372fd8791b Revert "Revert "Open loop sync/async multithreaded testing"" 2015-06-08 13:30:08 -07:00
Craig Tiller d55636d813 Revert "Open loop sync/async multithreaded testing" 2015-06-08 10:12:46 -07:00
vjpai 191b67437b Address reviewer comment by not having non-const reference 2015-06-05 14:18:42 -07:00
Vijay Pai cf3fb092cc clang-format 2015-06-05 03:41:30 -07:00
Vijay Pai c7de81e57e Better management of channel attempts and channel coverage 2015-06-05 03:32:03 -07:00
Vijay Pai db398e0609 Omit redundant record-keeping 2015-06-05 02:49:51 -07:00
Vijay Pai 06c995137b Take some code out from under a lock_guard and try to
maintain affinity of next_channel whenever possible
2015-06-05 02:32:39 -07:00
Vijay Pai 7b172b2411 Get the code to stop crashing by fixing bugs 2015-06-05 02:03:18 -07:00
vjpai dc0615fa87 Init a variable 2015-06-04 10:54:24 -07:00
vjpai d1dce90c9a Minor fixes 2015-06-04 10:48:43 -07:00
Vijay Pai 8eedd4a2c6 Context activation for async 2015-06-03 15:39:35 -07:00
Vijay Pai 9dc5c15b56 Account for time difference in mac and linux 2015-06-03 11:34:53 -07:00
Vijay Pai 8559485c23 Bug fix 2015-06-03 11:01:25 -07:00
vjpai 7abc4e720c Invoke LoadTest setup 2015-06-03 10:33:41 -07:00
vjpai 924d459c27 Fix timer issues 2015-06-02 10:26:52 -07:00
vjpai 675140ca1d Merge branch 'master' into poisson
Conflicts:
	Makefile
	test/cpp/qps/client_async.cc
	test/cpp/qps/qpstest.proto
2015-05-28 10:09:32 -07:00
Craig Tiller 5c8737d171 clang-format qps code - it was getting out of hand 2015-05-21 11:42:17 -07:00
vjpai 6a608020b0 WIP 2015-05-18 09:16:53 -07:00
vjpai 37f7257529 WIP 2015-05-12 10:29:07 -07:00
Craig Tiller 3676b38183 Lose redundant tag on unary calls 2015-05-06 13:01:05 -07:00
vjpai 041998d986 Change function-pointer to std::function 2015-05-04 09:24:08 -07:00
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. 2015-04-30 13:12:31 -07:00
Craig Tiller 66f37b477d Merge github.com:google/grpc into qps
Conflicts:
	Makefile
2015-04-10 08:28:31 -07:00
Craig Tiller 41faf0f4c8 s/11/1 2015-04-10 08:06:05 -07:00
Nicolas "Pixel" Noble 0caebbfcfe Splitting gRPC service class codegen into its own set of files. 2015-04-09 23:08:51 +02:00
Craig Tiller 8221e40ac0 Indentation fixes, s/11/1/g 2015-04-09 12:23:21 -07:00
Craig Tiller 1c61af7364 Dont sleep forever on async cq 2015-04-09 12:08:44 -07:00
Craig Tiller 8a5a666ad0 Handle errors better on client 2015-04-09 11:31:28 -07:00
Craig Tiller aa2fca5a48 Remove asserts 2015-04-09 10:56:06 -07:00
Vijay Pai 49673133b3 Remove unused header file for profiler 2015-03-31 12:39:51 -07:00
Vijay Pai bef9cbc7dc Eliminate range-based fors 2015-03-26 11:02:06 -07:00
Vijay Pai 9032adcbef Fix conflicts 2015-03-26 10:32:52 -07:00