Commit Graph

593 Commits

Author SHA1 Message Date
Yash Tibrewal adc733f024 Make linux polling engines capable of tracking errors separately with
backward compatibility.
2018-04-20 14:55:07 -07:00
Vijay Pai cdddc8ce42 Desneak client unary call, avoid Hyrum's Law (used for 1-thread simplicity) 2018-03-20 08:46:28 -07:00
Vijay Pai 2c6aee9cf7
Merge pull request #14591 from vjpai/framesize
Build with stack frame size limits
2018-03-12 14:21:10 -07:00
Mark D. Roth 41c396ec88
Merge pull request #14607 from markdroth/c++_byte_stream
Convert byte_stream API to C++.
2018-03-12 11:05:36 -07:00
Mark D. Roth 3d8b32d8b3 Convert byte_stream API to C++. 2018-03-09 13:25:40 -08:00
Vijay Pai c90a85649b Change grpc++ references in names to grpcpp 2018-03-08 22:04:59 -08:00
Vijay Pai 2f4161c210 Use stack frame size limits for consistency with internal builds 2018-03-05 16:43:32 -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
Vijay Pai 239b7d4b0b Merge branch 'master' into gpr_review 2018-02-08 11:08:41 -08:00
Sree Kuchibhotla 3293da3ca3 Change the Fixture shutdown code so that the server fds are still polled
(to flush out any writes) when the server is shutdown.
2018-02-06 23:45:15 -08:00
Vijay Pai d4d0a30c6f Privatize useful.h and avl.h 2018-02-02 09:16:44 -08:00
Jan Tattermusch 889bb7fde4 calling create in default param is against code style 2018-01-31 23:21:41 +01:00
Jan Tattermusch 18f27376c5 avoid touching stats_ instance field before base constructor 2018-01-31 22:35:17 +01:00
Jan Tattermusch 12ba4b1e05 make grpc_passthru_endpoint_stats refcounted 2018-01-30 19:24:56 +01:00
Mark D. Roth dbdf495f61 Split lib/support into lib/gpr and lib/gpr++. 2018-01-18 11:21:12 -08:00
Yash Tibrewal 8cf1470a51
Revert "Revert "All instances of exec_ctx being passed around in src/core removed"" 2017-12-06 09:47:54 -08:00
Yash Tibrewal ad4d2dde00
Revert "All instances of exec_ctx being passed around in src/core removed" 2017-12-06 09:05:05 -08:00
Yash Tibrewal 73bb67d054 Merge master into execctx 2017-12-05 17:49:11 -08:00
Mark D. Roth e109ddf89f Merge remote-tracking branch 'upstream/master' into server_connection_timeout 2017-12-01 08:56:25 -08:00
Yash Tibrewal 36522e9f80 Merge master after no Extern C changes 2017-11-30 17:47:36 -08:00
Yash Tibrewal c354269ba7 Remove _ prefixed variable names 2017-11-29 19:07:44 -08:00
Mark D. Roth 5491eb7c5b Merge remote-tracking branch 'upstream/master' into server_connection_timeout 2017-11-27 10:17:44 -08:00
Mark D. Roth aaad0c2e5a clang-format 2017-11-27 08:31:50 -08:00
Yash Tibrewal eaf67dbdf6 Fixing errors and minor bugs 2017-11-22 16:59:56 -08:00
Yash Tibrewal 7486144de0 Merge master 2017-11-21 16:52:06 -08:00
ncteisen e8bb8749ed Merge branch 'master' of https://github.com/grpc/grpc into no-more-extern-c 2017-11-21 16:22:00 -05:00
ncteisen 6dc1097c5e Fix test cert build 2017-11-20 12:41:13 -05:00
Yash Tibrewal 177039b2f8 Merge master 2017-11-16 19:31:28 -08:00
ncteisen 3039b37a0e Fix bad merge 2017-11-15 18:24:05 -08:00
ncteisen df817f3e1a Merge branch 'master' of https://github.com/grpc/grpc into surfacing-error-details 2017-11-15 16:48:19 -08:00
Mark D. Roth 03610f672e Merge remote-tracking branch 'upstream/master' into server_connection_timeout 2017-11-15 12:54:28 -08:00
Yash Tibrewal 6c26b16fe0 Move ExecCtx to grpc_core namespace. Make exec_ctx a private static in ExecCtx and some minor changes 2017-11-14 18:11:22 -08:00
Yash Tibrewal 75122c2357 Address some PR comments 2017-11-14 01:36:28 -08:00
ncteisen 1037216ca1 Merge branch 'master' of https://github.com/grpc/grpc into surfacing-error-details 2017-11-13 08:04:23 -08:00
ncteisen 40737d67ee Add error string to recv status API 2017-11-13 08:02:35 -08:00
Craig Tiller be98d24841 clang-format after nullptr changes 2017-11-10 15:26:57 -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
Yash Tibrewal 0032548674 Correction to closure.cc,bm_chttp2_hpack and few more 2017-11-10 10:48:15 -08:00
Yash Tibrewal 3150744c71 Removing more exec_ctx instances 2017-11-09 18:27:37 -08:00
Yash Tibrewal 4e9265c828 Merge with master 2017-11-09 17:46:29 -08:00
Mark D. Roth 04c97d0e0d Add notify_on_receive_settings closure to chttp2 transport. 2017-11-09 09:14:14 -08:00
Mark D. Roth bcfd0f38fc Bool-ify is_client param. 2017-11-09 08:04:47 -08:00
Yash Tibrewal 5e42211e7f Merge branch 'master' into testc++ize 2017-11-06 18:40:52 -08:00
Noah Eisen 74e7bd7d16
Merge pull request #13244 from ncteisen/streaming-ping-pong
Revert "Revert "Fix benchmark crash""
2017-11-06 14:58:14 -08:00
Yash Tibrewal 40422d5fa6 Merge master 2017-11-06 14:43:31 -08:00
ncteisen e8b09eee58 Fix deadlock 2017-11-03 16:17:55 -07:00
Craig Tiller baa14a975e Update clang-format to 5.0 2017-11-03 09:09:36 -07:00
ncteisen b669ff34eb Revert "Revert "Fix benchmark crash""
This reverts commit ac5522bef7.
2017-11-02 15:14:04 -07:00
Noah Eisen ac5522bef7
Revert "Fix benchmark crash" 2017-11-02 13:17:02 -07:00
Yash Tibrewal aae4ca01a3 Merge master 2017-11-02 11:19:16 -07:00
Craig Tiller 66b740a8c6
Merge pull request #13053 from ctiller/fcfix
Fix benchmark crash
2017-11-01 15:22:06 -07:00
Yash Tibrewal 888691344e Merge branch 'master' into testc++ize 2017-10-31 11:24:36 -07:00
Vijay Pai 8afaf61fea
Merge pull request #13192 from vjpai/spp
Fix a data race in microbenchmark stats gathering
2017-10-30 21:54:23 -07:00
Yash Tibrewal 268685bcbd Merge branch 'master' into testc++ize 2017-10-30 16:28:56 -07:00
Vijay Pai f92b530068 Fix a data race in microbenchmark stats gathering 2017-10-30 15:10:56 -07:00
Vijay Pai cb36615ddd GPR_ATTRIBUTE_NO_TSAN doesn't reach through function calls, so use a friend 2017-10-30 13:31:07 -07:00
kpayson64 555b84506e
Merge pull request #12870 from kpayson64/call_bm_diff
Add call size bm diff
2017-10-27 16:28:52 -07:00
Ken Payson 667aa2b990 Add call size bm_diff 2017-10-27 14:33:17 -07:00
Vijay Pai 06e174a088 Separate public and internal C++ interfaces 2017-10-26 14:28:26 -07:00
Yash Tibrewal 39aed1ae8b Remove unnecessary extern Cs 2017-10-25 17:04:35 -07:00
Yuchen Zeng c01c7cbd85 Merge pull request #12219 from y-zeng/http2_connector
Add the endpoint used by the handshake process to connector's pollset_set
2017-10-24 11:54:29 -07:00
ncteisen c296e82e11 clang fmt 2017-10-24 08:58:14 -07:00
ncteisen 9e3eedb6af Remove old header benchmark 2017-10-24 08:33:00 -07:00
ncteisen 6bf4bcef04 Fix bm_diff 2017-10-23 22:19:01 -07:00
Yuchen Zeng 6a0874b405 Fix bm_chttp2_transport 2017-10-23 20:47:53 -07:00
yang-g 83085aa74f Add a microbm, seeing 195ns with current impl and 162ns with new impl 2017-10-19 16:11:06 -07:00
Yash Tibrewal 0ee7574732 Removing instances of exec_ctx being passed around in functions in
src/core. exec_ctx is now a thread_local pointer of type ExecCtx instead of
grpc_exec_ctx which is initialized whenever ExecCtx is instantiated. ExecCtx
also keeps track of the previous exec_ctx so that nesting of exec_ctx is
allowed. This means that there is only one exec_ctx being used at any
time. Also, grpc_exec_ctx_finish is called in the destructor of the
object, and the previous exec_ctx is restored to avoid breaking current
functionality. The code still explicitly calls grpc_exec_ctx_finish
because removing all such instances causes the code to break.
2017-10-18 17:12:19 -07:00
Craig Tiller 25b037fe9d Fix benchmark crash 2017-10-18 14:03:08 -07:00
Craig Tiller f83b6ce151 Fix compilation 2017-10-18 13:02:44 -07:00
Craig Tiller 09247ac453 Merge branch 'pid++' into flow++ 2017-10-18 12:00:37 -07:00
yang-g c010d1d18a Update benchmark according to new encoding method 2017-10-16 17:57:46 -07:00
yang-g c94c7cc5b5 restore existing fixtures 2017-10-16 17:57:46 -07:00
yang-g 377636f4d2 Make hpack micro bm more representative 2017-10-16 17:57:46 -07:00
Craig Tiller 3273648a87 flow control fixes 2017-10-12 22:02:28 -07:00
Craig Tiller 2145d2cee4 clang-format 2017-10-12 15:51:47 -07:00
Craig Tiller 4048569477 Fix compilation 2017-10-11 08:29:42 -07:00
Craig Tiller 99fafa17a3 Fix compilation 2017-10-11 08:26:32 -07:00
Craig Tiller 710334577c Fix sanity 2017-09-22 07:47:15 -07:00
Craig Tiller f7225eb5f6 Fix some stalling in bm_fullstack_trickle, also switch to synthetic time 2017-09-21 14:59:28 -07:00
Craig Tiller 6a34067d16 Merge github.com:grpc/grpc into grpc_millis 2017-09-19 12:44:15 -07:00
Craig Tiller 50448beab3 Merge github.com:grpc/grpc into grpc_millis 2017-09-18 13:56:51 -07:00
Craig Tiller adbcec4f57 Merge github.com:grpc/grpc into pollset_kick_stats 2017-09-18 08:57:19 -07:00
Alok Kumar 6b84005651 Add independent library targets for newly added .h files for microbenchmarks. Also fix includes in fullstack_fixtures.h 2017-09-13 13:34:45 -07:00
Craig Tiller 8e87c74fe9 Fix compilation for C++ 2017-09-11 14:06:09 -07:00
Craig Tiller bbe282f600 Merge github.com:grpc/grpc into grpc_millis 2017-09-11 12:11:40 -07:00
Craig Tiller ed26a49b2c Add annotation 2017-09-10 20:59:11 -07:00
Craig Tiller 55863ff527 Merge github.com:grpc/grpc into write_completion 2017-09-08 14:39:15 -07:00
Craig Tiller fabb513fe4 Merge 2017-09-08 11:45:11 -07:00
David G. Quintas 11b4ddde59 Merge pull request #12200 from dgquintas/rename_lr_to_plugin
Renamed load_reporting.{c,h} to load_reporting_plugin.{c,h}
2017-09-08 10:22:08 -07:00
kumaralokgithub bf3b8445fe Merge pull request #12402 from kumaralokgithub/master
Partition microbenchmarks to be easily shareable with google specific transports
2017-09-07 18:33:10 -07:00
David Garcia Quintas 1faa48ead3 Merge branch 'master' of github.com:grpc/grpc into rename_lr_to_plugin 2017-09-07 15:29:03 -07:00
Craig Tiller 38b15c8ca3 Merge branch 'write_completion' into write_completion_stats 2017-09-07 14:48:52 -07:00
Craig Tiller dfc6cffdf8 Merge github.com:grpc/grpc into write_completion 2017-09-07 14:48:40 -07:00
Craig Tiller 9e3af382fb Merge github.com:grpc/grpc into stats_histo 2017-09-07 14:47:55 -07:00
Craig Tiller 022ad3ae89 Merge branch 'stats_histo' into write_completion_stats 2017-09-07 13:01:56 -07:00
Craig Tiller c1453ca8c2 Revert "Annotate benign race"
This reverts commit 6869da4d65.
2017-09-07 10:19:43 -07:00
Alok Kumar c2ec4d6ea9 Merge remote-tracking branch 'upstream/master' 2017-09-06 21:25:47 -07:00
David Garcia Quintas 0822d331df s/load_reporting/server_load_reporting 2017-09-06 18:18:48 -07:00
Alok Kumar 1b6f4fc79f Clang format modified files 2017-09-06 17:15:04 -07:00
Alok Kumar dd9916d364 Fix microbenchmarks BUILD file 2017-09-06 17:15:04 -07:00
Alok Kumar e0399c29c5 Partition microbenchmarks to be easily sharable for google specific transports 2017-09-06 17:14:38 -07:00
Craig Tiller 6869da4d65 Annotate benign race 2017-09-06 09:49:02 -07:00
Craig Tiller b675e0a0af Annotate benign race 2017-09-06 09:22:39 -07:00
Craig Tiller ee090ec975 Merge github.com:grpc/grpc into wc 2017-09-01 10:30:11 -07:00
Craig Tiller 6ba448fb55 Merge github.com:grpc/grpc into write_completion 2017-09-01 10:09:30 -07:00
Mark D. Roth 764cf04a13 Revert "Revert "Implement call combiner""
This reverts commit bf19961d0a.
2017-09-01 09:00:06 -07:00
Craig Tiller 890f542498 Merge branch 'stats' into stats_histo 2017-08-31 12:24:15 -07:00
Craig Tiller ccad38227f Merge github.com:grpc/grpc into stats 2017-08-31 12:23:53 -07:00
Craig Tiller 5489d41c15 Expose histograms via microbenchmarks 2017-08-31 12:20:04 -07:00
Craig Tiller 8fd40d5ed9 Merge github.com:grpc/grpc into wc 2017-08-31 10:54:11 -07:00
Nicolas "Pixel" Noble 90df76b463 Merge branch 'master' of https://github.com/grpc/grpc into visibility 2017-08-30 23:13:25 +02:00
Nicolas "Pixel" Noble 2bc5e3ac40 Moving visibility and package creation to the build system. 2017-08-30 19:18:37 +02:00
Mark D. Roth bf19961d0a Revert "Implement call combiner" 2017-08-29 16:59:07 -07:00
Craig Tiller 03c908fc9e Merge github.com:grpc/grpc into stats 2017-08-29 12:34:10 -07:00
Craig Tiller d9b82bdecb Merge github.com:grpc/grpc into grpc_millis 2017-08-29 12:16:56 -07:00
Mark D. Roth ff4f2db4b9 Merge pull request #11566 from markdroth/call_combiner
Implement call combiner
2017-08-25 09:05:04 -07:00
Mark D. Roth 76e264b8df Implement call combiner. 2017-08-25 09:03:33 -07:00
ncteisen c302eb9840 Microbenchmarks work with bazel 2017-08-22 12:24:54 -07:00
Vijay Pai 81522c8ebe Add unsecure libraries to bazel build targets 2017-08-02 19:44:32 -07:00
ncteisen ab04027e47 Merge branch 'master' of https://github.com/grpc/grpc into flow-control-v3 2017-08-01 10:58:29 -07:00
ncteisen fb193a1e2f Merge branch 'master' of https://github.com/grpc/grpc into flow-control-v3 2017-07-28 15:47:32 -07:00
yang-g 7d6b914f98 Change return type to bool 2017-07-28 12:49:40 -07:00
yang-g 0eaf7debd2 Allow adding events to cq after shutdown is called. 2017-07-28 12:49:40 -07:00
Vijay Pai 6abd20020b Revert "Separate internal-only and public parts of C++ API" 2017-07-25 00:43:30 -07:00
Craig Tiller 4c0ac4a9f5 Fix fix fix chttp2_transport 2017-07-21 10:38:18 -07:00
Craig Tiller cbb384007e Fix bm_chttp2_transport 2017-07-21 09:52:25 -07:00
Craig Tiller b4bb1cdce4 Add counters, fix race 2017-07-20 14:18:17 -07:00
Craig Tiller b89304652b Build simplification 2017-07-19 16:24:19 -07:00
Craig Tiller 89c1428a60 Propagate grpc_millis further 2017-07-19 15:32:27 -07:00
ncteisen 3c909d55fd Pull out flow control objects 2017-07-18 17:06:58 -07:00
ncteisen 06f052b35d Get rid of local window, fix qps worker 2017-07-18 17:06:58 -07:00
ncteisen 268a82398c Pull flow control into one module 2017-07-18 17:06:57 -07:00
Yuchen Zeng 9968c253cd Update bm_pollset with the fd_orphan change 2017-07-17 17:52:15 -07:00
Vijay Pai fd82a6cb4f Merge pull request #11145 from vjpai/inproc3
In-process transport
2017-07-15 20:05:26 -07:00
Vijay Pai 3d7d5f4ed2 Create inproc transport, add relevant tests, exclude irrelevant tests 2017-07-14 16:23:54 -07:00
Sree Kuchibhotla a69878a217 fix memory leaks due to not calling grpc_shutdown in bm_cq_multiple_threads 2017-07-14 11:29:28 -07:00
Nicolas Noble 9877189e45 Merge pull request #11310 from nicolasnoble/import
Import mutations.
2017-07-13 13:39:58 -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
murgatroid99 882ba60fcb Merge remote-tracking branch 'upstream/v1.4.x' into master_1.4.1_upmerge 2017-07-06 10:15:11 -07:00
ncteisen 131d2f19a1 Few more bm trickle fixes 2017-06-26 23:45:16 -07:00
ncteisen 0911b1612a Fix bm_diff 2017-06-26 22:54:28 -07:00
Nicolas "Pixel" Noble 5d80dc4985 Merge branch 'master' of https://github.com/grpc/grpc into import 2017-06-26 22:01:11 +02:00
Mark D. Roth bd3b93b4b5 Add support for Trailers-Only responses.
- When receiving a Trailers-Only response, return the metadata as
  trailing metadata instead of initial metadata.
- Send Trailers-Only response when we have no non-default initial metadata,
  no message to send, and trailing metadata to send.
2017-06-22 10:53:01 -07:00
ncteisen 274bbbe6a0 Add rich closure debug mode 2017-06-08 15:29:29 -07:00
Craig Tiller b3899fd18b Merge github.com:grpc/grpc into ALL-the-things 2017-06-08 07:54:10 -07:00
Jan Tattermusch 4d5c3102a1 fix remaining license notices 2017-06-08 11:22:41 +02:00
Jan Tattermusch 7897ae9308 auto-fix most of licenses 2017-06-08 11:22:41 +02:00
Craig Tiller dfd7a4dc0d Merge github.com:grpc/grpc into ALL-the-things 2017-06-07 12:22:41 -07:00
ncteisen e9dea378c5 Pare down args once more 2017-06-06 17:02:38 -07:00