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
Vijay Pai
9f991e252d
More changes needed for generic support
2016-01-07 14:08:09 -08:00
Vijay Pai
18c0477528
Got rid of all compilation problems, now need to test
2016-01-04 09:52:10 -08:00
Vijay Pai
e488668075
WIP
2015-12-30 11:56:19 -08:00
Craig Tiller
1b4e33029e
Consolidate C++ proto files under src/proto
...
- make the directory structure match the package structure
- sanitize the package structure (test --> testing)
- add auto-detection of proto file dependencies
2015-12-17 16:35:00 -08:00
vjpai
594f0c43e0
Merge branch 'master' into bbuf
2015-11-30 15:53:49 -08:00
vjpai
b6df94ad22
WIP
2015-11-30 15:52:50 -08:00
Craig Tiller
3c53bb2f46
clang-format
2015-11-10 14:24:36 +00:00
vjpai
fba20c987d
Address some review comments about signal and restoring qps_test_with_poll
...
Make payloads respect the new defaults
2015-11-04 14:49:17 -08:00
Vijay Pai
ce84670628
clang-format
2015-11-04 00:30:12 -08:00
vjpai
780a7f205d
Add in security support, make payload protos configurable
...
Have not yet added tests with security support, coming soon
2015-11-04 00:19:09 -08:00
vjpai
d08a738166
Cleanup some names
...
Remove some unused options and make server_threads relevant
Start stubbing out better qps/core calculations
2015-11-02 16:45:08 -08:00
vjpai
119c103ab0
Split up into a new service proto, use proper service suffix, add a
...
reset option to the mark, create a closed loop config params (empty
message) for consistency with other tests.
2015-10-29 01:21:04 -07:00
vjpai
754751e3c6
Numerous proto changes to make things more sane and fix some outstanding issues
2015-10-28 09:16:22 -07:00
vjpai
52bfb2564f
Split qpstest.proto into two parts - one for performance stats and
...
one for control.
Eliminate the use of our own SimpleRequest and SimpleResponse and
instead share the one from end2end testing
2015-10-21 07:50:49 -07:00
vjpai
0cc1341199
Move qpstest.proto to a common area (test/proto) instead of test/cpp/qps
2015-10-19 12:21:45 -07:00
yang-g
9e2f90cd06
headers reorg
2015-08-21 15:35:03 -07:00
yang-g
8c2be9f228
Remove ChannelInterface and replace it with Channel
2015-08-19 16:28:09 -07:00
Vijay Pai
3ae11042fd
clang-format
2015-08-11 22:43:14 -07:00
vjpai
b1db869e1a
Address concerns from review
2015-08-11 22:41:02 -07:00
Vijay Pai
ad3e00c220
Stop using a variable-sized array since that's not standards-compliant
2015-08-07 17:21:08 +00:00
Vijay Pai
90e7369484
clang-format plus helpful comments
2015-08-05 19:15:36 -07:00
Vijay Pai
eed63fa267
Remaining changes needed to get QPS test working on old compilers.
...
This change contains a lot of ugly changes, such as changing
std::vector to allocation by new, etc.
2015-08-05 23:08:34 +00:00
Vijay Pai
784005b4a2
Eliminate lambda used as CV predicate
2015-07-31 10:53:42 -07:00
Vijay Pai
ab1dba72dc
clang-format
2015-07-31 09:09:09 -07:00
vjpai
e88bb07895
Switch a push_back to emplace_back to avoid being interpreted
...
as a copy constructor
2015-07-31 08:39:31 -07:00
vjpai
a9e08303d7
Remove lambda from client definition
2015-07-31 07:55:06 -07:00
Vijay Pai
372fd8791b
Revert "Revert "Open loop sync/async multithreaded testing""
2015-06-08 13:30:08 -07:00
Craig Tiller
d55636d813
Revert "Open loop sync/async multithreaded testing"
2015-06-08 10:12:46 -07:00
Vijay Pai
36403af71e
Address review comments for code clarity
2015-06-05 11:19:03 -07:00
Vijay Pai
cf3fb092cc
clang-format
2015-06-05 03:41:30 -07:00
Vijay Pai
9dc5c15b56
Account for time difference in mac and linux
2015-06-03 11:34:53 -07:00
Vijay Pai
8559485c23
Bug fix
2015-06-03 11:01:25 -07:00
vjpai
3beb20c3e2
Support use of high_res clock in timepoints
2015-06-02 13:58:44 -07:00
vjpai
924d459c27
Fix timer issues
2015-06-02 10:26:52 -07:00
vjpai
675140ca1d
Merge branch 'master' into poisson
...
Conflicts:
Makefile
test/cpp/qps/client_async.cc
test/cpp/qps/qpstest.proto
2015-05-28 10:09:32 -07:00
Craig Tiller
5c8737d171
clang-format qps code - it was getting out of hand
2015-05-21 11:42:17 -07:00
vjpai
37f7257529
WIP
2015-05-12 10:29:07 -07:00
vjpai
c6aa60e510
Move interarrival timer to Client class so that it can be used for async tests
...
as well
2015-04-29 10:20:41 -07:00
Craig Tiller
66f37b477d
Merge github.com:google/grpc into qps
...
Conflicts:
Makefile
2015-04-10 08:28:31 -07:00
Nicolas "Pixel" Noble
0caebbfcfe
Splitting gRPC service class codegen into its own set of files.
2015-04-09 23:08:51 +02:00
Craig Tiller
8a5a666ad0
Handle errors better on client
2015-04-09 11:31:28 -07:00
vjpai
46f65239cf
Added streaming C++ tests for sync and sync cases
2015-03-23 10:10:27 -07:00
Craig Tiller
a182bf12b0
clang-format
2015-03-04 13:54:39 -08:00
Craig Tiller
e38ec21122
Linux compile fix
2015-03-04 11:19:15 -08:00
Craig Tiller
8856875900
Async client progress
2015-03-04 10:50:43 -08:00
Craig Tiller
6af9ed0bf7
Rework QPS client/server
...
Now setup as a driver and N anonymous workers that may become clients or servers.
Will convert async soon.
2015-03-02 22:42:10 -08:00
Craig Tiller
26598a394a
WIP
2015-03-02 16:16:00 -08:00