Craig Tiller
c2ab8c99bb
Revert "Revert "[c++] Move environment functions to C++ ( #30937 )" ( #30986 )" ( #30988 )
...
This reverts commit 96264e07b8
.
2 years ago
Craig Tiller
96264e07b8
Revert "[c++] Move environment functions to C++ ( #30937 )" ( #30986 )
...
This reverts commit 74c0d6fe3f
.
2 years ago
Craig Tiller
74c0d6fe3f
[c++] Move environment functions to C++ ( #30937 )
...
* [gprpp] Move env to C++
* move headers/impl
* Automated change: Fix sanity tests
* fix
* fix
* Automated change: Fix sanity tests
* Update http_proxy.cc
* fix
* fix
* rename
* fix merge
* fix
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
AJ Heller
785d6b656a
Add logging for invalid client PayloadConfig in QPS test ( #30261 )
...
* Add invalid PayloadConfig logging to QPS test
* flip conditions
2 years ago
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
3 years ago
Craig Tiller
ea389c00c2
Adjust include order per style guide ( #27175 )
...
Introduce clang-format configuration to sort includes closer to our rules.
3 years ago
Esun Kim
2ff84ed8c2
C++ cast for void*
4 years ago
Esun Kim
ac080fd17a
Fix readability-inconsistent-declaration-parameter-name manually
4 years ago
Esun Kim
e7434d385e
Fix by tidy-modernize-use-override
4 years ago
Esun Kim
6ae8463500
Fix by modernize-make-unique
4 years ago
Esun Kim
a51fe3e675
Fix abseil-* clang-tidy errors
4 years ago
Esun Kim
c08f33c437
Fix clang-tidy errors
4 years ago
Esun Kim
165ee5007a
Replaced grpc::string with std::string
4 years ago
Vijay Pai
e35c869aaf
Remove unused-parameter warnings, round 2 (19 of 19)
5 years ago
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
6 years ago
Alexander Polcyn
50eaf46718
Refactor benchmark initial channel wait for ready to be single threaded
6 years ago
Moiz Haidry
e6e1081499
Add support for Callback Client Streaming benchmarks
6 years ago
Vijay Pai
432b34bf74
Initialize value before creating slice
6 years ago
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
6 years ago
Hope Casey-Allen
e360d82216
Clang tidy
6 years ago
Hope Casey-Allen
839a0520a2
Add an option to collect medians every epoch. Useful for gathering per second median latencies
6 years ago
Alexander Polcyn
a2160f547f
Wait a configurable amount of time for benchmark channels to become ready
6 years ago
Noah Eisen
373fc6dc40
Manual fixes to enable performance- clang tidy checks
7 years ago
kpayson64
7a20c962df
Break out qps services into seperate protos
7 years ago
Vijay Pai
c90a85649b
Change grpc++ references in names to grpcpp
7 years ago
Ken Payson
42bd87e376
Adds gRPC Experimental CQ DoThenAsyncNext lambda API
7 years ago
Yuchen Zeng
ca31256597
Remove redundant WaitForConnected
7 years ago
Vijay Pai
088112fea1
Create inproc version of QPS test and add a few simple tests of this to standard testing suite.
7 years ago
Craig Tiller
c18ad11837
Wait until all clients connected before starting streams
7 years ago
Craig Tiller
f6cd77c48d
Stability fixes
7 years ago
Craig Tiller
2897235609
Expose stats into qps_driver
7 years ago
Vijay Pai
6defb325d9
Remove some pre-C++11-style workarounds
7 years ago
Vijay Pai
c38955501b
Move some internal includes to the right places
7 years ago
Vijay Pai
0f95fa4909
Add idiomatic C++ API for grpc::Slice construction that doesn't
...
require using grpc_slice
7 years ago
Guantao Liu
abe3cf51f0
Add a new metric 'Queries/CPU-sec'.
...
Enable internal credential types.
7 years ago
Jan Tattermusch
7897ae9308
auto-fix most of licenses
8 years ago
Yuxuan Li
8698f2bbee
fix extern c location
8 years ago
Yuxuan Li
87827e03aa
use lock instand of atomics, fix include position
8 years ago
Yuxuan Li
f8365cd87b
clean up, fix minor issue
8 years ago
Yuxuan Li
28efff3e1e
clang-format
8 years ago
Yuxuan Li
999ac157e6
initial implementation.
8 years ago
Vijay Pai
eea8cf0fe3
Add QPS tests for one-sided streaming
8 years ago
yang-g
d0084c220e
Include x.pb.h instead of x.grpc.pb.h for message-only protos
8 years ago
Alexander Polcyn
6ff1ca4871
re-run generate project to build qps json driver
8 years ago
Alexander Polcyn
8a0ef63dea
remove LimitCores in c++ benchmark
8 years ago
Yuxuan Li
98c0bd7c82
add setting channel args functionality to performance tesing
...
setting channel args --draft
clang-format
8 years ago
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
8 years ago
Vijay Pai
c0b2acb1a0
Use C++11 final and override
8 years ago
Craig Tiller
d41a4a720f
s/gpr_slice/grpc_slice, and move around tests, impls
8 years ago
Craig Tiller
0895545a58
Complete reporting for failure rates
8 years ago