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>
2023-01-11 08:50:32 -08:00
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
2022-12-22 23:01:53 -08:00
Esun Kim
f3fedae7c8
Added readability-redundant-string-cstr ( #31707 )
...
* Added readability-redundant-string-cstr
* Auto fix
* No need to wrap std::string
2022-11-18 17:12:46 -08:00
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
2022-11-11 16:44:37 -08:00
Craig Tiller
9c98d67d7a
[c++14] absl::make_unique --> std::make_unique ( #31159 )
...
* [c++14] absl::make_unique --> std::make_unique
* fix
* fix
2022-09-29 06:45:17 -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
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