Alistair Veitch
ddb163a0e4
merge
2016-02-02 13:33:44 -08:00
Alistair Veitch
75d5c0f024
post merge
2016-02-02 09:43:02 -08:00
Vijay Pai
c5eec2be89
Make dynamic sizing of async threads work again
2016-02-01 09:46:30 -08:00
David Garcia Quintas
6523391782
sanity fixes
2016-01-27 20:07:36 -08:00
David Garcia Quintas
b4e51b52bd
Merge branch 'master' of github.com:grpc/grpc into sync-async-plus-interfaces
2016-01-27 19:57:58 -08:00
Vijay Pai
16e45702ac
clang-format
2016-01-27 14:51:12 -08:00
Vijay Pai
7d8335f875
Don't log newlines
2016-01-27 12:00:41 -08:00
Vijay Pai
32baa5e622
Allow dynamic sizing of async client and server thread pools
2016-01-27 10:01:41 -08:00
David Garcia Quintas
6a48405ed0
pre sync_stream.cc creation. Does not compile
2016-01-25 19:12:37 -08:00
yang-g
8053d2feb6
Merge remote-tracking branch 'upstream/master' into sync_async_mix
2016-01-15 08:53:15 -08:00
David Garcia Quintas
2bf574f814
Added back trailing newlines
2016-01-14 15:55:03 -08:00
yang-g
b9a1377fab
Merge remote-tracking branch 'upstream/master' into sync_async_mix
2016-01-14 09:50:48 -08:00
Craig Tiller
754bd26e28
clang-format code
2016-01-14 06:10:15 -08:00
murgatroid99
eeb02ba77a
Update copyrights again
2016-01-13 20:43:33 -08:00
yang-g
d42262e22e
merge with head
2016-01-13 15:32:51 -08:00
Vijay Pai
5bd6f2e190
Merge branch 'master' into bbuf
2016-01-11 10:33:39 -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
b6df94ad22
WIP
2015-11-30 15:52:50 -08:00
Vijay Pai
ce84670628
clang-format
2015-11-04 00:30:12 -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
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
ab1dba72dc
clang-format
2015-07-31 09:09:09 -07:00
vjpai
09d0b0cf47
Remove lambdas from state machine functions
2015-07-31 08:39:54 -07:00
Vijay Pai
13735d5d7e
if->while
2015-07-01 14:00:08 -07:00
Vijay Pai
5606199585
Delete spare contexts lying around at the end of the test to avoid
...
showing up as memory leaks
Also reduce the rate of the openloop test - this may be an issue with
sanitizers particularly because of issue #2278
2015-07-01 13:39:48 -07:00
Vijay Pai
e2980cd0b3
Eliminate data-race caused by specialization in vector<bool>
2015-07-01 09:38:20 -07:00
Craig Tiller
0960875b06
Remove spammy line (this is obfuscating testing logs)
2015-06-22 14:32:31 -07:00
Yang Gao
b6d57e704b
add missed explicit
2015-06-09 22:11:12 -07:00
Vijay Pai
d9c7e7e373
Stop worrying about 1 second deadline as a fatal problem
...
Also fix reporter
2015-06-08 13:44:25 -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
vjpai
191b67437b
Address reviewer comment by not having non-const reference
2015-06-05 14:18:42 -07:00
Vijay Pai
cf3fb092cc
clang-format
2015-06-05 03:41:30 -07:00
Vijay Pai
c7de81e57e
Better management of channel attempts and channel coverage
2015-06-05 03:32:03 -07:00
Vijay Pai
db398e0609
Omit redundant record-keeping
2015-06-05 02:49:51 -07:00
Vijay Pai
06c995137b
Take some code out from under a lock_guard and try to
...
maintain affinity of next_channel whenever possible
2015-06-05 02:32:39 -07:00
Vijay Pai
7b172b2411
Get the code to stop crashing by fixing bugs
2015-06-05 02:03:18 -07:00
vjpai
dc0615fa87
Init a variable
2015-06-04 10:54:24 -07:00
vjpai
d1dce90c9a
Minor fixes
2015-06-04 10:48:43 -07:00
Vijay Pai
8eedd4a2c6
Context activation for async
2015-06-03 15:39:35 -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
7abc4e720c
Invoke LoadTest setup
2015-06-03 10:33:41 -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
6a608020b0
WIP
2015-05-18 09:16:53 -07:00
vjpai
37f7257529
WIP
2015-05-12 10:29:07 -07:00
Craig Tiller
3676b38183
Lose redundant tag on unary calls
2015-05-06 13:01:05 -07:00
vjpai
041998d986
Change function-pointer to std::function
2015-05-04 09:24:08 -07:00
Vijay Pai
e10ebf15eb
Keep code that is common between both async client versions in a new async superclass and only use unary/streaming-specific material in the subclass.
2015-04-30 13:12:31 -07:00
Craig Tiller
66f37b477d
Merge github.com:google/grpc into qps
...
Conflicts:
Makefile
2015-04-10 08:28:31 -07:00
Craig Tiller
41faf0f4c8
s/11/1
2015-04-10 08:06:05 -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
8221e40ac0
Indentation fixes, s/11/1/g
2015-04-09 12:23:21 -07:00
Craig Tiller
1c61af7364
Dont sleep forever on async cq
2015-04-09 12:08:44 -07:00
Craig Tiller
8a5a666ad0
Handle errors better on client
2015-04-09 11:31:28 -07:00
Craig Tiller
aa2fca5a48
Remove asserts
2015-04-09 10:56:06 -07:00
Vijay Pai
49673133b3
Remove unused header file for profiler
2015-03-31 12:39:51 -07:00
Vijay Pai
bef9cbc7dc
Eliminate range-based fors
2015-03-26 11:02:06 -07:00
Vijay Pai
9032adcbef
Fix conflicts
2015-03-26 10:32:52 -07:00
Vijay Pai
82dd80abc6
Elminate range-based fors and work around some other limitations in older compilers
2015-03-24 10:36:08 -07:00
Vijay Pai
1da729ad7d
Merge branch 'qps-stream' of https://github.com/vjpai/grpc into vjpai-qps-stream
2015-03-23 12:52:56 -07:00
vjpai
46f65239cf
Added streaming C++ tests for sync and sync cases
2015-03-23 10:10:27 -07:00
Yang Gao
6baa9b67ad
clang-format c++ code
2015-03-17 10:49:39 -07:00
Chilledheart
4be94b9541
Add missing GRPC_OVERRIDE, NFC
...
Testing asan configuration with the latest clang compiler fails due to
the warning `-Winconsistent-missing-override`. This patch fixes it.
2015-03-10 00:46:10 +08:00
Craig Tiller
a182bf12b0
clang-format
2015-03-04 13:54:39 -08:00
Craig Tiller
ef63839042
Async client works
2015-03-04 12:23:12 -08:00
Craig Tiller
d1e18faefc
Async client progress
2015-03-04 10:51:03 -08:00
Craig Tiller
8856875900
Async client progress
2015-03-04 10:50:43 -08:00
vjpai
4e1e1bc28e
Revert "Use typedefs to avoid triply-nested function templates"
...
This reverts commit 45b0bc4bec .
This revert is being done because the compilers on Travis don't
understand the C++11 template/using syntax.
2015-02-27 23:47:12 -08:00
vjpai
45b0bc4bec
Use typedefs to avoid triply-nested function templates
2015-02-27 16:54:17 -08:00
vjpai
6e2e64a8b4
Stop abusing operator() overloading
2015-02-27 09:28:28 -08:00
vjpai
9440a14558
Move std::bind call out of main loop, change constructor appropriately
2015-02-27 09:19:09 -08:00
vjpai
cd801c8531
<:: -> < ::
2015-02-27 07:21:31 -08:00
vjpai
3c11066217
override->GRPC_OVERRIDE
2015-02-27 07:17:16 -08:00
Vijay Pai
64ac47f389
clang-format all these files
2015-02-26 17:59:51 -08:00
vjpai
56c5129629
Rename Async methods from generator to avoid naming conflicts to
...
bind and other functions
2015-02-26 17:01:35 -08:00
vjpai
dea740f329
New multithreaded async C++ tests. The server is architected the way
...
that it should be with multiple threads waiting on a single
completion queue.
The client currently uses a separate completion
queue per-thread, as trying to do a single unified queue was leading
to crashes for me. I need to figure that out.
2015-02-26 16:35:35 -08:00