Commit Graph

494 Commits

Author SHA1 Message Date
David Klempner e27d189f21 Factor out json seriailzation code and move it into parse_json.
This is for the same reasons as ParseJson, that is so that we can limit
the scope of the proto namespace differences between internal and
external.
2016-06-08 17:11:26 -07:00
yang-g aaee544d69 merge and resolve conflicts 2016-06-03 15:34:01 -07:00
yang-g 17487f9a22 Make grpc++ independent of protobuf 2016-06-03 15:21:15 -07:00
vjpai 711472f846 Remove unused gflags and gtest includes 2016-05-31 12:57:38 -07:00
vjpai d8364f7af5 Deprecate perf_db use 2016-05-31 12:54:04 -07:00
Craig Tiller e0ddc35aa3 Speed up tests 2016-05-23 15:57:48 -07:00
Craig Tiller 825cd4533c Cleanup redundant tests 2016-05-23 15:54:38 -07:00
Craig Tiller e67f7b6b54 Fix timeout on async server shutdown
Server was continuing to make requests for new calls forever, which were
starving out the shutdown sequence. Change order and win.
2016-05-23 14:50:24 -07:00
Craig Tiller c0cb23b885 Merge branch 'guess_cpu' into test_affine 2016-05-20 11:17:31 -07:00
Craig Tiller bd24a4611f Better guesses at benchmarks turned unit tests cpu cost 2016-05-20 11:15:58 -07:00
Craig Tiller c3b88b079e Better testing 2016-05-16 11:21:17 -07:00
Craig Tiller 52237e3a96 clang-format 2016-05-13 14:37:25 -07:00
Craig Tiller 63d24f1c7d Make qps workers connect before even warmup stage begins 2016-05-13 14:36:09 -07:00
Jan Tattermusch b85e9d43f0 fix formatting 2016-05-11 10:21:45 -07:00
Jan Tattermusch a21c7e9207 add support for scenario categories 2016-05-05 18:10:35 -07:00
Jan Tattermusch e88030a2c2 Merge pull request #6340 from ctiller/fail_fast_breaks_qps
Disable fail fast for qps driver
2016-05-02 14:26:52 -07:00
Craig Tiller 97244d5810 clang-format, make code more self-documenting 2016-04-29 08:05:57 -07:00
Craig Tiller 5c123fd22b Add a shard channel arg to client channel construction
C core automatically shares subchannels between channels. Therefore our
multiple channel performance tests were really testing single channel
performance.
2016-04-28 20:48:24 -07:00
Craig Tiller b6e4440880 Disable fail fast for qps driver 2016-04-28 08:21:52 -07:00
Nicolas Noble 241dea56c8 Merge pull request #6147 from ctiller/strong-includes
Rollup of changes from latest import
2016-04-21 18:59:06 -07:00
Craig Tiller 7beea147e5 Merge github.com:grpc/grpc into strong-includes 2016-04-21 17:07:36 -07:00
Vijay Pai dfdfe26958 Make sure that there is at least one scenario, otherwise indicates malformed
input
2016-04-21 11:38:31 -07:00
Vijay Pai 8909428a1a clang-format 2016-04-20 14:21:30 -07:00
vjpai 92abf1cfd4 Merge branch 'master' into qps_driver_youre_fired 2016-04-20 13:06:25 -07:00
vjpai 1f13c820ed Eliminate unused source file 2016-04-20 13:04:35 -07:00
vjpai 29089c7b41 Deprecation of qps_driver and use of shell scripts, in progress 2016-04-20 12:38:16 -07:00
vjpai 87bac959ee Eradicate Uniform, Deterministic, and Pareto interarrival
distributions since we don't use them and it's not sensible
to add them
2016-04-20 09:35:35 -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 6321cec58e fix formatting 2016-04-14 20:00:29 -07:00
Jan Tattermusch 453442eefb fix formatting 2016-04-14 18:05:42 -07:00
Jan Tattermusch 969ffaf5c6 Enable JSON reports for qps drivers 2016-04-14 13:13:25 -07:00
Jan Tattermusch f2ba7fe037 integrate ScenarioResult proto into qps driver 2016-04-14 13:13:25 -07:00
Craig Tiller 8f98e0b9dd Add missing file 2016-04-11 23:39:12 -07:00
Craig Tiller 3ab2fe0094 Rollup of changes from the latest import 2016-04-11 20:11:18 -07:00
Craig Tiller 0bda0b3e55 Configure performance scenarios with json
Run those json configurations as part of presubmits
2016-04-06 10:14:44 -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
Jan Tattermusch f3d7638435 Merge pull request #5877 from vjpai/make_generic_payloads_great_again
Properly set server payload config in QPS tests
2016-03-25 16:26:39 -07:00
Craig Tiller 2e1903638e Fix copyrights 2016-03-25 14:33:26 -07:00
Craig Tiller f40df23eeb Auto-changes 2016-03-25 13:38:14 -07:00
Vijay Pai b830fb3a03 Merge branch 'master' into make_generic_payloads_great_again 2016-03-24 12:54:25 -07:00
vjpai a4942a012d @jtattermusch correctly pointed out that we are not setting
payload config in our server config. This affect any generic server
tests that use anything other than 0-byte responses: essentially,
server-streaming or bidi throughput tests.
2016-03-21 12:44:02 -07:00
David Garcia Quintas ca2886a05c Made the code simpler to parse for humans 2016-03-21 12:04:18 -07:00
David Garcia Quintas 711766dc75 Ensure that no #includes are inside of a namespace. 2016-03-21 11:30:59 -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 2697f2141f Merge branch 'master' into debug_qps_stream 2016-03-10 23:53:43 -08:00
Craig Tiller baaf65546a Fix formatting 2016-03-07 22:39:11 -08:00
Craig Tiller 710d58cfae Disable profiling in qps_worker for now 2016-03-07 20:00:50 -08:00