Commit Graph

941 Commits

Author SHA1 Message Date
Craig Tiller 0bb25f325c Build fix 2017-04-20 14:17:23 -07:00
Craig Tiller fe1a67c3d3 Merge github.com:grpc/grpc into trickle_stall 2017-04-20 12:39:26 -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
Craig Tiller 3df4584b9c Merge github.com:grpc/grpc into epex4 2017-04-20 19:24:41 +00:00
Yuxuan Li f2af0c3009 change to new completion queue api 2017-04-19 16:45:38 -07:00
Craig Tiller 3b72163042 Clamp warmup time in seconds 2017-04-19 14:47:27 -07:00
Craig Tiller 47f6dc732d more reasonable? 2017-04-19 14:42:22 -07:00
Craig Tiller 5088ef73eb Refine warmup 2017-04-19 14:39:11 -07:00
Craig Tiller 767397702e Tweak bdp estimation again 2017-04-19 14:11:40 -07:00
Craig Tiller 24e9fe7b92 Fix bazel 2017-04-19 08:24:54 -07:00
Craig Tiller fe59d93e40 more stats 2017-04-19 08:04:50 -07:00
Craig Tiller cc92eb42a4 Update to new API 2017-04-19 06:54:25 -07:00
Craig Tiller 40fde140f4 Add logging of flow control variables 2017-04-18 15:26:57 -07:00
Craig Tiller cac4e178fd Merge github.com:grpc/grpc into cpparena 2017-04-18 13:39:18 -07:00
Sree Kuchibhotla 7fa313624c Merge branch 'master' into cq_mpsc_based 2017-04-18 11:39:12 -07:00
Craig Tiller 79d24fb8eb Fixes 2017-04-17 19:35:19 +00:00
Craig Tiller 26ec8fba7a Merge github.com:grpc/grpc into epex4 2017-04-17 08:38:33 -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
Muxi Yan 3136568e36 Merge remote-tracking branch 'upstream/master' into revert-10619-revert-9626-lazy-deframe 2017-04-14 08:22:55 -07:00
Sree Kuchibhotla a29d1b5f7c Merge branch 'master' into cq_lockfree 2017-04-14 08:12:22 -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
Sree Kuchibhotla b3112cd10f Merge branch 'master' into cq_lockfree 2017-04-13 14:26:12 -07:00
Craig Tiller cacaa1950d Merge github.com:grpc/grpc into epex3 2017-04-13 15:22:38 +00:00
Sree Kuchibhotla aa5a92800f Merge branch 'master' into cq_create_api_changes 2017-04-13 03:13:17 -07:00
Muxi Yan 29723ee1ba Revert "Revert "Implement lazy deframe"" 2017-04-12 20:24:42 -07:00
Yuxuan Li c7609c4f3f profile cpp overhead for call create 2017-04-12 18:02:55 -07:00
Nicolas "Pixel" Noble 7c26eed838 Buildifier and wrapping test/cpp/* rules with our build system. 2017-04-13 02:03:22 +02:00
Craig Tiller 09b02847f1 Merge github.com:grpc/grpc into minimal_test 2017-04-12 16:48:12 -07:00
Craig Tiller c71e6a6ad6 Revert "Implement lazy deframe" 2017-04-12 15:49:39 -07:00
Craig Tiller b3d308b9a1 Merge github.com:grpc/grpc into cpparena 2017-04-12 15:16:35 -07:00
Craig Tiller 80233bfde5 Merge github.com:grpc/grpc into minimal_test 2017-04-12 14:55:17 -07:00
Craig Tiller 023a51a7fa Merge pull request #10473 from ctiller/truebin
True Binary Encoding
2017-04-12 14:48:36 -07:00
Craig Tiller f0721657ff Merge github.com:grpc/grpc into truebin 2017-04-12 08:41:29 -07:00
Craig Tiller c20fa90c60 Merge github.com:grpc/grpc into cpparena 2017-04-12 06:44:00 -07:00
Sree Kuchibhotla d7a1b8f856 Functionality complete 2017-04-11 19:43:07 -07:00
Craig Tiller 440df1048a Merge github.com:grpc/grpc into minimal_test 2017-04-11 09:55:16 -07:00
Craig Tiller fb75b8d429 Merge github.com:grpc/grpc into epex3 2017-04-11 09:54:07 -07:00
Muxi Yan 81addac3ce Merge remote-tracking branch 'upstream/master' into lazy-deframe 2017-04-11 09:22:52 -07:00
Craig Tiller d6255951dc Add a benchmark of repeatedly adding an fd to a pollset 2017-04-10 23:51:42 +00:00
Sree Kuchibhotla 8ab60cf5b3 Merge branch 'master' into cq_create_api_changes 2017-04-10 08:49:07 -07:00
Sree Kuchibhotla 399abd00e0 Merge branch 'bm_cq_asan' into cq_lockfree 2017-04-09 15:28:57 -07:00
Sree Kuchibhotla 1f0c827114 Fix asan and tsan bugs. Simplify the code 2017-04-08 16:25:58 -07:00
Sree Kuchibhotla 93b60e05a0 Fix asan bug 2017-04-07 18:50:32 -07:00
Craig Tiller 7f5fac9054 minor optimizations 2017-04-07 21:47:41 +00:00
Sree Kuchibhotla dc0b8a60d3 change cq_create to cq_create_for_next 2017-04-07 13:55:46 -07:00
Sree Kuchibhotla 7b9f97bfb8 Merge branch 'master' into cq_create_api_changes 2017-04-07 13:44:34 -07:00
Muxi Yan 848073f77d Clean up unused variables and funcs 2017-04-07 10:53:15 -07:00
Muxi Yan a3fda8fdc9 Fix bm_chttp2_transport memory leak 2017-04-07 10:34:33 -07:00
Muxi Yan 3a0b8477c2 Merge remote-tracking branch 'upstream/master' into lazy-deframe 2017-04-07 09:48:14 -07:00
Craig Tiller 5f399d173b Merge github.com:grpc/grpc into minimal_test 2017-04-07 06:46:08 -07:00
Muxi Yan 97a0ded7c5 Fix bm_chttp2_transport 2017-04-07 00:34:19 -07:00
Sree Kuchibhotla 93aa1e7995 Merge pull request #10467 from sreecha/bm_cq_multi_threads
Microbenchmark for measuring impact of multiple threads calling cq_next
2017-04-06 22:22:02 -07:00
Sree Kuchibhotla a6ff103446 Merge branch 'master' into cq_create_api_changes 2017-04-06 13:09:17 -07:00
Sree Kuchibhotla 631e78c349 Print items/sec metric at the end 2017-04-06 10:44:45 -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
Sree Kuchibhotla 084c51e888 Merge branch 'master' into bm_cq_multi_threads 2017-04-05 17:17:54 -07:00
Craig Tiller 52ee5a368f Merge github.com:grpc/grpc into truebin 2017-04-05 14:46:01 -07:00
Craig Tiller ff558bac5c Fix trickle 2017-04-05 14:44:42 -07:00
Craig Tiller 41f46ab665 Merge github.com:grpc/grpc into cpparena 2017-04-05 14:05:38 -07:00
Craig Tiller 88455ca010 Merge github.com:grpc/grpc into dynamic_tcp_sizing 2017-04-05 14:03:30 -07:00
Craig Tiller 0a902958af Merge branch 'minimal_bm' into minimal_test 2017-04-05 12:29:25 -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
Sree Kuchibhotla f7c673a8c7 minor change 2017-04-04 22:52:44 -07:00
Craig Tiller 85a747ed06 better representative output 2017-04-04 17:20:29 -07:00
Craig Tiller 5de46568ce Merge github.com:grpc/grpc into cpparena 2017-04-04 17:08:12 -07:00
Craig Tiller e76a0ecc03 Update hpack benchmarks for true binary 2017-04-04 16:24:20 -07:00
Sree Kuchibhotla 2c3e7e80bd use wallclock 2017-04-04 16:21:52 -07:00
Craig Tiller ee787caf0e Merge github.com:grpc/grpc into truebin 2017-04-04 15:54:40 -07:00
Muxi Yan b3cec5df24 Merge remote-tracking branch 'upstream/master' into lazy-deframe 2017-04-04 15:03:19 -07:00
Craig Tiller 5bdffab426 Add profiling annotations 2017-04-04 14:24:53 -07:00
Sree Kuchibhotla 3c754e4716 Microbenchmark for measuring impact of multiple threads calling cq_next 2017-04-04 13:58:02 -07:00
Craig Tiller 7949527333 Actually instantiate minstack 2017-04-04 13:36:47 -07:00
Craig Tiller 1d77b44c00 Add representative benchmarks of minimal stacks on chttp2 2017-04-04 13:23:09 -07:00
Craig Tiller eb0e34f736 Convert everything to new encode API 2017-04-04 08:46:47 -07:00
Craig Tiller 2a7ce4f282 Merge github.com:grpc/grpc into dynamic_tcp_sizing 2017-04-04 08:01:32 -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
Sree Kuchibhotla c1a32fa46e Merge branch 'master' into cq_create_api_changes 2017-04-01 17:36:15 -07:00
Craig Tiller 5f95f1a4ca Merge github.com:grpc/grpc into cpparena 2017-04-01 07:42:20 -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 e431b52f0b Fix crashes 2017-03-31 15:21:04 -07:00
Craig Tiller 84a2ac885c Merge github.com:grpc/grpc into new_transport_op 2017-03-31 15:03:39 -07:00
Craig Tiller 5aebfa0af1 Merge branch 'atomic-timers' into dynamic_tcp_sizing 2017-03-31 13:06:02 -07:00
Craig Tiller dd36b15315 Call ref/unref, bugfixes 2017-03-31 08:27:28 -07:00
Craig Tiller 5e17020d61 Fix compile 2017-03-31 07:30:35 -07:00
Craig Tiller 83643bd5cb Fix build on mac 2017-03-31 06:02:57 -07:00
Sree Kuchibhotla 08bbdb8801 Fix cq creation code after merge 2017-03-30 13:25:06 -07:00
Sree Kuchibhotla e04906dc54 Merge branch 'master' into cq_create_api_changes 2017-03-30 13:20:00 -07:00
Sree Kuchibhotla bea49665d4 Merge pull request #10348 from sreecha/init-free-cq
Do not call grpc_init() for per-call-completion-queues created by a C++ sync server
2017-03-30 13:17:32 -07:00
Craig Tiller 75b6908748 Merge github.com:grpc/grpc into new_transport_op 2017-03-30 12:25:43 -07:00
Nicolas Noble 6ee38a7e51 Merge pull request #9780 from ctiller/cpp_bazelness
More C++ Bazel support
2017-03-30 10:21:11 -07:00
Craig Tiller 387c3a4f56 Merge pull request #10329 from ctiller/b64mb
Add benchmarks of chttp2 performance for -bin headers
2017-03-30 08:18:34 -07:00
Craig Tiller 57178eff19 fixes 2017-03-29 20:08:49 -07:00
Craig Tiller 220861eb56 Merge github.com:grpc/grpc into new_transport_op 2017-03-29 14:08:56 -07:00
Craig Tiller 61c317b624 Fix leak 2017-03-29 13:56:24 -07:00
Sree Kuchibhotla 8dbd9677ef Add a benchmark 2017-03-29 10:58:21 -07:00
Nicolas "Pixel" Noble 0dac09e724 Merge branch 'master' of https://github.com/grpc/grpc into cpp_bazelness 2017-03-29 19:46:48 +02:00
Sree Kuchibhotla 14ab588166 Merge branch 'master' into cq_create_api_changes 2017-03-28 12:37:00 -07:00
Craig Tiller b6090a697b Merge github.com:grpc/grpc into new_transport_op 2017-03-28 10:13:07 -07:00
Yuxuan Li 978c34f6ea Merge branch 'master' into stream_corked_pr 2017-03-27 15:47:58 -07:00
Craig Tiller 0d04e0697b Add a benchmark of base16 encoding 2017-03-27 14:55:08 -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
Muxi Yan 9e760da81a Fix c++ test 2017-03-24 17:45:00 -07:00
Nicolas "Pixel" Noble b02dd01584 Fixing qps & benchmark. 2017-03-24 21:56:51 +01: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
Noah Eisen 55837563c9 Merge pull request #10109 from ncteisen/error-slice-optimization
Error slice optimization
2017-03-22 18:48:00 -07:00
Noah Eisen 3d194ad7a3 Merge branch 'master' of https://github.com/grpc/grpc into error-slice-optimization 2017-03-22 14:40:28 -07:00
Craig Tiller 48fda550ac Merge pull request #10189 from ctiller/call_cases
Expand benchmark coverage to isolated grpc_call scenarios against a dummy filter stack
2017-03-22 14:27:44 -07:00
Sree Kuchibhotla 12081c0304 Merge branch 'cq_create_api_changes' into cq_create_api_changes_with_factory 2017-03-22 13:00:18 -07:00
Sree Kuchibhotla e414d6cf00 Merge branch 'master' into cq_create_api_changes 2017-03-22 13:00:04 -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
Craig Tiller eeb3b24f7e Merge pull request #10238 from ctiller/bm_chttp2_top
Add benchmark suite for chttp2
2017-03-22 08:46:47 -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 18f09a01f6 Add benchmark suite for chttp2 2017-03-21 08:15:19 -07:00
Yuxuan Li 0574b58869 merge master and fix conflict on bm_fullstack 2017-03-20 12:19:34 -07:00
Craig Tiller 444c223c17 Merge github.com:grpc/grpc into new_transport_op 2017-03-20 09:36:17 -07:00
Craig Tiller 8c7444576f Fix tracking of writes: we dont need TrackCounters for bm_fullstack since the fixture does it 2017-03-17 09:57:31 -07:00
Craig Tiller c627664511 Merge github.com:grpc/grpc into call_arena 2017-03-16 13:34:29 -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 22b182ba9c Merge github.com:grpc/grpc into new_transport_op 2017-03-16 10:56:58 -07:00
Craig Tiller 0e0149d3f3 Restore missing benchmarks 2017-03-16 10:20:28 -07:00
Craig Tiller 6f8ddd6183 Merge github.com:grpc/grpc into call_arena 2017-03-16 08:37:14 -07:00
Craig Tiller 41373d0457 Merge pull request #10122 from ctiller/arena
Arena allocator for grpc
2017-03-15 16:16:30 -07:00
Craig Tiller 5279370314 Fix compilation 2017-03-15 08:38:24 -07:00
Craig Tiller 4e8c9895ee Merge github.com:grpc/grpc into call_arena 2017-03-14 21:13:51 -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
ncteisen 6fd36b575b Merge branch 'master' of https://github.com/grpc/grpc into error-slice-optimization 2017-03-14 08:44:32 -07:00
Craig Tiller ff23f801c5 Fix crash 2017-03-14 07:50:56 -07:00
ncteisen 91220dc793 Added benchmark to show static vs copied 2017-03-13 21:18:58 -07:00
ncteisen 4b36a3d9ea Change error_create API to slice 2017-03-13 20:19:47 -07:00
Craig Tiller 37bbbd770f Merge pull request #9984 from ctiller/poll-wakeup
Add some pollset benchmarks
2017-03-13 13:38:48 -07:00
Craig Tiller 9202b3fdfd Arena allocator for grpc 2017-03-12 22:30:38 -07:00
ncteisen bbb3801e48 Change error get/set API to grpc_slice 2017-03-10 22:25:25 -08:00
Craig Tiller a08b11f33a Dont track allocations if we are not going to use them 2017-03-10 20:34:08 -08:00
Yuxuan Li 0aac9d06e2 change last_message bit to be in C++ layer only 2017-03-10 14:34:59 -08:00
Craig Tiller bf3dce2381 Merge branch 'poll-wakeup' of github.com:ctiller/grpc into poll-wakeup 2017-03-10 14:16:34 -08:00
Craig Tiller a2d11d7bb4 Merge github.com:grpc/grpc into poll-wakeup 2017-03-10 14:14:57 -08:00
Noah Eisen 5dc79eb5aa Merge pull request #9963 from ncteisen/error-arena-optimization
Error arena optimization
2017-03-10 10:12:54 -08:00
Craig Tiller e7fe7f2b45 Merge pull request #10067 from ctiller/less_counters
Dont use memory counters unless counters mode is on
2017-03-10 09:49:31 -08: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 eb41e6438f Merge github.com:grpc/grpc into poll-wakeup 2017-03-09 21:57:42 -08:00
Craig Tiller e5dd4797b5 Merge pull request #9996 from ctiller/bm_channel
Add a test of creating a call on a lame channel in C++
2017-03-09 21:50:47 -08:00
ncteisen ceddd29391 Address github comments 2017-03-09 19:02:31 -08:00
Craig Tiller 2b182c2b4b Make ASAN happy 2017-03-09 16:19:58 -08:00
Craig Tiller af11581260 Merge github.com:grpc/grpc into cpp_bazelness 2017-03-09 15:09:34 -08:00
ncteisen b3eee5c8c7 Merge branch 'master' of https://github.com/grpc/grpc into to-grpc-err-is-human 2017-03-09 11:16:25 -08:00
Noah Eisen a3e5801e2e s/realloc/gpr_realloc to fix mem bug 2017-03-09 10:54:07 -08:00
Noah Eisen a885d00a38 Merge branch 'master' of https://github.com/grpc/grpc into error-arena-optimization 2017-03-09 10:13:34 -08:00
Craig Tiller 7710823850 Add speed of light measures 2017-03-09 10:04:50 -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
Craig Tiller 71c286466a Dont use memory counters unless counters mode is on 2017-03-09 08:03:27 -08:00
ncteisen 55337bb317 Error arena optimization 2017-03-08 15:38:34 -08:00
Sree Kuchibhotla 89da88c7b4 Merge branch 'master' into cq_create_api_changes 2017-03-08 14:45:23 -08:00
Craig Tiller 3fd238a2c6 Merge github.com:grpc/grpc into poll-wakeup 2017-03-08 12:54:57 -08:00
Craig Tiller e83edbfc2f Merge github.com:grpc/grpc into bm_channel 2017-03-08 12:52:39 -08:00
Craig Tiller 808d19e834 Merge pull request #9977 from ctiller/fssplit
Split bm_fullstack into pieces, reuse infrastructure across other microbenchmarks
2017-03-08 12:52:02 -08:00
Yuxuan Li bdc76ab37b bug fix 2017-03-08 10:59:31 -08:00
Yuxuan Li 34894e4b1c Implemented stream coalescing design
(RFC:https://github.com/grpc/proposal/pull/3). Add necessary
microbenchmarks to show reduced writes/iter for short streams. Add
necessary end2end test to test out newly added apis. Filter those tests
using *WithCoalescingApi*.
2017-03-08 10:59:31 -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
Craig Tiller 055abd65fb Fix linux 2017-03-03 17:20:36 -08:00
Craig Tiller ab314ee9a6 Add some pollset benchmarks 2017-03-03 17:18:20 -08:00
Craig Tiller 656a1ab01f Merge branch 'fssplit' into poll-wakeup 2017-03-03 16:53:07 -08:00
Craig Tiller f09ec59222 Fix mac build 2017-03-03 16:52:37 -08:00
Craig Tiller 1128d462c3 Pollset benchmark 2017-03-03 16:46:54 -08:00
Sree Kuchibhotla 189eb4adbe Merge branch 'master' into cq_create_api_changes 2017-03-03 15:47:53 -08:00
Craig Tiller 8c3eaf2f15 Merge pull request #9939 from ctiller/stream_owned_slice
Add a slice type that shares a refcount with a transport stream
2017-03-03 15:38:14 -08:00
Sree Kuchibhotla 1dbd981cf8 Prefix grpc_cq_polling_type enums with GRPC_CQ_ 2017-03-03 14:27:44 -08:00
Craig Tiller cc928d6b71 Cleanup 2017-03-03 11:06:40 -08:00
Sree Kuchibhotla 2c7ab675c3 Merge branch 'master' into cq_create_api_changes 2017-03-03 10:57:07 -08:00
Craig Tiller 52bd441b25 Get back trickle 2017-03-03 10:52:22 -08:00
Craig Tiller 12d22e472b Further splitting 2017-03-03 10:14:20 -08:00
Craig Tiller 62ac65b183 Split bm_fullstack unary ping pong out 2017-03-03 09:57:43 -08:00
Craig Tiller 627a59892a Prep for splitting bm_fullstack 2017-03-03 09:47:21 -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
ncteisen 2316b80875 Merge branch 'master' of https://github.com/grpc/grpc into to-grpc-err-is-human 2017-03-01 11:52:32 -08:00
Craig Tiller 295df6da9a Add a slice type that shares a refcount with a transport stream 2017-03-01 11:28:24 -08:00
Craig Tiller 2bfc3bcf8d Add fixtures for call creation benchmarks 2017-03-01 07:54:20 -08:00
Craig Tiller 6517333d17 Merge pull request #9881 from ctiller/spinlock
Add a spinlock type.
2017-02-28 12:57:01 -08:00
Craig Tiller 4d92a49fc0 Merge github.com:grpc/grpc into cpp_bazelness 2017-02-28 08:43:06 -08:00
Craig Tiller cd232f64c6 Merge pull request #9753 from ctiller/zalloc
Add zalloc, convert a bunch of files to use it
2017-02-27 15:58:23 -08:00
Craig Tiller a10f00c711 Merge github.com:grpc/grpc into spinlock 2017-02-27 15:56:16 -08:00
Craig Tiller b843ff2ce4 Add more cq benchmarks 2017-02-27 07:34:07 -08:00
Craig Tiller edbf2b9d13 Add a spinlock type.
Useful for situations where we need to repeatedly trylock, not useful
for cases where we need to lock (due to spinning).

Add a variant of sync_test to test it (with the same tests we run for
gpr_mu).

Add a benchmark to bm_closure to demonstrate single threaded performance.
2017-02-27 07:24:00 -08:00
Craig Tiller 510f38a711 Merge branch 'bm_chttp2' into bm_meta 2017-02-24 17:00:19 -08:00
Craig Tiller bf515b6f7f Merge github.com:grpc/grpc into cpp_bazelness 2017-02-24 16:23:50 -08:00
Craig Tiller 681507aa24 Fix memory leak 2017-02-23 13:17:29 -08:00
Craig Tiller b82b3d0e52 Fixes for zalloc 2017-02-23 12:50:05 -08:00
ncteisen b307fdeb6e Merge branch 'bm_error' of https://github.com/ctiller/grpc into to-grpc-err-is-human 2017-02-23 11:21:12 -08:00
Craig Tiller 523d54beeb Refine to just be a HPACK benchmark 2017-02-23 08:52:38 -08:00
Craig Tiller 0db30f3dd0 HPACK parsing benchmarks 2017-02-23 08:48:34 -08:00
Craig Tiller 5cd989e95a Basic parsing tests 2017-02-22 17:08:00 -08:00
Craig Tiller 29dd982487 ... 2017-02-22 16:49:47 -08:00
Craig Tiller 2f792d9d16 Initial http2 benchmarks 2017-02-22 16:26:33 -08:00
Craig Tiller 11468c0c2a Merge branch 'bm_call_create' into bm_error 2017-02-22 14:24:48 -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 21dd43a1cd Merge github.com:grpc/grpc into bm_call_create 2017-02-21 16:06:13 -08:00
Craig Tiller 8b01e8f5e6 Merge pull request #9708 from ctiller/bm_cq
Add microbenchmark of single-threaded CQ operations
2017-02-21 16:05:50 -08:00
Craig Tiller 7f4d30a032 Separate CAS/ADD RMWs 2017-02-21 10:24:00 -08:00
Craig Tiller f3dec9c995 Add counters for rmw atomic operations to microbenchmarks 2017-02-21 10:02:31 -08:00
ncteisen 2f15e9b456 Add new bm_error test to exercise error_set_xxx 2017-02-17 16:29:22 -08:00
Craig Tiller f4ea01b71a Complete microbenchmarks 2017-02-17 15:21:11 -08:00
Craig Tiller 19f3ea2c20 Start bringing microbenchmarks to Bazel 2017-02-17 15:17:05 -08:00
Craig Tiller b8e2bca4eb Add a benchmark for metadata primitives 2017-02-16 16:26:51 -08:00
Craig Tiller 985736358c Merge github.com:grpc/grpc into bm_cq 2017-02-16 09:45:17 -08:00
Craig Tiller 2f201bd351 Merge branch 'bm_call_create' into bm_error 2017-02-16 09:25:29 -08:00
Craig Tiller be42e1cb6a Fix missing header 2017-02-16 09:25:23 -08:00
Craig Tiller 5663953cb4 Fix compilation on Linux 2017-02-16 09:10:22 -08:00
Craig Tiller 264307fa3d Add benchmarks for grpc_error 2017-02-16 09:07:45 -08:00
Craig Tiller d3b8cd6617 Merge github.com:grpc/grpc into bm_closure 2017-02-15 23:55:31 -08:00
Craig Tiller 03eec51790 Merge pull request #9697 from ctiller/bm_trickle
Add a test that measures flow control stalls in a deterministic way
2017-02-15 23:52:46 -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
Craig Tiller 872e932b09 Merge github.com:grpc/grpc into bm_call_create 2017-02-15 13:08:43 -08:00
Craig Tiller 1f8c55835d Merge branch 'bm_closure' into bm_cq 2017-02-15 08:34:49 -08:00
Craig Tiller 2b085f9923 Merge branch 'bm_trickle' into bm_closure 2017-02-15 08:26:37 -08:00
Craig Tiller 22482a41b6 Merge branch 'bm_trickle' of github.com:ctiller/grpc into bm_trickle 2017-02-15 08:25:09 -08:00
Craig Tiller d9bc2107e5 Update microbenchmarking framework for new benchmark 2017-02-15 08:24:55 -08:00
Craig Tiller 7f9184f314 Review feedback 2017-02-14 22:39:47 -08:00
Craig Tiller 5752570b02 Fix memory leak 2017-02-14 21:58:46 -08:00
Craig Tiller 14ae5381af Add microbenchmark of single-threaded CQ operations 2017-02-14 12:43:50 -08:00
Craig Tiller ef6d744c23 Include faster networks 2017-02-13 19:23:09 -08:00
Craig Tiller 4cb0a7a5a1 Better test 2017-02-13 17:14:20 -08:00
Craig Tiller fe5f497f77 Add a test that measures flow control stalls in a deterministic way 2017-02-13 16:26:27 -08:00
Craig Tiller 4dde8b277d Fix stack corruption 2017-02-13 12:44:14 -08:00
Craig Tiller 96f8728b06 Add a comparison benchmark of acquiring a mutex 2017-02-13 12:39:12 -08:00
Craig Tiller b3f34b6c2b Add benchmarks of closures, combiners, exec_ctx primitives 2017-02-13 10:29:33 -08:00
Craig Tiller e7c60e6282 Make latency traces more useful 2017-02-13 08:56:36 -08:00
Craig Tiller 7dd42bf3d8 Merge pull request #9522 from ctiller/bm_perf
Update latency profiler to use (more appropriate) microbenchmarks
2017-02-08 13:57:09 -08:00
Craig Tiller ea2c59420c Merge pull request #9619 from ctiller/bm_counters
Add counters for important metrics to bm_fullstack
2017-02-07 15:16:40 -08:00
Craig Tiller d52b76de44 Merge github.com:grpc/grpc into bm_perf 2017-02-07 10:30:58 -08:00
Craig Tiller 01d7d9b2e5 Add allocations/iteration counters to bm_fullstack 2017-02-07 08:39:05 -08:00
Craig Tiller b038beb724 Add counters for mutex acquisitions, expose in bm_fullstack 2017-02-07 08:28:51 -08:00
Sree Kuchibhotla dfb82e076f Address code review comments 2017-02-03 21:05:01 -08:00
Sree Kuchibhotla 0b26e27056 cr comments 2017-02-03 20:41:00 -08:00
Sree Kuchibhotla afaa75196e Add comment 2017-02-03 19:43:47 -08:00
Sree Kuchibhotla e3ffd861c9 New microbenchmarks for Streaming Ping pong calls and messages 2017-02-03 19:39:31 -08:00
Craig Tiller f7af2a9a05 Update latency profiler to use (more appropriate) microbenchmarks 2017-01-31 15:08:31 -08:00
Craig Tiller cf14a1bd1e Add other fixtures to pump tests 2017-01-27 17:19:03 -08:00
Craig Tiller db13ac4084 Add server->client long-lived streaming 2017-01-27 17:11:38 -08:00
Craig Tiller e44d1a634a Add client->server long-lived streaming 2017-01-27 17:06:16 -08:00
Craig Tiller 9128716268 Track writes/RPC in microbenchmark 2017-01-26 14:44:25 -08:00
Craig Tiller f8ea95786f Merge branch 'maxmsgsz' into bm_msgsz 2017-01-20 15:58:57 -08:00
Craig Tiller 331f705886 clang-format 2017-01-19 11:52:20 -08:00
Craig Tiller a2f61e3d33 Add large message variants 2017-01-19 09:53:07 -08:00
Craig Tiller 62efabf638 Start benchmarking different sizes 2017-01-18 15:45:30 -08:00
Craig Tiller e7b74698f9 Merge branch 'slice_interning' into metadata_filter 2016-12-09 08:44:39 -08:00
David Garcia Quintas ff3112188b Renamed google_benchmark submodule to benchmark 2016-12-06 17:44:57 -08:00
Mark D. Roth d101e14211 Revert "Renamed google_benchmark submodule to benchmark" 2016-12-05 08:04:22 -08:00
Mark D. Roth 746578ac9c Merge pull request #8851 from dgquintas/rename_gbench
Renamed google_benchmark submodule to benchmark
2016-12-05 07:43:17 -08:00
Craig Tiller 36b3135929 Merge branch 'slice_interning' into metadata_filter 2016-11-30 13:41:53 -08:00
Craig Tiller 9178ba2924 Merge pull request #8867 from ctiller/fixit6
Reduce pre-generated key count
2016-11-29 10:47:46 -08:00
Craig Tiller d04c822b58 Unique-ify uds address between concurrent bm_fullstack runs 2016-11-29 08:54:36 -08:00
Craig Tiller e89e54f4b6 clang-format code 2016-11-29 08:20:05 -08:00
David Garcia Quintas d449003fe6 Shutdown grpc for fullstack benchmark 2016-11-28 16:10:57 -08:00
Craig Tiller 6d74225615 Reduce pre-generated key count
Doesn't affect benchmark accuracy, but makes startup time substantially
faster, and hopefully eliminates occurences like this:
https://grpc-testing.appspot.com/job/gRPC_master_linux/642/testReport/junit/(root)/c++_linux_dbg/bins_dbg_bm_fullstack_GRPC_POLL_STRATEGY_epoll/
2016-11-28 10:04:50 -08:00
David Garcia Quintas 7d03df3f44 Renamed google_benchmark submodule to benchmark 2016-11-23 19:47:04 -08:00
Craig Tiller 7ce0bcdf0f Add a test of sending MANY metadata elements 2016-11-23 09:51:53 -08:00
Craig Tiller 3b05e1da91 Move from cmp --> eq, and provide a good implementation for interning 2016-11-21 13:46:31 -08:00
Craig Tiller f69369741d Review feedback 2016-11-16 15:03:53 -08:00
Craig Tiller 206efc7866 Benchmarks for unary metadata 2016-11-07 12:55:40 -08:00
Craig Tiller ff8e43aa6c Fix memory corruption 2016-11-01 15:13:31 -07:00
Craig Tiller b4d883bfc2 Make ASAN pass 2016-11-01 15:10:22 -07:00
Craig Tiller 63ec293d73 Integrate resource quotas 2016-11-01 15:00:41 -07:00
Craig Tiller 1d0fce9d60 Add some endpoint pair tests 2016-10-26 08:26:22 -07:00
Craig Tiller 93d802b986 Add full stack microbenchmark 2016-10-25 21:05:49 -07:00
Craig Tiller d3cd017f5d Initial google_benchmark integration: source changes 2016-10-25 17:02:20 -07:00