Commit Graph

76 Commits

Author SHA1 Message Date
AJ Heller 4ba3fa52b9
Clean up some instances of -Wunreachable-code-aggressive (#27054)
See https://github.com/grpc/grpc/pull/26951 for why this is not enforced
at the moment.
2021-08-18 11:43:46 -07:00
Esun Kim 53ab235fb8 Fix google-explicit-constructor 2020-12-03 15:03:39 -08:00
Jan Tattermusch a6b5e5c73a make qps_worker --server_port behavior consistent with java 2020-11-04 15:42:11 +01:00
Esun Kim 6ae8463500 Fix by modernize-make-unique 2020-10-16 13:30:56 -07:00
Esun Kim 165ee5007a Replaced grpc::string with std::string 2020-06-29 17:56:36 -07:00
Esun Kim 2a3b1f0eb7 Revert log changes 2020-06-22 09:25:59 -07:00
Esun Kim b3469c723e Pre-assigned the server port and added more logs 2020-06-19 13:49:16 -07:00
Esun Kim d45f877dfb Add more logs and asswert to qps_worker 2020-05-19 11:37:26 -07:00
Mark D. Roth c769951764 Remove deprecated variant of JoinHostPort(). 2020-05-08 09:13:26 -07:00
Esun Kim e45b60d1fe Fix unique_ptr<char> memory allocation mismatch 2019-11-07 17:53:59 -08:00
Esun Kim b2b7fc9af8 Replaced grpc_core::UniquePtr with std::unique_ptr 2019-11-07 13:05:39 -08:00
Vijay Pai 296f63b0bc
Explicitly spell out type to document RAII-ness 2019-10-23 14:07:30 -07:00
Vijay Pai 37d248abd0 Remove unused parameter warning (19 of 20) 2019-10-17 08:52:10 -07:00
Soheil Hassas Yeganeh dbf88dd66f Revert "Revert "Introduce string_view and use it for gpr_split_host_port.""
This reverts commit 80c177d4c4.
2019-06-27 20:56:15 -04:00
Soheil Hassas Yeganeh 80c177d4c4
Revert "Introduce string_view and use it for gpr_split_host_port." 2019-06-26 16:22:13 -04:00
Soheil Hassas Yeganeh ef0f9bf7ec Introduce string_view and use it for gpr_split_host_port. 2019-06-20 23:19:34 -04:00
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