Mark D. Roth
0944410d6c
[reorg] move test/core/util -> test/core/test_util ( #36446 )
...
Closes #36446
COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/36446 from markdroth:reorg_test 5dcc85e006
PiperOrigin-RevId: 629229220
7 months ago
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
Esun Kim
f3fedae7c8
Added readability-redundant-string-cstr ( #31707 )
...
* Added readability-redundant-string-cstr
* Auto fix
* No need to wrap std::string
2 years ago
Esun Kim
250f9fc026
Revived google-readability-casting ( #31607 )
...
* Added google-readability-casting
* Fix
* Use brace init for constants
* more
* Fix
* Fix 2
* More fix
* Fixf
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
53ab235fb8
Fix google-explicit-constructor
4 years ago
Jan Tattermusch
a6b5e5c73a
make qps_worker --server_port behavior consistent with java
4 years ago
Esun Kim
6ae8463500
Fix by modernize-make-unique
4 years ago
Esun Kim
165ee5007a
Replaced grpc::string with std::string
4 years ago
Esun Kim
2a3b1f0eb7
Revert log changes
5 years ago
Esun Kim
b3469c723e
Pre-assigned the server port and added more logs
5 years ago
Esun Kim
d45f877dfb
Add more logs and asswert to qps_worker
5 years ago
Mark D. Roth
c769951764
Remove deprecated variant of JoinHostPort().
5 years ago
Esun Kim
e45b60d1fe
Fix unique_ptr<char> memory allocation mismatch
5 years ago
Esun Kim
b2b7fc9af8
Replaced grpc_core::UniquePtr with std::unique_ptr
5 years ago
Vijay Pai
296f63b0bc
Explicitly spell out type to document RAII-ness
5 years ago
Vijay Pai
37d248abd0
Remove unused parameter warning (19 of 20)
5 years ago
Soheil Hassas Yeganeh
dbf88dd66f
Revert "Revert "Introduce string_view and use it for gpr_split_host_port.""
...
This reverts commit 80c177d4c4
.
6 years ago
Soheil Hassas Yeganeh
80c177d4c4
Revert "Introduce string_view and use it for gpr_split_host_port."
6 years ago
Soheil Hassas Yeganeh
ef0f9bf7ec
Introduce string_view and use it for gpr_split_host_port.
6 years ago
Moiz Haidry
1303ec7b53
Added benchmarks for Callback based Unary server
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
Alex Polcyn
92e0a70ec6
Make QPS server builder customizeabled
6 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
ae376bf9d9
Privatize host_port.h; was not used in any wrapped language implementation
7 years ago
Vijay Pai
195cf1ebfd
Move histogram to test/core/util
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
Guantao Liu
ac9fdfbc40
Removed unnecessary default values and fixed sanity.
8 years ago
Guantao Liu
abe3cf51f0
Add a new metric 'Queries/CPU-sec'.
...
Enable internal credential types.
8 years ago
Jan Tattermusch
7897ae9308
auto-fix most of licenses
8 years ago
Vijay Pai
eea8cf0fe3
Add QPS tests for one-sided streaming
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
77c7f9fd62
Merge pull request #7407 from ctiller/delayed-write
...
Benchmark fixes
9 years ago
Vijay Pai
5fde20d9f0
clang-format
9 years ago
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.
9 years ago
Vijay Pai
f782465fba
Fix some shutdown errors related to CQ/join ordering
9 years ago
vjpai
b0f15e8af3
Reduce assertions, use status codes, increase verbosity on errors
9 years ago
Craig Tiller
6169d5f7b0
Update copyrights
9 years ago
Craig Tiller
baaf65546a
Fix formatting
9 years ago
Craig Tiller
710d58cfae
Disable profiling in qps_worker for now
9 years ago
Vijay Pai
2ed337aab3
clang-format
9 years ago
Alistair Veitch
75d5c0f024
post merge
9 years ago
vjpai
21e5d2b2f1
Add a Quit RPC so that we can conveniently shut down the workers from the driver.
9 years ago
Vijay Pai
595674275b
Copyright and clang-format
9 years ago