Tanvi Jagtap
de9bdf7f8e
[grpc][Gpr_To_Absl_Logging] Migrating from gpr to absl logging GPR_ASSERT ( #36269 )
...
[grpc][Gpr_To_Absl_Logging] Migrating from gpr to absl logging GPR_ASSERT
Replacing GPR_ASSERT with absl CHECK
Will not be replacing CHECK with CHECK_EQ , CHECK_NE etc because there are too many callsites. Only a few - which fit into single - line regex will be changed. This would be small in number just to reduce the load later.
Replacing CHECK with CHECK_EQ , CHECK_NE etc could be done using Cider-V once these changes are submitted if we want to clean up later. Given that we have 5000+ instances of GPR_ASSERT to edit, Doing it manually is too much work for both the author and reviewer.
<!--
If you know who should review your pull request, please assign it to that
person, otherwise the pull request would get assigned randomly.
If your pull request is for a specific language, please add the appropriate
lang label.
-->
Closes #36269
COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/36269 from tanvi-jagtap:tjagtap_gpr_assert_qps 26dcf74e27
PiperOrigin-RevId: 623504407
8 months ago
Craig Tiller
67f364e23e
[cleanup] Eliminate usage of GRPC_ASSERT(false...); ( #31757 )
...
* crash function
* progress
* fix
* fix
* Automated change: Fix sanity tests
* fix
* fix
* fix
* fixes
* Automated change: Fix sanity tests
* fix
* Automated change: Fix sanity tests
* fix
* fix
* use cpp attr
* Automated change: Fix sanity tests
* fix
* fix
* fix
* fix
* fix
* fix
* add exclusion
* fix
* typo
* fix
* fmt
* Update tcp_socket_utils.cc
* Automated change: Fix sanity tests
* fix
* revert php changes
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Yijie Ma
f99b8b5bc4
Convert c-style comments to C++-style comments ( #31923 )
...
* baseline
* fix clang-tidy
* manually revert these files
* manually fixup at eof
* revert 2 more files
* change check_deprecated_grpc++.py
* change end2end_defs.include template
* fix check_include_guards.py
* untrack tools/distrib/python/convert_cstyle_comments_to_cpp.py
not yet ready to be submitted
* fix
yapf check_include_guards.py
remove a space...
* fix version.cc.template
* fix version_info.h.template
2 years ago
Craig Tiller
9c98d67d7a
[c++14] absl::make_unique --> std::make_unique ( #31159 )
...
* [c++14] absl::make_unique --> std::make_unique
* fix
* fix
2 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
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.
3 years ago
Esun Kim
377fe6095a
Upgrade clang-tidy and clang-format to 11 ( #25590 )
...
* Upgrade clang-tidy and clang-format to 11
* Reformat code
* Fix abseil-string-find-str-contains
* Fix modernize-make-unique
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
165ee5007a
Replaced grpc::string with std::string
5 years ago
Esun Kim
415d41f9e8
Rerun clang-formatter-7
5 years ago
Vijay Pai
ece1ed7906
clang-format
5 years ago
Vijay Pai
37d248abd0
Remove unused parameter warning (19 of 20)
5 years ago
yuangongji
e8bece9c71
some typo errors too.
6 years ago
Noah Eisen
373fc6dc40
Manual fixes to enable performance- clang tidy checks
7 years ago
Noah Eisen
58e0cbf9fb
Enable the 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
Vijay Pai
7fed69b7ad
Use static_cast rather than reinterpret_cast whenever possible
7 years ago
yang-g
ea33017540
Add option to use client side coalescing API in qps test
7 years ago
Ken Payson
8873975a30
Fix Async QPS Test
7 years ago
Muxi Yan
38fcd0c6c3
clang-format
7 years ago
Ken Payson
7cf8d72c25
Fix TSAN json_run_localhost flake
7 years ago
Craig Tiller
baa14a975e
Update clang-format to 5.0
7 years ago
Ken Payson
918ce7a686
Fix QPS Async Client Next loop
7 years ago
Ken Payson
42bd87e376
Adds gRPC Experimental CQ DoThenAsyncNext lambda API
7 years ago
Craig Tiller
c18ad11837
Wait until all clients connected before starting streams
7 years ago
Vijay Pai
43b55221e4
Cancel outstanding streams when shutting down the client
7 years ago
Vijay Pai
4b047a3bff
Construction of streams shouldn't require triggering async ops
7 years ago
Vijay Pai
58c33ba19b
Decouple alarm construction from setting to avoid races in MT code
7 years ago
Vijay Pai
c38955501b
Move some internal includes to the right places
7 years ago
ncteisen
af313caab8
Eliminate copy in QPS Driver
7 years ago
Jan Tattermusch
7897ae9308
auto-fix most of licenses
8 years ago
Vijay Pai
4b07aab513
Support multiple threads per cq sharing, add tests
8 years ago
Yuxuan Li
85d3a53905
change gpr_atm to int
8 years ago
Yuxuan Li
87827e03aa
use lock instand of atomics, fix include position
8 years ago
Yuxuan Li
bfb495d026
add override to GetPollCount() function
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
Craig Tiller
c3571791a5
Isolate timer checking in its own thread
8 years ago
Vijay Pai
eea8cf0fe3
Add QPS tests for one-sided streaming
8 years ago
Vijay Pai
45a9abae95
Add option to limit # of messages per stream with tests
8 years ago
Vijay Pai
24992060c8
Finish streams that error. Don't histogram failed ops.
...
Fail on failed write
8 years ago
Vijay Pai
c01958bf55
Cleanup unneeded namespace
8 years ago
Vijay Pai
713c7b87e1
clang-format
8 years ago
Vijay Pai
c0b2acb1a0
Use C++11 final and override
8 years ago
Craig Tiller
624f4ba76d
Add missing delete
8 years ago
Craig Tiller
032f9bfb58
Start to log errors from benchmark
8 years ago