Commit Graph

117 Commits

Author SHA1 Message Date
Vijay Pai aaefa958d7 Merge pull request #8638 from vjpai/conform
Improve C++11 conformance
2016-11-10 14:57:05 -08:00
Vijay Pai 56540ba9f9 clang-format 2016-11-04 10:02:31 -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 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
Yuxuan Li d68ea95f30 fixing conflicts with new upstream master 2016-10-28 14:39:41 -07:00
Yuxuan Li 5a991e227b Merge branch 'master' into cpu_usage2 2016-10-28 14:04:41 -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 afcc8752f3 clang-format 2016-10-18 16:10:06 -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
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 fe21ec90f6 batched changes 2016-10-06 15:05:29 -07:00
Craig Tiller 0895545a58 Complete reporting for failure rates 2016-09-29 11:01:14 -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 9477724003 Change C++ API to expose wait_for_ready instead of fail_fast. 2016-09-27 13:07:00 -07:00
Craig Tiller ba1db3b630 Merge github.com:grpc/grpc into direct-calls 2016-09-15 15:57:35 -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 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 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 ca04562286 Timing nuances 2016-08-09 08:38:03 -07:00
Vijay Pai 5fde20d9f0 clang-format 2016-07-13 19:25:59 -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 c074408bd3 Merge github.com:grpc/grpc into consistent_client_count 2016-06-23 11:57:26 -07:00
Craig Tiller 5856dee7d6 Fix compile 2016-06-22 16:30:22 -07:00
Craig Tiller 88a3e93f0d Better distribution 2016-06-22 08:18:07 -07:00
Craig Tiller 7e5d46496b Better distribution 2016-06-22 08:17:27 -07:00
Vijay Pai b31a9a0900 Include <cinttypes> for PRIuPTR. Not clear why this is needed. 2016-06-16 07:50:20 +00:00
Yuchen Zeng 0ba114408e Fix gpr_log format mismatches in c++ tests 2016-06-10 15:15:44 -07:00
Craig Tiller d4aa7cf5a5 Fix negation 2016-05-31 13:59:25 -07:00
Craig Tiller 1adb13143f Add comment 2016-05-31 13:04:32 -07:00
Craig Tiller dbd03b5e2d Make client_channels be across all clients, not per-client 2016-05-31 13:00:33 -07:00
vjpai 711472f846 Remove unused gflags and gtest includes 2016-05-31 12:57:38 -07:00
Craig Tiller b6e4440880 Disable fail fast for qps driver 2016-04-28 08:21:52 -07:00
Jan Tattermusch e9a8d89dc2 fix formatting 2016-04-15 15:38:17 -07:00
Jan Tattermusch 33c161dffa populate ScenarioResult.summary in JSON report 2016-04-15 14:53:54 -07:00
Jan Tattermusch f2ba7fe037 integrate ScenarioResult proto into qps driver 2016-04-14 13:13:25 -07:00
Craig Tiller 6169d5f7b0 Update copyrights 2016-03-31 07:46:18 -07:00
Craig Tiller 9533d042d4 Fix includes 2016-03-25 17:11:06 -07:00
Vijay Pai 847baf6fe0 clang-format and fix a typo caused by saving 2016-03-14 17:23:50 -07:00
vjpai 63326281d7 1. Remove all deadlines from the RPCs and shutdown in this code.
These tests (especially unconstrained versions) can get very
   backlogged and may take a while to finish. We sometimes flake waiting
   for that. This is not hazardous (IMO), as the scripts that run these
   tests already have timeouts to make sure that these don't truly go on
   forever.

2. Make the time spent in the benchmark phase actually be
   benchmark_seconds rather than benchmark_seconds-warmup_seconds
   as it is currently.
2016-03-14 17:12:52 -07:00
vjpai 60a7e3336d Finish clients fully before finishing servers 2016-02-26 10:30:17 -08:00
Vijay Pai 02eda41d21 Do stream operations in a more idiomatic way: Write, WritesDone, Read until fail, Finish 2016-02-25 19:43:57 -08:00
Vijay Pai e40aefb829 Fix the timeout 2016-02-13 01:25:30 -08:00
Vijay Pai 8ca0faaf52 use timeouts with proper fixture multipliers rather than raw,
since tsan slows things down a lot and may complicate issues such
as shutdown.
2016-02-13 00:25:45 -08:00