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
Yash Tibrewal
a1598c5abf
Create interfaces and initial plumbing for interception API
2018-09-26 19:25:30 -07:00
Juanli Shen
f5f1d57d7a
Add load reporting filter
2018-06-22 10:00:48 -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
Mark D. Roth
0159026111
Revert "Second attempt: move recv_trailing_metadata into its own callback, don't use on_complete for recv_ops"
2018-06-13 14:49:25 -07:00
Mark D. Roth
9846826b51
Revert "Revert "move recv_trailing_metadata into its own callback, don't use on_complete for recv_ops""
...
This reverts commit f371513445 .
2018-06-11 11:11:05 -07:00
Mark D. Roth
f371513445
Revert "move recv_trailing_metadata into its own callback, don't use on_complete for recv_ops"
2018-06-08 14:22:12 -07:00
Mark D. Roth
8ae0ff0af2
Move recv_trailing_metadata into its own callback. Don't use
...
on_complete for recv_ops.
2018-06-08 08:37:23 -07:00
ncteisen
40ec89ff67
Support microbenchmarks internally
2018-04-25 17:41:23 -07:00
Vijay Pai
c90a85649b
Change grpc++ references in names to grpcpp
2018-03-08 22:04:59 -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
c354269ba7
Remove _ prefixed variable names
2017-11-29 19:07:44 -08:00
Yash Tibrewal
177039b2f8
Merge master
2017-11-16 19:31: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
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
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
Yash Tibrewal
40422d5fa6
Merge master
2017-11-06 14:43:31 -08:00
Craig Tiller
baa14a975e
Update clang-format to 5.0
2017-11-03 09:09:36 -07:00
Yash Tibrewal
39aed1ae8b
Remove unnecessary extern Cs
2017-10-25 17:04:35 -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
fabb513fe4
Merge
2017-09-08 11:45:11 -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
David Garcia Quintas
0822d331df
s/load_reporting/server_load_reporting
2017-09-06 18:18:48 -07:00
Mark D. Roth
764cf04a13
Revert "Revert "Implement call combiner""
...
This reverts commit bf19961d0a .
2017-09-01 09:00:06 -07:00
Mark D. Roth
bf19961d0a
Revert "Implement call combiner"
2017-08-29 16:59:07 -07:00
Craig Tiller
d9b82bdecb
Merge github.com:grpc/grpc into grpc_millis
2017-08-29 12:16:56 -07:00
Mark D. Roth
76e264b8df
Implement call combiner.
2017-08-25 09:03:33 -07:00
Craig Tiller
89c1428a60
Propagate grpc_millis further
2017-07-19 15:32:27 -07:00
ncteisen
274bbbe6a0
Add rich closure debug mode
2017-06-08 15:29:29 -07:00
Jan Tattermusch
7897ae9308
auto-fix most of licenses
2017-06-08 11:22:41 +02:00
Craig Tiller
7b622ab558
ubsan fix: dont deref past end of array
2017-05-10 07:58:41 -07:00
Craig Tiller
ee880fd373
Merge github.com:grpc/grpc into count_now
2017-04-21 15:43:27 -07:00
Craig Tiller
0bb25f325c
Build fix
2017-04-20 14:17:23 -07:00
lyuxuan
3fe0f6d851
Merge pull request #10622 from lyuxuan/cpp_overhead
...
profile cpp overhead for call create
2017-04-20 12:35:39 -07:00
Yuxuan Li
f2af0c3009
change to new completion queue api
2017-04-19 16:45:38 -07:00
Craig Tiller
2c6f63731c
Merge github.com:grpc/grpc into cpparena
2017-04-14 13:14:10 -07:00
Yuxuan Li
0bbdb022de
adding a benchmark for c core call create that do two separate batches.
2017-04-14 11:47:18 -07:00
Sree Kuchibhotla
b81fb794a3
Merge pull request #9972 from sreecha/cq_create_api_changes
...
Completion Queue creation API changes (C-Core and C++ only)
2017-04-14 07:59:18 -07:00
Yuxuan Li
784018d8a4
use grpc_channel_create_registered_call
2017-04-13 16:17:37 -07:00
Yuxuan Li
c7609c4f3f
profile cpp overhead for call create
2017-04-12 18:02:55 -07:00
Sree Kuchibhotla
a6ff103446
Merge branch 'master' into cq_create_api_changes
2017-04-06 13:09:17 -07:00
Craig Tiller
3bd7a2111e
Fixup code
2017-04-06 09:04:18 -07:00
Craig Tiller
a24b971214
Rename compress_filter --> message_compress_filter
2017-04-06 09:03:21 -07:00
Craig Tiller
41f46ab665
Merge github.com:grpc/grpc into cpparena
2017-04-05 14:05:38 -07:00
Craig Tiller
0357187b4e
Merge github.com:grpc/grpc into minimal_test
2017-04-05 12:24:25 -07:00
Craig Tiller
3aa7e1bd3b
Merge pull request #10469 from ctiller/xyz
...
Add profiling annotations
2017-04-05 12:09:08 -07:00
Craig Tiller
5de46568ce
Merge github.com:grpc/grpc into cpparena
2017-04-04 17:08:12 -07:00
Craig Tiller
5bdffab426
Add profiling annotations
2017-04-04 14:24:53 -07:00
Craig Tiller
29ebc57554
Merge branch 'minimal' into minimal_test
2017-04-04 08:00:55 -07:00
Craig Tiller
ad286c35da
Merge github.com:grpc/grpc into minimal
2017-04-04 07:58:50 -07:00
Craig Tiller
e3593d912b
Fix sanity
2017-04-03 14:51:02 -07:00
Craig Tiller
3be7dd0e79
Optionalize deadline checking
2017-04-03 14:30:03 -07:00
Craig Tiller
af76743e33
Optionalize compress, gather all the http2 filter bits together in ext/
2017-04-03 13:54:31 -07:00
Craig Tiller
9b3648a28e
Optionalize message_size_filter
2017-04-03 12:25:19 -07:00
Craig Tiller
9eb0fdec00
Reorganize ext tree
...
- filters live under filters
- lb_policy, resolver implementations (being part of client_channel) live under client_channel
2017-03-31 16:59:30 -07:00
Craig Tiller
a0f3abd925
Review feedback: bikeshedding round
2017-03-31 15:42:16 -07:00
Craig Tiller
dd36b15315
Call ref/unref, bugfixes
2017-03-31 08:27:28 -07:00
Sree Kuchibhotla
e04906dc54
Merge branch 'master' into cq_create_api_changes
2017-03-30 13:20:00 -07:00
Craig Tiller
75b6908748
Merge github.com:grpc/grpc into new_transport_op
2017-03-30 12:25:43 -07:00
Craig Tiller
57178eff19
fixes
2017-03-29 20:08:49 -07:00
Craig Tiller
b6090a697b
Merge github.com:grpc/grpc into new_transport_op
2017-03-28 10:13:07 -07:00
Nicolas "Pixel" Noble
8e0684b5d4
Merge branch 'master' of https://github.com/grpc/grpc into cpp_bazelness
2017-03-27 18:50:04 +02:00
Sree Kuchibhotla
6ac703d1fd
Fix after merge with master
2017-03-24 09:53:01 -07:00
Sree Kuchibhotla
7b81147cc9
Merge branch 'master' into cq_create_api_changes
2017-03-24 09:52:02 -07:00
Nicolas "Pixel" Noble
ddab452096
Merge branch 'master' of https://github.com/grpc/grpc into cpp_bazelness
2017-03-22 18:30:44 +01:00
Craig Tiller
b14ab80cd8
Fixes for new APIs
2017-03-22 08:53:39 -07:00
Sree Kuchibhotla
f2c32150ef
Update C++ code
2017-03-22 03:01:24 -07:00
Craig Tiller
31041c9e12
Merge github.com:grpc/grpc into call_cases
2017-03-21 15:16:14 -07:00
Sree Kuchibhotla
36c370793b
Merge branch 'master' into cq_create_api_changes
2017-03-21 10:28:40 -07:00
Craig Tiller
444c223c17
Merge github.com:grpc/grpc into new_transport_op
2017-03-20 09:36:17 -07:00
Craig Tiller
b7f35a658b
Expand benchmark coverage to isolated grpc_call scenarios against a dummy filter stack
2017-03-16 13:29:05 -07:00
Craig Tiller
5279370314
Fix compilation
2017-03-15 08:38:24 -07:00
Craig Tiller
e1523e95c1
Track calls to gpr_now()
2017-03-14 21:10:42 -07:00
Craig Tiller
fc830f2c09
Fix compilation
2017-03-14 09:32:21 -07:00
Craig Tiller
833adc2028
Merge pull request #10068 from ctiller/zalloc_bench
...
Track zalloc times in microbenchmark
2017-03-10 07:14:35 -08:00
Craig Tiller
af11581260
Merge github.com:grpc/grpc into cpp_bazelness
2017-03-09 15:09:34 -08:00
Craig Tiller
e667aaf9f9
clang-format
2017-03-09 08:12:21 -08:00
Craig Tiller
d720d5dd0a
Track zalloc times in microbenchmark
...
This forms our speed of light for call creation: at some point call
creation is dominated by zeroing memory and all we can do is reduce the
size of the call... let's track where that point is.
2017-03-09 08:10:17 -08:00
Sree Kuchibhotla
89da88c7b4
Merge branch 'master' into cq_create_api_changes
2017-03-08 14:45:23 -08:00
Craig Tiller
1ffda9f292
Merge branch 'fssplit' into bm_channel
2017-03-06 14:37:51 -08:00
Craig Tiller
111db946b7
Add a test of creating a call on a lame channel in C++
2017-03-06 14:36:17 -08:00
Sree Kuchibhotla
1dbd981cf8
Prefix grpc_cq_polling_type enums with GRPC_CQ_
2017-03-03 14:27:44 -08:00
Sree Kuchibhotla
2c7ab675c3
Merge branch 'master' into cq_create_api_changes
2017-03-03 10:57:07 -08:00
Craig Tiller
e4a2419597
Bugfixes
2017-03-03 08:53:52 -08:00
Craig Tiller
5e3215338f
Move helpers to a common place, use them everywhere
2017-03-03 08:50:25 -08:00
Sree Kuchibhotla
982a6f2b1c
C++ code changes in response to grpc_completion_queue_create() API change
2017-03-03 02:19:31 -08:00
Craig Tiller
2bfc3bcf8d
Add fixtures for call creation benchmarks
2017-03-01 07:54:20 -08:00
Craig Tiller
4d92a49fc0
Merge github.com:grpc/grpc into cpp_bazelness
2017-02-28 08:43:06 -08:00
Craig Tiller
bf515b6f7f
Merge github.com:grpc/grpc into cpp_bazelness
2017-02-24 16:23:50 -08:00
Craig Tiller
b82b3d0e52
Fixes for zalloc
2017-02-23 12:50:05 -08:00
Craig Tiller
385b00932c
Cleanup
2017-02-22 13:45:01 -08:00
Craig Tiller
2ec37e1bdb
Fix memory leak
2017-02-22 10:26:52 -08:00
Craig Tiller
1d77399656
Fix copyright
2017-02-21 16:36:51 -08:00
Craig Tiller
be42e1cb6a
Fix missing header
2017-02-16 09:25:23 -08:00
Craig Tiller
4f60fbf104
Add initial metadata benchmarks
2017-02-15 23:50:36 -08:00
Craig Tiller
3a04debe74
Add load reporting
2017-02-15 23:01:47 -08:00
Craig Tiller
c52ba3a03f
Hoist constant setting out of loop - and shave some ns from call creation
2017-02-15 22:57:43 -08:00
Craig Tiller
a25c9b4aa0
Call out no-filter case
2017-02-15 17:19:22 -08:00
Craig Tiller
4bba37c228
Add a no-filter stack for comparison
2017-02-15 17:16:44 -08:00
Craig Tiller
571b7fffb3
Add benchmarks for a good selection of filters
2017-02-15 17:10:53 -08:00
Craig Tiller
fd044b8b22
Call creation benchmark
2017-02-15 16:15:48 -08:00