Commit Graph

593 Commits

Author SHA1 Message Date
Guantao Liu 99673fcbe3
Merge pull request #17244 from guantaol/ev_epollbg
Preparation for the new background poller 'epollbg'
2018-11-28 15:37:28 -08:00
Yash Tibrewal 248e304671 Merge branch 'master' into httpplumbing 2018-11-21 11:48:41 -08:00
Guantao Liu 458d9d28db Add the missing definition of shutdown_background_closure to bm_cq_multiple_threads 2018-11-20 11:09:06 -08:00
Yash Tibrewal bab043e865 Cleanup 2018-11-16 18:11:42 -08:00
Yash Tibrewal a60fd359cb Modify remaining usecases in test/cpp 2018-11-16 11:42:31 -08:00
Soheil Hassas Yeganeh 48e4a81b05 Remeve memset(0) from arena allocated memory.
Callers are updated to properly initialize the memory.

This behavior can be overridden using GRPC_ARENA_INIT_STRATEGY
environment variable.
2018-11-05 10:12:39 -05:00
ncteisen 1a7f14fd31 Remove uneeded header 2018-10-18 14:00:09 -07:00
Soheil Hassas Yeganeh cc5fe63da0 Fix bazel for //test/cpp/microbenchmarks/...
Fix a build failure due to missed dependency and add the bm_create_call
benchmark to the build targets.
2018-10-17 16:27:59 -04:00
ncteisen f53e6884b6 Fix two build breakages 2018-10-04 22:05:27 -07:00
ncteisen e35f24da4d reviewer feedback 2018-10-04 15:25:49 -07:00
Yash Tibrewal 130eeeaeb9 Merge branch 'master' into interceptors_initial 2018-10-02 14:49:17 -07:00
Hope Casey-Allen d568fba51a Add documentation for running microbenchmarks with other tooling 2018-09-28 14:36:13 -07:00
Yash Tibrewal a1598c5abf Create interfaces and initial plumbing for interception API 2018-09-26 19:25:30 -07:00
Vijay Pai 9134639877 Warn on non-virtual destructor if class has virtual functions 2018-09-20 18:09:27 -07:00
hcaseyal 07308653a8
Merge pull request #16629 from hcaseyal/fix_hpack_microbenchmarks
Add benchmarks for on_initial_header
2018-09-20 14:56:50 -07:00
Hope Casey-Allen 4c6e7ce15d Destroy metadata buffer at end of benchmark loop 2018-09-20 12:56:56 -07:00
Hope Casey-Allen d44feec92f Reassign arena pointer instead of stomping on memory 2018-09-20 09:54:59 -07:00
Hope Casey-Allen 4b721fbde0 Destroy arena at end of benchmark to not leak memory 2018-09-19 20:51:45 -07:00
Hope Casey-Allen 29d9489ea9 Increase initial arena size to be more representative of real workload scenario and increase frequency of recreating the arena to avoid oom 2018-09-19 20:46:17 -07:00
Hope Casey-Allen 91727bd015 Move arena create outside of benchmark, format, and typo fix 2018-09-19 19:13:23 -07:00
Noah Eisen c33ec79cd8 Only output stats if they were collected 2018-09-17 15:15:05 -07:00
Hope Casey-Allen 967bbcd5d3 Fixing benchmark name and adding a new one 2018-09-13 18:38:01 -07:00
Yash Tibrewal 8d47cd4992
Revert "Revert "Fathom tcp changes"" 2018-08-27 14:56:01 -07:00
Jan Tattermusch 97ba943f17
Revert "Fathom tcp changes" 2018-08-27 12:43:20 +02:00
Yash Tibrewal aab47cbdf2
Merge pull request #15941 from yashykt/fathomtcpchanges
Fathom tcp changes
2018-08-24 12:27:56 -07:00
Vijay Pai a4326eb7b8 Add comment to address reviewer comment 2018-08-13 23:01:23 -07:00
Vijay Pai a0e92e7727 Add proper synchronization so that stats are setup and destroyed cleanly 2018-08-10 15:48:48 -07:00
Vijay Pai 9043a4f56d Some cleanup 2018-08-10 06:11:40 +00:00
Vijay Pai 17e3611c0d Infrastructure for adding custom polling engines 2018-08-09 12:39:30 -07:00
Yash Tibrewal f0397933b0 Fathom TCP level changes. TracedBuffer for keeping track of all buffers
to be traced. Adding tests for Fathom and TracedBuffer. A lot more.
Please read PR description.
2018-07-16 16:28:15 -07:00
Juanli Shen f5f1d57d7a Add load reporting filter 2018-06-22 10:00:48 -07:00
ncteisen 77472309d5 Add channel creation benchmark 2018-06-21 10:30:49 -07:00
Mark D. Roth 547bb5e66f
Merge pull request #15782 from markdroth/recv_trailing_metadata_ready3
Third attempt: move recv_trailing_metadata into its own callback, don't use on_complete for recv_ops
2018-06-19 07:40:31 -07:00
Jim King 01cbab60f3
Merge pull request #15070 from Vizerai/filter_port
Adding opencensus grpc plugin with bazel support.
2018-06-18 17:01:26 -07:00
adelez 5bdd9a8cb9
Revert "Revert "Add suppressions to sanitizers for bazel builds"" 2018-06-15 16:31:21 -07:00
Noah Eisen 58e0cbf9fb Enable the performance-* clang-tidy checks 2018-06-14 14:58:09 -04:00
Nicolas Noble 43557fee0b
Revert "Add suppressions to sanitizers for bazel builds" 2018-06-14 10:49:11 -07:00
Mark D. Roth 817d28fed6 Revert "Merge pull request #15746 from grpc/revert-15709-recv_trailing_metadata_ready2"
This reverts commit 3f9308ce1f, reversing
changes made to 92a0ae0b10.
2018-06-14 09:44:58 -07:00
Adele Zhou 4cd659505c Add data param to grpc_cc_library 2018-06-13 15:36:28 -07:00
apolcyn eb10abe94a
Merge pull request #15648 from apolcyn/remove_fd_shutdown_already_closed
Remove already_closed param from fd_orphan
2018-06-12 14:06:33 -07:00
Alexander Polcyn 4e8a2f5f27 Remove already_closed param from fd_orphan 2018-06-07 15:27:05 -07:00
Yash Tibrewal 905f0ca39e merge master 2018-05-31 19:47:30 -07:00
Vizerai e501a3d3fd Merge branch 'master' of https://github.com/Vizerai/grpc into filter_port 2018-05-29 10:45:32 -07:00
Vizerai 8cd49c528d update 2018-05-25 11:40:51 -07:00
Noah Eisen e8157e662c remove unnecessary blank line 2018-05-24 17:48:27 -07:00
Noah Eisen 39a6bb6c3e Fix asan closure bug 2018-05-24 17:07:25 -07:00
Vizerai 95393cf530 Fixed opencensus benchmark to be compliant with grpc benchmarks. 2018-05-10 13:26:23 -07:00
Noah Eisen b649422741
Merge pull request #15220 from ncteisen/microbenchmarks
Don't Use Benchmark Counters
2018-04-27 13:38:01 -07:00
ncteisen 771385789b Dont use benchmark counters 2018-04-27 10:53:16 -07:00
ncteisen 40ec89ff67 Support microbenchmarks internally 2018-04-25 17:41:23 -07:00
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