Moiz Haidry
1303ec7b53
Added benchmarks for Callback based Unary server
2018-11-07 10:08:51 -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
Alex Polcyn
92e0a70ec6
Make QPS server builder customizeabled
2018-07-23 17:16:13 +00: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
Vijay Pai
ae376bf9d9
Privatize host_port.h; was not used in any wrapped language implementation
2018-01-25 23:06:24 -08:00
Vijay Pai
195cf1ebfd
Move histogram to test/core/util
2017-11-30 15:02:04 -08: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
Guantao Liu
ac9fdfbc40
Removed unnecessary default values and fixed sanity.
2017-07-14 17:33:19 -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
Vijay Pai
eea8cf0fe3
Add QPS tests for one-sided streaming
2017-05-02 09:26:12 -07:00
Vijay Pai
713c7b87e1
clang-format
2016-11-01 16:33:18 -07:00
Vijay Pai
c0b2acb1a0
Use C++11 final and override
2016-11-01 16:31:56 -07:00
Vijay Pai
5fde20d9f0
clang-format
2016-07-13 19:25:59 -07:00
Vijay Pai
40317fd720
Resolve pernicious race between destructor and thread functions by insisting that destructor is invoked after the class has gone back to being a harmless single-threaded thing.
2016-07-13 19:20:25 -07:00
Vijay Pai
f782465fba
Fix some shutdown errors related to CQ/join ordering
2016-07-08 10:33:10 -07:00
vjpai
b0f15e8af3
Reduce assertions, use status codes, increase verbosity on errors
2016-07-06 13:57:01 -07:00
Craig Tiller
6169d5f7b0
Update copyrights
2016-03-31 07:46:18 -07:00
Craig Tiller
baaf65546a
Fix formatting
2016-03-07 22:39:11 -08:00
Craig Tiller
710d58cfae
Disable profiling in qps_worker for now
2016-03-07 20:00:50 -08:00
Vijay Pai
b47b556d33
Merge branch 'master' into worker_quit
2016-02-02 10:36:12 -08:00
Vijay Pai
2ed337aab3
clang-format
2016-02-02 09:43:35 -08:00
vjpai
21e5d2b2f1
Add a Quit RPC so that we can conveniently shut down the workers from the driver.
2016-02-02 09:36:36 -08:00
Vijay Pai
595674275b
Copyright and clang-format
2016-02-01 13:28:55 -08:00
Vijay Pai
7d45cdb60b
Enable properly working core limits on clients and servers,
...
and determine these dynamically if only one or the other is
specified but both are running on the same host
2016-02-01 13:00:19 -08:00
Vijay Pai
c64736d852
Clean-up core list usage and make it possible to reset the core list
2016-02-01 09:33:11 -08:00
Vijay Pai
03ba4d746a
Merge branch 'master' into corelimit2
2016-02-01 08:17:27 -08:00
Vijay Pai
36e7770101
Merge branch 'master' into generic_qps
2016-01-27 12:15:48 -08:00
vjpai
a091a23a7f
No need to put \n at end of a log message
2016-01-26 18:10:42 -08:00
vjpai
a00f998089
Actually create async generic server
2016-01-26 17:51:35 -08:00
Vijay Pai
0f14209061
Improve logging for test
2016-01-26 14:20:07 -08:00
vjpai
cd624d2eee
Dealt with a nit
2016-01-19 11:40:10 -08:00
Vijay Pai
d3ea2708cc
Re-enable explicit specification of server port for qps worker. Also
...
add in a check that we don't try to use generic testing for sync or unary.
2016-01-19 10:59:42 -08:00
vjpai
f6269a4dca
Merge branch 'master' into corelimit2
2016-01-19 08:01:47 -08:00
David Garcia Quintas
2bf574f814
Added back trailing newlines
2016-01-14 15:55:03 -08:00
murgatroid99
eeb02ba77a
Update copyrights again
2016-01-13 20:43:33 -08:00
Vijay Pai
b9a8f1ba39
Merge branch 'master' into corelimit2
2016-01-13 13:29:41 -08:00
Vijay Pai
3448c27275
clang-format
2016-01-13 11:17:13 -08:00
Vijay Pai
0e66efdadd
Make core limitation work for both client and server so that we can run tests on the same
...
machine if desired. The core_list flags to qps_driver are comma-separated lists of
core numbers.
2016-01-13 11:15:49 -08:00
Vijay Pai
5bd6f2e190
Merge branch 'master' into bbuf
2016-01-11 10:33:39 -08:00
Vijay Pai
78268212ba
clang-format
2016-01-11 09:55:02 -08:00
Vijay Pai
af2e1cf080
Fix bugs and include build files
2016-01-11 09:54:23 -08:00
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
vjpai
fba20c987d
Address some review comments about signal and restoring qps_test_with_poll
...
Make payloads respect the new defaults
2015-11-04 14:49:17 -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
72a6332138
QPS worker no longer needs to specify server port on command line. This is part
...
of the proto if desired, or just goes to pick_unused_port_or_die if not
specified
2015-10-29 02:23:11 -07: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