Commit Graph

57 Commits

Author SHA1 Message Date
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
Craig Tiller 20d1efc38a
[stats] Move core stats to C++ (#30936)
* begin c++

* Automated change: Fix sanity tests

* progress

* progress

* missing-files

* Automated change: Fix sanity tests

* moved-from-stats

* remove old benchmark cruft, get tests compiling

* iwyu

* Automated change: Fix sanity tests

* fix

* fix

* fixes

* fixes

* add needed constructor

* Automated change: Fix sanity tests

* iwyu

* fix

* fix?

* fix

* fix

* Remove ResetDefaultEventEngine

Now that it is a weak_ptr, there's no need to explicitly reset it. When
the tracked shared_ptr is deleted, the weak_ptr will fail to lock, and a
new default EventEngine will be created.

* forget existing engine with FactoryReset

* add visibility

* fix

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
Co-authored-by: AJ Heller <hork@google.com>
2022-10-09 21:22:08 -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
Yash Tibrewal f4e55b85bc Replace disrespectful term 2021-02-08 15:29:53 -08:00
Esun Kim 165ee5007a Replaced grpc::string with std::string 2020-06-29 17:56:36 -07:00
Vijay Pai 37d248abd0 Remove unused parameter warning (19 of 20) 2019-10-17 08:52:10 -07: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
Noah Eisen 4d20a66685 Run clang fmt 2018-02-09 09:34:04 -08:00
Noah Eisen be82e64b3d Autofix c casts to c++ casts 2018-02-09 09:16:55 -08:00
Craig Tiller 0ff222a23b Add pollset_kick stats 2017-09-01 09:41:43 -07:00
Craig Tiller 2897235609 Expose stats into qps_driver 2017-08-31 15:52:57 -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
Yuxuan Li 5d3ddeeea1 adding server side poll stat 2017-05-03 22:27:11 -07:00
Yuxuan Li 999ac157e6 initial implementation. 2017-05-03 21:36:36 -07:00
Alexander Polcyn 2018a4060d create a grpc client qps test logging reporter 2017-04-08 13:01:49 -07:00
Yuxuan Li d68ea95f30 fixing conflicts with new upstream master 2016-10-28 14:39:41 -07:00
Yuxuan Li 69c61319df change flags type, name according to the comments.
change binary search stride from 1 to FLAGS_precision
2016-10-06 17:00:48 -07:00
Yuxuan Li fe21ec90f6 batched changes 2016-10-06 15:05:29 -07:00
Craig Tiller 0895545a58 Complete reporting for failure rates 2016-09-29 11:01:14 -07:00
David Klempner e27d189f21 Factor out json seriailzation code and move it into parse_json.
This is for the same reasons as ParseJson, that is so that we can limit
the scope of the proto namespace differences between internal and
external.
2016-06-08 17:11:26 -07:00
Jan Tattermusch e9a8d89dc2 fix formatting 2016-04-15 15:38:17 -07:00
Jan Tattermusch 33c161dffa populate ScenarioResult.summary in JSON report 2016-04-15 14:53:54 -07:00
Jan Tattermusch 6321cec58e fix formatting 2016-04-14 20:00:29 -07:00
Jan Tattermusch 453442eefb fix formatting 2016-04-14 18:05:42 -07:00
Jan Tattermusch 969ffaf5c6 Enable JSON reports for qps drivers 2016-04-14 13:13:25 -07:00
Jan Tattermusch f2ba7fe037 integrate ScenarioResult proto into qps driver 2016-04-14 13:13:25 -07: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
Vijay Pai 3ae11042fd clang-format 2015-08-11 22:43:14 -07:00
vjpai b1db869e1a Address concerns from review 2015-08-11 22:41:02 -07:00
Vijay Pai 4d06e2eae9 Eliminate use of lambdas in ResourceUsage processing functions...
Introduce simple getters instead.
2015-07-31 10:20:42 -07:00
Siddharth Rakesh fd1a20a667 Changes introduced for passing hashed user id instead of access token 2015-06-30 16:38:32 -07:00
Siddharth Rakesh 872e8187c2 Adding required changes 2015-06-29 13:06:25 -07:00
Siddharth Rakesh 268e59063a Adding required changes 2015-06-29 12:20:43 -07:00
Siddharth Rakesh df77c580dc Added support for passing a tag with the test 2015-06-23 16:34:18 -07:00
Siddharth Rakesh 4364546668 Applied required modifications 2015-06-22 12:21:57 -07:00
Siddharth Rakesh f39e7c0a0f Merge branch 'master' of https://github.com/grpc/grpc 2015-06-22 11:36:30 -07:00
Siddharth Rakesh 373ad4d0d0 edited report 2015-06-22 11:36:17 -07:00
Siddharth Rakesh c3cd4780df minor commented code removal 2015-06-19 17:05:19 -07:00
David Garcia Quintas 96e12defaf Removed const-ness from Reporter interface methods 2015-06-18 23:14:47 -07:00
Siddharth Rakesh cc5857b624 Fixed hanging client declaration, server address can be passed now 2015-06-18 16:45:55 -07:00
sidrakesh93 e74a458813 Update report.cc 2015-06-18 11:22:06 -07:00
Siddharth Rakesh e2902dee31 commented 2015-06-17 15:01:43 -07:00
Siddharth Rakesh d0010ae439 added comments 2015-06-15 17:02:51 -07:00
Siddharth Rakesh f4dafb5654 updated configs sending 2015-06-10 15:10:35 -07:00
Siddharth Rakesh ef3ca1b3bf stable 2015-06-08 14:55:24 -07:00
Siddharth Rakesh 199ad685fd Merge branch 'master' of https://github.com/grpc/grpc into leaderboard 2015-06-08 13:45:44 -07:00
Siddharth Rakesh 39824335ea Newer version 2015-06-08 13:44:51 -07:00