Tanvi Jagtap
154081a92a
[grpc][Gpr_To_Absl_Logging] Migrating from gpr to absl logging - gpr_log ( #36678 )
...
[grpc][Gpr_To_Absl_Logging] Migrating from gpr to absl logging - gpr_log
In this CL we are migrating from gRPCs own gpr logging mechanism to absl logging mechanism. The intention is to deprecate gpr_log in the future.
We have the following mapping
1. gpr_log(GPR_INFO,...) -> LOG(INFO)
2. gpr_log(GPR_ERROR,...) -> LOG(ERROR)
3. gpr_log(GPR_DEBUG,...) -> VLOG(2)
Reviewers need to check :
1. If the above mapping is correct.
2. The content of the log is as before.
gpr_log format strings did not use string_view or std::string . absl LOG accepts these. So there will be some elimination of string_view and std::string related conversions. This is expected.
Closes #36678
COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/36678 from tanvi-jagtap:test_cpp_gpr_log 81b8f4179f6111b902cbed9eb65ef6f41eb1e32d
PiperOrigin-RevId: 636410944
2024-05-22 21:59:06 -07: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
Yash Tibrewal
f4e55b85bc
Replace disrespectful term
2021-02-08 15:29:53 -08:00
Esun Kim
b3469c723e
Pre-assigned the server port and added more logs
2020-06-19 13:49:16 -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
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
Alex Polcyn
92e0a70ec6
Make QPS server builder customizeabled
2018-07-23 17:16:13 +00:00
Noah Eisen
58e0cbf9fb
Enable the 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
Vijay Pai
ae376bf9d9
Privatize host_port.h; was not used in any wrapped language implementation
2018-01-25 23:06:24 -08:00
Craig Tiller
4ac2b8e585
Enable clang-tidy as a sanity check, fix up all known failures
2017-11-10 14:14:17 -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
Vijay Pai
c0baec60a1
Internalize structs and methods meant for being exposed through codegen
...
or that interface with core and are only for internal use
2017-07-10 14:33:53 -07:00
Craig Tiller
873ee82277
Add channel args to qps server
2017-07-06 09:22:10 -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
24992060c8
Finish streams that error. Don't histogram failed ops.
...
Fail on failed write
2017-02-28 15:39:22 -08:00
Vijay Pai
c0b2acb1a0
Use C++11 final and override
2016-11-01 16:31:56 -07:00
Craig Tiller
8f67b647fd
Merge github.com:grpc/grpc into buffer_pools_for_realsies
2016-10-20 15:53:04 -07:00
Vijay Pai
d923583768
Minor cleanup - remove an unneeded header, mark a class final, explicitly specify parent class
2016-10-18 11:40:57 -07:00
Craig Tiller
20afa3d7c9
BufferPool --> ResourceQuota
2016-10-17 14:52:14 -07:00
Craig Tiller
0c80c7d12c
Collecting failure status progress
2016-09-28 16:30:55 -07:00
vjpai
711472f846
Remove unused gflags and gtest includes
2016-05-31 12:57:38 -07:00
Craig Tiller
6169d5f7b0
Update copyrights
2016-03-31 07:46:18 -07:00
Craig Tiller
732a875fe8
Add a sanity test for name aliasing
2016-02-22 15:59:19 -08:00
Vijay Pai
5919e81ff1
Remove host option from ServerConfig proto since it is error-prone and
...
may cause inter-language confusion.
2016-01-29 01:24:05 -08:00
Craig Tiller
1b4e33029e
Consolidate C++ proto files under src/proto
...
- make the directory structure match the package structure
- sanitize the package structure (test --> testing)
- add auto-detection of proto file dependencies
2015-12-17 16:35:00 -08:00
Jan Tattermusch
c5ebbd5b8f
use new perf proto options in c++
2015-11-18 17:17:34 -08:00
vjpai
fba20c987d
Address some review comments about signal and restoring qps_test_with_poll
...
Make payloads respect the new defaults
2015-11-04 14:49:17 -08:00
Vijay Pai
ce84670628
clang-format
2015-11-04 00:30:12 -08:00
vjpai
780a7f205d
Add in security support, make payload protos configurable
...
Have not yet added tests with security support, coming soon
2015-11-04 00:19:09 -08:00
vjpai
d08a738166
Cleanup some names
...
Remove some unused options and make server_threads relevant
Start stubbing out better qps/core calculations
2015-11-02 16:45:08 -08:00
vjpai
72a6332138
QPS worker no longer needs to specify server port on command line. This is part
...
of the proto if desired, or just goes to pick_unused_port_or_die if not
specified
2015-10-29 02:23:11 -07:00
vjpai
119c103ab0
Split up into a new service proto, use proper service suffix, add a
...
reset option to the mark, create a closed loop config params (empty
message) for consistency with other tests.
2015-10-29 01:21:04 -07:00
vjpai
754751e3c6
Numerous proto changes to make things more sane and fix some outstanding issues
2015-10-28 09:16:22 -07:00
vjpai
52bfb2564f
Split qpstest.proto into two parts - one for performance stats and
...
one for control.
Eliminate the use of our own SimpleRequest and SimpleResponse and
instead share the one from end2end testing
2015-10-21 07:50:49 -07:00
vjpai
0cc1341199
Move qpstest.proto to a common area (test/proto) instead of test/cpp/qps
2015-10-19 12:21:45 -07:00
Craig Tiller
71a0f9d3b0
Fix clang-format script
2015-09-28 17:22:01 -07:00
Craig Tiller
1ebb7c885e
Hand-written changes
2015-08-31 15:53:36 -07:00
Julien Boeuf
5be92a316d
Shuffling headers around.
2015-08-28 16:28:18 -07:00
yang-g
3e4bd9598b
merge with head
2015-08-24 15:54:07 -07:00
Vijay Pai
e8a7e30a75
Eliminate public thread-pool interface
2015-08-24 10:52:33 -07:00
yang-g
9e2f90cd06
headers reorg
2015-08-21 15:35:03 -07:00