Commit Graph

711 Commits

Author SHA1 Message Date
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