Commit Graph

97 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
Craig Tiller 32df467f11 Merge github.com:grpc/grpc into grpc_slice 2016-11-04 08:21:56 -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 c0b2acb1a0 Use C++11 final and override 2016-11-01 16:31:56 -07:00
Craig Tiller d41a4a720f s/gpr_slice/grpc_slice, and move around tests, impls 2016-10-26 16:16:06 -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 0c80c7d12c Collecting failure status progress 2016-09-28 16:30:55 -07:00
yang-g e267f86c43 Properly init variable 2016-09-22 14:15:46 -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
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 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
Vijay Pai f373f2cf8b Stop holding histogram for a long time 2016-07-08 09:40:55 -07:00
vjpai 74e6e135e9 I was trigger-happy with changes to qps_worker in the hope of improving
stability. I believe that this change was unneeded and actually
may hurt matters by holding a lock for too long.
Partially undoes #5444 , particular commit e7042b5
2016-06-08 13:32:16 -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
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
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
Craig Tiller 6169d5f7b0 Update copyrights 2016-03-31 07:46:18 -07:00
Vijay Pai c47c9497fa clang-format 2016-02-26 14:39:59 -08:00
vjpai e7042b5ddf Simplify Mark processing code 2016-02-25 20:28:05 -08:00
vjpai e2d39e08f9 Timer->UsageTimer consistently 2016-02-24 12:36:15 -08:00
Craig Tiller 732a875fe8 Add a sanity test for name aliasing 2016-02-22 15:59:19 -08:00
Vijay Pai 6583176337 clang-format 2016-02-12 15:59:03 -08:00
vjpai 7914e62d48 Attack of the const police.
I also added some unrequested const's
2016-02-12 15:57:08 -08:00
Vijay Pai 761bcb4a18 Cleanup to make it work with clang build 2016-02-11 11:59:04 -08:00
Vijay Pai 914455782f Sanity (clang-format and copyright) 2016-02-11 06:08:58 -08:00
Vijay Pai 1132c6b7db Simplify and properly implement openloop testing.
Revive it in tests as well
2016-02-11 06:05:24 -08:00
Vijay Pai 9982c6fc3a Fix random number generators and improve code style (stop using
operator overloads)
2016-02-10 14:55:33 -08:00
Vijay Pai c5eec2be89 Make dynamic sizing of async threads work again 2016-02-01 09:46:30 -08:00
Vijay Pai c64736d852 Clean-up core list usage and make it possible to reset the core list 2016-02-01 09:33:11 -08:00
vjpai 4f5146dac2 Change name from coresched to limit_cores 2016-01-19 15:28:52 -08:00
vjpai c833c82c08 Merge branch 'master' into corelimit2 2016-01-19 13:37:33 -08:00
vjpai f6269a4dca Merge branch 'master' into corelimit2 2016-01-19 08:01:47 -08:00
vjpai caace811b4 Fix asan error caused by mismatch in alloc/dealloc between new[] and
regular delete...
2016-01-18 22:15:55 -08:00
David Garcia Quintas 2bf574f814 Added back trailing newlines 2016-01-14 15:55:03 -08:00
murgatroid99 eeb02ba77a Update copyrights again 2016-01-13 20:43:33 -08:00
Vijay Pai b9a8f1ba39 Merge branch 'master' into corelimit2 2016-01-13 13:29:41 -08:00
Vijay Pai 3448c27275 clang-format 2016-01-13 11:17:13 -08:00
Vijay Pai 0e66efdadd Make core limitation work for both client and server so that we can run tests on the same
machine if desired. The core_list flags to qps_driver are comma-separated lists of
core numbers.
2016-01-13 11:15:49 -08:00
Vijay Pai 5bd6f2e190 Merge branch 'master' into bbuf 2016-01-11 10:33:39 -08:00
Vijay Pai b30bc2aad6 Remove dead code and a thus unneeded change to C++ bbuf 2016-01-11 10:11:50 -08:00
Vijay Pai 78268212ba clang-format 2016-01-11 09:55:02 -08:00
Vijay Pai af2e1cf080 Fix bugs and include build files 2016-01-11 09:54:23 -08:00