AJ Heller
785d6b656a
Add logging for invalid client PayloadConfig in QPS test ( #30261 )
...
* Add invalid PayloadConfig logging to QPS test
* flip conditions
2022-07-19 12:18:02 -07:00
Austin Schuh
d30404868f
ARM and -Wextra fixups ( #19141 )
...
* Make generated code compile with -Wunused-parameters
-Wunused-parameters is turned on by -Werror -Wextra. gRPC code
generation creates header files with unused parameters. So let's modify
the generator to not generate code which will make -Wunused-parameters
unhappy.
* Fix unsigned vs signed comparisons and 32 bit string formats
Fix unsigned vs signed comparison warnings.
For 64 bit numbers printed in gRPC, the string formats assume that you
are running on a 64 bit machine. Use inttypes.h to make it portable.
Also, use size_t format strings for the same reason.
* Fix unaligned memory access
cost_entry_ptr has no alignment guarentees that ubsan can find. So it
fails the test with an alignment problem. Use memcopy to read the data
from the pointer to fix this.
* Fix undefined behavior with memcpy and memcmp
Passing in a 0 length piece of data and a null pointer is undefined
behavior. If the length is 0, don't pass it in. This fixes ubsan
failures.
* Clang-format
* Automated change: Fix sanity tests
2021-09-27 04:54:05 -07:00
Craig Tiller
ea389c00c2
Adjust include order per style guide ( #27175 )
...
Introduce clang-format configuration to sort includes closer to our rules.
2021-09-08 12:14:44 -07:00
Esun Kim
2ff84ed8c2
C++ cast for void*
2020-11-30 17:29:15 -08:00
Esun Kim
ac080fd17a
Fix readability-inconsistent-declaration-parameter-name manually
2020-11-30 14:22:40 -08:00
Esun Kim
84df61b31a
Merge pull request #24453 from veblush/tidy-modernize-make-unique
...
[Clang-Tidy] Enable modernize-make-unique
2020-10-16 16:35:08 -07:00
Esun Kim
e7434d385e
Fix by tidy-modernize-use-override
2020-10-16 14:01:06 -07:00
Esun Kim
6ae8463500
Fix by modernize-make-unique
2020-10-16 13:30:56 -07:00
Esun Kim
a51fe3e675
Fix abseil-* clang-tidy errors
2020-10-16 09:39:41 -07:00
Esun Kim
c08f33c437
Fix clang-tidy errors
2020-10-15 16:07:25 -07:00
Esun Kim
165ee5007a
Replaced grpc::string with std::string
2020-06-29 17:56:36 -07:00
Vijay Pai
e35c869aaf
Remove unused-parameter warnings, round 2 (19 of 19)
2019-10-21 09:16:35 -07:00
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