Commit Graph

957 Commits

Author SHA1 Message Date
Noah Eisen 373fc6dc40 Manual fixes to enable performance- clang tidy checks 2018-06-14 14:58:09 -04:00
Noah Eisen 58e0cbf9fb Enable the performance-* clang-tidy checks 2018-06-14 14:58:09 -04:00
Jan Tattermusch add5840ec4 gcov: dont run large json_run_localhost scenarios 2018-05-08 11:55:47 +02:00
kpayson64 7a20c962df Break out qps services into seperate protos 2018-04-18 22:13:09 -07:00
Jan Tattermusch ac08180ab3 Revert "Disabled the json_run_localhost:*_low_thread_count family of tests" 2018-03-20 17:16:34 +01:00
Vijay Pai c90a85649b Change grpc++ references in names to grpcpp 2018-03-08 22:04:59 -08:00
Vijay Pai 7fed69b7ad Use static_cast rather than reinterpret_cast whenever possible 2018-03-05 16:35:10 -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 ae376bf9d9 Privatize host_port.h; was not used in any wrapped language implementation 2018-01-25 23:06:24 -08:00
Yang Gao de79daaba5
Merge pull request #14164 from yang-g/cork_all
Add option to use client side coalescing API in qps test
2018-01-24 11:44:22 -08:00
yang-g ea33017540 Add option to use client side coalescing API in qps test 2018-01-24 09:12:01 -08:00
ncteisen d88f903bd1 Merge branch 'master' of https://github.com/grpc/grpc into more-clang-tidy 2018-01-22 11:58:09 -08:00
Noah Eisen 93563bc0dc remote stale import 2018-01-19 09:54:49 -08:00
Mark D. Roth dbdf495f61 Split lib/support into lib/gpr and lib/gpr++. 2018-01-18 11:21:12 -08:00
David Garcia Quintas 251af24c54 Disabled the json_run_localhost:*_low_thread_count family of tests 2017-12-18 13:38:10 -08:00
Ken Payson 8873975a30 Fix Async QPS Test 2017-12-07 10:24:25 -08:00
Vijay Pai c6587ca11b Reintroduce lambdas 2017-12-04 10:15:19 -08:00
Vijay Pai f230ffd476 clang-format 2017-12-04 09:58:44 -08:00
Vijay Pai 083b9be1a2 Make all-streams op about cleanup only and replace a lambda with a virtual 2017-12-04 09:56:28 -08:00
Vijay Pai c8dd4c5139 Remove some unneeded and spammy logs 2017-12-04 01:38:00 -08:00
Vijay Pai 6389457ed2 Adjust stream cancellation point and fix races in sync client 2017-12-04 00:57:58 -08:00
Vijay Pai 195cf1ebfd Move histogram to test/core/util 2017-11-30 15:02:04 -08:00
Ken Payson 7cf8d72c25 Fix TSAN json_run_localhost flake 2017-11-16 18:36:38 -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
Craig Tiller baa14a975e Update clang-format to 5.0 2017-11-03 09:09:36 -07:00
Ken Payson 918ce7a686 Fix QPS Async Client Next loop 2017-10-27 02:48:15 -07:00
yang-g 37f1bd13ab clear the request 2017-10-26 14:42:51 -07:00
kpayson64 1bf7207852 Merge pull request #13084 from kpayson64/cq_lambda
CompletionQueue DoThenAsyncNext
2017-10-25 10:28:02 -07:00
Ken Payson 42bd87e376 Adds gRPC Experimental CQ DoThenAsyncNext lambda API 2017-10-25 09:13:30 -07:00
Yuchen Zeng ca31256597 Remove redundant WaitForConnected 2017-10-23 18:26:21 -07:00
Vijay Pai 088112fea1 Create inproc version of QPS test and add a few simple tests of this to standard testing suite. 2017-10-19 14:29:13 -07:00
Jan Tattermusch 320e703ad9 Merge pull request #12924 from jtattermusch/json_run_localhost_timeouts_sanitizers
More reasonable timeouts for json_run_localhost (poll-cv and sanitizers)
2017-10-16 18:56:50 +02:00
Jan Tattermusch 779ae6f8b7 cap json_run_localhost to 10 mins under sanitizers 2017-10-10 12:40:44 +02:00
Craig Tiller c18ad11837 Wait until all clients connected before starting streams 2017-10-09 13:44:10 -07:00
Craig Tiller f6cd77c48d Stability fixes 2017-10-09 13:28:00 -07:00
Jan Tattermusch 768c894519 reduce timeout for json_run_localhost 2017-10-05 14:03:11 +02:00
Vijay Pai 22410e0d99 Merge pull request #12623 from vjpai/one_sided
C++ QPS tests: Cancel outstanding streams when shutting down the async client
2017-09-21 12:20:44 -07:00
Vijay Pai 43b55221e4 Cancel outstanding streams when shutting down the client 2017-09-19 11:45:56 -07:00
Craig Tiller adbcec4f57 Merge github.com:grpc/grpc into pollset_kick_stats 2017-09-18 08:57:19 -07:00
Vijay Pai 4b047a3bff Construction of streams shouldn't require triggering async ops 2017-09-14 17:55:13 -07:00
Craig Tiller 4f5acf73c9 Merge github.com:grpc/grpc into pollset_kick_stats 2017-09-08 11:38:41 -07:00
Vijay Pai 7f6a27a4d3 Merge pull request #12372 from vjpai/armalarmadingdong
Core API change: Decouple alarm construction from setting to avoid races in MT code
2017-09-07 18:34:56 -07:00
Craig Tiller 56969c2784 Merge github.com:grpc/grpc into pollset_kick_stats 2017-09-07 15:54:59 -07:00
Vijay Pai 58c33ba19b Decouple alarm construction from setting to avoid races in MT code 2017-09-07 11:34:13 -07:00
Craig Tiller e1101cf099 Update Bazel for new systems 2017-09-06 09:42:20 -07: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
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
Vijay Pai 6defb325d9 Remove some pre-C++11-style workarounds 2017-08-29 08:44:54 -07:00
Vijay Pai c38955501b Move some internal includes to the right places 2017-08-24 10:16:40 -07:00
Vijay Pai e1418e4ab1 Switch to idiomatic Slice API 2017-08-09 22:03:16 -07:00
ncteisen af313caab8 Eliminate copy in QPS Driver 2017-08-02 16:05:48 -07:00
ncteisen 0133cc6fd8 Avoid benchmarking allocs 2017-07-27 19:45:24 -07:00
Guantao Liu 1932a50e50 Merge pull request #11787 from guantaol/qps_driver
Add a new metric and enable internal credential types in QPS Driver
2017-07-18 17:46:57 -07:00
Vijay Pai 0f95fa4909 Add idiomatic C++ API for grpc::Slice construction that doesn't
require using grpc_slice
2017-07-18 11:07:43 -07:00
Craig Tiller d996379030 Reset OWNERS state 2017-07-17 10:54:07 -07:00
Guantao Liu 29a7050c35 Fixed sanity. 2017-07-14 19:24:26 -07:00
Guantao Liu 91d8f0b5a8 Added the missing header file and fixed a syntax error. 2017-07-14 18:33:30 -07:00
Guantao Liu ac9fdfbc40 Removed unnecessary default values and fixed sanity. 2017-07-14 17:33:19 -07:00
Guantao Liu e72b5d6ab8 Merge remote-tracking branch 'upstream/master' into qps_driver to resolve conflicts. 2017-07-13 18:29:18 -07:00
Craig Tiller 5e47758d53 Make @vjpai an owner of qps_test 2017-07-13 16:09:47 -07:00
Nicolas "Pixel" Noble 68ce2564fd Sanitizing repo. 2017-07-13 22:45:33 +02:00
Nicolas Noble 9877189e45 Merge pull request #11310 from nicolasnoble/import
Import mutations.
2017-07-13 13:39:58 -07:00
yang-g fdcb774cea Regenerate projects and fixes 2017-07-13 10:25:42 -07:00
yang-g b575a34e05 Replace InitBenchmark with InitTest. Remove qps_test.cc 2017-07-13 09:47:27 -07:00
Guantao Liu abe3cf51f0 Add a new metric 'Queries/CPU-sec'.
Enable internal credential types.
2017-07-12 17:36:30 -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
Craig Tiller 873ee82277 Add channel args to qps server 2017-07-06 09:22:10 -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
ncteisen dc1b51e6b3 clang fmt 2017-06-19 09:00:25 -07:00
ncteisen 24e820762a Add json out flag to qps driver 2017-06-19 07:36:51 -07:00
Ken Payson c8e7a52fc7 Merge remote-tracking branch 'origin/master' into HEAD 2017-06-13 02:52:13 +00: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
Nicolas "Pixel" Noble 7bc55fdaa3 Merge remote-tracking branch 'ctiller/build-wtf' into import 2017-05-26 00:32:47 +02:00
Vijay Pai 4b07aab513 Support multiple threads per cq sharing, add tests 2017-05-23 09:20:56 -07:00
Craig Tiller 840931eec9 More import fixes 2017-05-19 15:37:45 -07:00
Nicolas "Pixel" Noble af6c83f9e1 Adding dummy layering check option. 2017-05-19 01:53:56 +02:00
Yuxuan Li 8698f2bbee fix extern c location 2017-05-15 16:53:01 -07:00
Yuxuan Li 6ca796d7ad merge master, resolve conflict 2017-05-15 14:15:34 -07:00
Nicolas "Pixel" Noble eb36b8ac77 Merge branch 'master' of https://github.com/grpc/grpc into import 2017-05-11 23:24:37 +02:00
Nicolas "Pixel" Noble 78f8ce33ca The json parser comes from protobuf. 2017-05-11 00:42:55 +02:00
Nicolas "Pixel" Noble 71ca4200f6 QPS doesn't actually need gtest anymore. 2017-05-10 01:32:31 +02:00
Yuxuan Li 57e12b1786 Merge branch 'poll_stat' of github.com:lyuxuan/grpc into poll_stat 2017-05-08 11:36:07 -07:00
Yuxuan Li a7f7fcf94a Merge branch 'master' into poll_stat 2017-05-08 11:35:00 -07:00
Yuxuan Li 85d3a53905 change gpr_atm to int 2017-05-08 06:24:34 +00:00
Craig Tiller d868a07d7c Merge github.com:grpc/grpc into uberpoll 2017-05-07 20:02:30 -07:00
Yuxuan Li 87827e03aa use lock instand of atomics, fix include position 2017-05-05 14:12:42 -07:00
Yuxuan Li bfb495d026 add override to GetPollCount() function 2017-05-05 10:57:35 -07:00
Yuxuan Li a33e2b27a1 add some comments 2017-05-04 16:13:49 -07:00
Yuxuan Li 5f9f37a33c fix minor 2017-05-04 13:39:29 -07:00
Yuxuan Li f8365cd87b clean up, fix minor issue 2017-05-03 23:29:17 -07:00
Yuxuan Li 28efff3e1e clang-format 2017-05-03 22:50:56 -07: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
Craig Tiller c3571791a5 Isolate timer checking in its own thread 2017-05-02 14:36:33 -07:00
Vijay Pai eea8cf0fe3 Add QPS tests for one-sided streaming 2017-05-02 09:26:12 -07:00
Craig Tiller f26caeedc6 clang-format 2017-04-19 06:48:05 -07:00
Craig Tiller 9354720625 Fix infinite streams in qps_test 2017-04-18 19:42:27 +00:00
Nicolas "Pixel" Noble 7c26eed838 Buildifier and wrapping test/cpp/* rules with our build system. 2017-04-13 02:03:22 +02:00
Alexander Polcyn 2018a4060d create a grpc client qps test logging reporter 2017-04-08 13:01:49 -07:00
Vijay Pai 45a9abae95 Add option to limit # of messages per stream with tests 2017-04-03 14:24:53 -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
Vijay Pai 0ff932cf08 Make sure that we hold contents of async operation until completion. 2017-03-27 16:16:52 -07:00
Nicolas "Pixel" Noble 6f7dcd0ade Clang-format. 2017-03-27 18:51:55 +02:00
Nicolas "Pixel" Noble b02dd01584 Fixing qps & benchmark. 2017-03-24 21:56:51 +01: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
Nicolas "Pixel" Noble 0a6d30bc4c Buildifier. 2017-03-22 00:51:51 +01:00
Vijay Pai 98e282a585 Eliminate std::placeholders 2017-03-16 04:47:38 -07:00
Yang Gao cedfa76471 Merge pull request #10000 from yang-g/grpc_pb_h
Include x.pb.h instead of x.grpc.pb.h for message-only protos
2017-03-15 10:33:03 -07:00
yang-g 90f43d4fa4 add missing header 2017-03-14 10:58:44 -07:00
yang-g d0084c220e Include x.pb.h instead of x.grpc.pb.h for message-only protos 2017-03-06 11:23:35 -08:00
Vijay Pai 24992060c8 Finish streams that error. Don't histogram failed ops.
Fail on failed write
2017-02-28 15:39:22 -08:00
Craig Tiller 2363cadb3e Merge branch 'cpp_bazelness' of github.com:ctiller/grpc into cpp_bazelness 2017-02-24 16:24:07 -08:00
Craig Tiller bf515b6f7f Merge github.com:grpc/grpc into cpp_bazelness 2017-02-24 16:23:50 -08:00
Craig Tiller b32ffb9145 Fixes 2017-02-17 15:47:59 -08:00
Craig Tiller 3a48847182 qps BUILD progress 2017-02-17 14:35:26 -08:00
Craig Tiller 221edc1e5b Remove dead code 2017-02-17 13:58:19 -08:00
Craig Tiller 5395aba78b Merge github.com:grpc/grpc into bwest 2017-02-02 10:29:04 -08:00
Craig Tiller 7ec4748502 Improve sync streaming benchmark, fix deadlock that can occur sometimes 2017-02-01 16:54:51 -08:00
Jan Tattermusch bd0b0546a6 windows compilation fixes 2017-02-02 00:01:09 +01:00
Sree Kuchibhotla 03370d31a8 Merge branch 'master' into poll-cv-disable 2017-02-01 08:33:33 -08:00
Robbie Shade ca7effcdff Replace timeout/scaling macros with functions. 2017-01-31 15:40:20 -05:00
Sree Kuchibhotla 70d9ca402a Excluded async_client_sync_server_* tests for poll-cv engine since it
sometimes get stuck (or extremely slow).

(https://github.com/grpc/grpc/issues/8545) created to debug poll-cv
issues with async_client_sync_server perf tests
2017-01-27 10:54:05 -08:00
apolcyn 44e907af0e Merge pull request #9322 from apolcyn/deprecate_benchmark_core_lists
Don't configure core lists in in benchmark driver
2017-01-17 17:30:41 -08:00
Alexander Polcyn 62a7ca8c95 re-run clang-format.sh 2017-01-12 11:32:15 -08:00
lyuxuan def69b3075 Merge pull request #8816 from lyuxuan/cpu_usage2
sending cpu load latency performance test results to big query
2017-01-12 06:27:19 -08:00
Alexander Polcyn 6ff1ca4871 re-run generate project to build qps json driver 2017-01-11 14:25:55 -08:00
Alexander Polcyn 8a0ef63dea remove LimitCores in c++ benchmark 2017-01-11 13:52:01 -08:00
Alexander Polcyn a6e796f58f ignore core counts and core lists in qps json driver 2017-01-11 13:49:43 -08:00
Yuxuan Li ac87a46225 enable uploading server cpu usage data from performance tests to big query 2017-01-11 10:01:16 +00:00
Yuxuan Li 98c0bd7c82 add setting channel args functionality to performance tesing
setting channel args --draft

clang-format
2017-01-11 08:01:40 +00:00
Jan Tattermusch 9f89107f17 better qps_json_driver message when QPS_WORKERS env is missing 2016-12-21 12:20:37 +01:00
Alexander Polcyn 4873d30ea2 allow disable core_list setting and override qps server in benchmarks 2016-12-20 19:24:43 -08:00
Alex Polcyn fcf09ea42e handle empty string for qps workers in driver and dont quit them on netperf 2016-12-06 04:00:05 +00:00
Mark D. Roth bf25e240bc Fix test name conflict in import. Also use low-thread-count variant for asan. 2016-12-05 09:39:01 -08:00
David Garcia Quintas 3c5a868a1b PR comments #2 2016-11-30 11:26:58 -08:00
David Garcia Quintas 523a4aa0a0 PR comments 2016-11-30 10:50:39 -08:00
David Garcia Quintas a0a3c411d1 Merge branch 'master' of github.com:grpc/grpc into json_localhost_carnage 2016-11-29 17:31:07 -08:00
David Garcia Quintas d6936b6bee PR comments 2016-11-29 17:22:48 -08:00
Mark D. Roth 0d8c9cf1d5 Merge pull request #8868 from markdroth/fixit_qps
Improve subproccess cleanup in json_run_localhost.
2016-11-29 09:53:02 -08:00
Craig Tiller 9564cf9f0a Take into account all the configs 2016-11-29 09:12:48 -08:00
Mark D. Roth c56d3ebd7e Improve logging. 2016-11-29 07:32:39 -08:00
David Garcia Quintas 6deadf5b88 Propagate termination signals to subprocesses 2016-11-28 18:02:37 -08:00
Craig Tiller c991e80e07 Limit outstanding rpc count for synchronous {client,server} tsan tests 2016-11-28 16:18:07 -08:00
Craig Tiller ab34b12e50 Make a better educated guess about CPU costs of a benchmark 2016-11-28 13:19:12 -08:00
Craig Tiller f739c058b7 Make a better educated guess about CPU costs of a benchmark 2016-11-28 13:04:51 -08:00
Mark D. Roth 37d5f9b4e5 Add debug logging for process termination state. 2016-11-28 10:45:00 -08:00
Vijay Pai aaefa958d7 Merge pull request #8638 from vjpai/conform
Improve C++11 conformance
2016-11-10 14:57:05 -08:00
lyuxuan 3b51f0b492 Merge pull request #8313 from lyuxuan/cpu_usage2
Get server cpu usage info and search for offered_load value that achieves targeted cpu usage
2016-11-08 12:15:15 -08:00
Craig Tiller b720b609ea Merge github.com:grpc/grpc into grpc_slice 2016-11-08 07:20:27 -08:00
Vijay Pai ef22989484 Merge branch 'master' into conform 2016-11-07 14:40:22 -08:00
Yuxuan Li 12df928362 fixing override 2016-11-07 13:22:18 -08:00
Yuxuan Li 8114153015 Merge branch 'master' into cpu_usage2 2016-11-07 11:43:11 -08:00
Craig Tiller 314f43991c Increase test timeouts
These tests are failing when run as a batch, but passing when run in
isolation.

Suspect something more is up, but this will at least make our builds
much greener until we figure that out.
2016-11-04 15:34:42 -07:00
Vijay Pai 56540ba9f9 clang-format 2016-11-04 10:02:31 -07:00
Craig Tiller 32df467f11 Merge github.com:grpc/grpc into grpc_slice 2016-11-04 08:21:56 -07:00
Vijay Pai f4671bfaef Remove a namespace and start using a lambda for a small function 2016-11-04 07:51:25 -07:00
Vijay Pai c01958bf55 Cleanup unneeded namespace 2016-11-04 07:51:25 -07:00
Vijay Pai f2764e76f9 clang-format 2016-11-04 07:51:24 -07:00
Vijay Pai 90102c2bfc Eliminate unnecessary uses of new[]/delete[] that can be replaced
with vector

Also start eliminating uses of plain-old delete that are not helpful
2016-11-04 07:51:24 -07:00
Vijay Pai e140d5c60d Regenerate all projects 2016-11-01 16:53:21 -07:00
Vijay Pai 713c7b87e1 clang-format 2016-11-01 16:33:18 -07:00
Vijay Pai c0b2acb1a0 Use C++11 final and override 2016-11-01 16:31:56 -07:00
Yuxuan Li d68ea95f30 fixing conflicts with new upstream master 2016-10-28 14:39:41 -07:00
Yuxuan Li c9ca0a9e70 clang-format for recently changed files. merged upstream master 2016-10-28 14:08:36 -07:00
Yuxuan Li 5a991e227b Merge branch 'master' into cpu_usage2 2016-10-28 14:04:41 -07:00
Craig Tiller b7982319c9 Merge github.com:grpc/grpc into grpc_slice 2016-10-28 07:22:08 -07:00
Craig Tiller 86cb138ee9 Handle failed calls in sync client 2016-10-27 15:29:49 -07:00
Craig Tiller d41a4a720f s/gpr_slice/grpc_slice, and move around tests, impls 2016-10-26 16:16:06 -07:00
Yuxuan Li 1a9a0d8da8 fix logging problem 2016-10-26 11:12:16 -07:00
Yuxuan Li aa7411da04 minor fix for usage_timer.cc 2016-10-25 13:23:44 -07:00
Yuxuan Li 60d55f80c4 Change flag precision to flag stride, better description.
Add flag error_tolerence to define the search stopping criteria.
Move the equal condition in the binary search to smaller than condition.
Wrap get_cpu_usage(), so on non-linux platform, the compiler won't
complain and will get cpu usage to be 0.
2016-10-21 18:18:29 -07:00
Craig Tiller 8f67b647fd Merge github.com:grpc/grpc into buffer_pools_for_realsies 2016-10-20 15:53:04 -07:00
Craig Tiller afcc8752f3 clang-format 2016-10-18 16:10:06 -07:00
Vijay Pai d923583768 Minor cleanup - remove an unneeded header, mark a class final, explicitly specify parent class 2016-10-18 11:40:57 -07:00
Craig Tiller 20afa3d7c9 BufferPool --> ResourceQuota 2016-10-17 14:52:14 -07:00
Craig Tiller 654b242ce7 Merge branch 'direct-calls' into buffer_pools_for_realsies 2016-10-17 14:31:44 -07:00
Craig Tiller 14c836fcd1 Delambdaify 2016-10-17 13:56:13 -07:00
Craig Tiller b019d61f9a Fix benchmark shutdown 2016-10-17 13:23:51 -07:00
Craig Tiller c99945e44c Merge branch 'direct-calls' into buffer_pools_for_realsies 2016-10-10 10:20:48 -07:00
Craig Tiller fdc2b10dce Merge github.com:grpc/grpc into direct-calls 2016-10-10 10:16:35 -07:00
Mark D. Roth 70c0b32c0f Merge pull request #8219 from markdroth/fail_fast
Change C++ API to expose wait_for_ready instead of fail_fast.
2016-10-07 13:06:59 -07:00
Yuxuan Li c6c6cc269e change default values flags 2016-10-06 18:28:05 -07:00
Yuxuan Li 6a5b9924f3 resolve out_of_range error from stoi function. 2016-10-06 17:31:40 -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 77c18981c2 change binary search log info from GPR_INFO to GPR_DEBUG 2016-10-06 15:06:29 -07:00
Yuxuan Li c265a0ab02 clean up unnecessary new lines and logging. 2016-10-06 15:06:22 -07:00
Yuxuan Li 49aeb59389 clang-formated and latency_vs_load.cc is deleted as its functionality
has been merged into qps_json_driver.
2016-10-06 15:06:01 -07:00
Yuxuan Li d31c78c6f0 updated protobuf, merged latency_vs_load.cc(not deleted yet) and qps_json_driver.cc 2016-10-06 15:05:55 -07:00
Yuxuan Li 58977f1466 initial merge of latency vs load to qps_json_driver.cc 2016-10-06 15:05:50 -07:00
Yuxuan Li fe21ec90f6 batched changes 2016-10-06 15:05:29 -07:00
Craig Tiller 624f4ba76d Add missing delete 2016-10-06 11:56:54 -07:00
Craig Tiller 0895545a58 Complete reporting for failure rates 2016-09-29 11:01:14 -07:00
Craig Tiller 032f9bfb58 Start to log errors from benchmark 2016-09-29 10:10:00 -07:00
Craig Tiller 1a8c52e479 Collect stats on # failed requests 2016-09-28 17:28:04 -07:00
Craig Tiller 0c80c7d12c Collecting failure status progress 2016-09-28 16:30:55 -07:00
Mark D. Roth 5db24978b6 Merge remote-tracking branch 'upstream/master' into fail_fast 2016-09-28 13:21:31 -07:00
Craig Tiller f91af0001d Merge github.com:grpc/grpc into direct-calls 2016-09-28 11:00:12 -07:00
Mark D. Roth 9477724003 Change C++ API to expose wait_for_ready instead of fail_fast. 2016-09-27 13:07:00 -07:00
Craig Tiller af9da92a60 Dont run benchmarks outside of linux for now 2016-09-27 12:47:19 -07:00
Craig Tiller 91bb6241ab Reduce # of benchmarks run as Jenkins unit tests 2016-09-27 12:46:08 -07:00
Craig Tiller 5abf79a91b Merge github.com:grpc/grpc into direct-calls 2016-09-23 13:51:00 -07:00
yang-g e267f86c43 Properly init variable 2016-09-22 14:15:46 -07:00
Craig Tiller ba1db3b630 Merge github.com:grpc/grpc into direct-calls 2016-09-15 15:57:35 -07:00
Craig Tiller 9e1c2d2358 Dont start requests until all clients have gotten connected 2016-09-14 08:37:10 -07:00
Craig Tiller 531976a6d4 Add an initial mark that clients could use to delay startup of requests 2016-09-14 08:28:37 -07:00
Craig Tiller 44b12f9e23 clang-format 2016-09-08 10:06:14 -07:00
Craig Tiller cd1feaab30 Merge pull request #7816 from ctiller/benchmark-verbosity
Increase log verbosity for benchmark driver
2016-09-07 14:33:56 -07:00
Craig Tiller 0cb5a89d6f Merge branch 'benchmark-verbosity' into direct-calls 2016-09-07 14:25:38 -07:00
Craig Tiller bd37a21c26 Cleanup, debug support 2016-09-07 11:28:56 -07:00
Craig Tiller 8ef0eda856 Merge github.com:grpc/grpc into merge-parse 2016-08-22 11:39:08 -07:00
Craig Tiller daf4699652 Merge pull request #6732 from ctiller/consistent_client_count
Make client_channels be across all clients, not per-client
2016-08-22 08:34:38 -07:00
Craig Tiller 74a1d9a939 Increase log verbosity for benchmark driver 2016-08-22 08:33:02 -07:00
Craig Tiller 378ffd8cc3 Merge github.com:grpc/grpc into merge-parse 2016-08-18 13:03:23 -07:00
kpayson64 0c6cce12b4 Merge pull request #7648 from vjpai/qps_better_ptr
Use unique_ptr properly in QPS async tests
2016-08-15 13:02:44 -07:00
Craig Tiller ca04562286 Timing nuances 2016-08-09 08:38:03 -07:00
Vijay Pai f50020ce03 Appease the const gods, improve readability, stop using 0 and 1 as
proxies for false and true.
2016-08-08 07:29:31 -07:00
Vijay Pai d02988d6b5 clang-format 2016-08-05 09:47:47 -07:00
Vijay Pai 25128f1adf Better ending for open-loop tests: never wait more than 1 second
if we are in termination mode
2016-08-05 09:45:03 -07:00
Vijay Pai 773ecd62dd Dramatically reduce time required to complete sync test when running
with lots of threads (by parallelizing shutdown of course)
2016-08-05 09:26:56 -07:00
Vijay Pai 4f17395b81 Properly use unique_ptr rather than explicitly
deleting server context wrappers in QPS test
2016-08-05 01:32:34 -07:00
Vijay Pai 6e5c33c3e2 Don't assert if we're not able to set affinity for some reason 2016-07-30 02:56:46 -07:00
Craig Tiller ad94fdfe51 Fix compile error 2016-07-15 06:42:29 -07:00
Craig Tiller b23239b6d8 Merge branch 'histo' of github.com:vjpai/grpc into delayed-write 2016-07-15 06:37:41 -07:00
Craig Tiller 0a06cd7b68 Cleanup from code review 2016-07-14 13:21:24 -07:00
Vijay Pai 5fde20d9f0 clang-format 2016-07-13 19:25:59 -07:00
Vijay Pai 40317fd720 Resolve pernicious race between destructor and thread functions by insisting that destructor is invoked after the class has gone back to being a harmless single-threaded thing. 2016-07-13 19:20:25 -07:00
Craig Tiller 8da7b1f779 Fix some failures 2016-07-13 15:06:00 -07:00
Vijay Pai ad7c527618 Temporary workaround by setting up a deadline on server shutdown.
This reveals an issue that needs to be solved:
D0713 14:48:28.049861213   14503 server.c:704]               Waiting for 44 channels and 0/1 listeners to be destroyed before shutting down server
2016-07-13 14:51:44 -07:00
Vijay Pai a831651aa5 Unify and make consistent the per-thread shutdown process 2016-07-13 10:32:26 -07:00
Craig Tiller b5ee1cdcb9 Dont stall shutting down server 2016-07-13 08:39:35 -07:00
Craig Tiller 38fb8de100 get timeouts working on run_tests.py again 2016-07-13 08:23:32 -07:00
Craig Tiller e64d693050 Better fine-tuning 2016-07-12 20:53:16 -07:00
Craig Tiller 61e2040de0 Get json_run_localhost working again 2016-07-12 17:26:52 -07:00
Craig Tiller 72376da8ba Get json_run_localhost working again 2016-07-12 17:14:37 -07:00
Craig Tiller 9e3691c5bd Actually run json_run_localhost tests 2016-07-12 16:29:46 -07:00
Craig Tiller b19dbead67 Make request freelists per cq, to allow drastically higher requested call counts 2016-07-12 15:33:11 -07:00
Craig Tiller 1d03e100eb Ensure timely response to marks 2016-07-12 09:50:56 -07:00
Vijay Pai f782465fba Fix some shutdown errors related to CQ/join ordering 2016-07-08 10:33:10 -07:00
Vijay Pai aa8bbeb6c6 Merge branch 'verbose_errors' into histo 2016-07-08 09:41:59 -07:00
Vijay Pai f373f2cf8b Stop holding histogram for a long time 2016-07-08 09:40:55 -07:00
Craig Tiller fbf03c1735 Fix high seqno tests, up runtimes for benchmark tests to flush more bugs 2016-07-07 13:10:09 -07:00
Vijay Pai ceb1a7d79f Add more information so that we can have a meaningful exit code 2016-07-07 11:06:04 -07:00
vjpai b0f15e8af3 Reduce assertions, use status codes, increase verbosity on errors 2016-07-06 13:57:01 -07:00
Craig Tiller 346da5f346 Merge github.com:grpc/grpc into consistent_client_count 2016-06-28 14:09:08 -07:00
Craig Tiller 5b47ac385b Colocate calls for the same channel on the same CQ 2016-06-27 15:47:17 -07:00
Craig Tiller c074408bd3 Merge github.com:grpc/grpc into consistent_client_count 2016-06-23 11:57:26 -07:00