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
vjpai
07b2fe6f96
Move end_threads to subclass since some subclass-specific fields will still be
...
alive at this time
2015-04-29 10:40:26 -07:00
Vijay Pai
fec0c2cdda
Merge pull request #1375 from ctiller/qps_client
...
Fix a race in QPS client shutdown
2015-04-28 07:55:54 -07:00
Craig Tiller
98ae48d63c
Ignore SIGPIPE
2015-04-27 11:20:39 -07:00
Craig Tiller
77e0d64b4d
Fix a race in QPS client shutdown
...
Previously we were cleaning up threads only AFTER local resources were
reclaimed, leading to many crashes.
2015-04-27 10:52:54 -07:00
Yang Gao
c4b6ffb1b6
Add a GrpcLibrary class to wrap grpc_init and grpc_shutdown and convert all the tests to init/shutdown free.
2015-04-24 13:09:40 -07:00
Yang Gao
103837ee6b
Wrap ParseCommandLineFlags in InitTest
2015-04-15 15:23:54 -07:00
Craig Tiller
217b7f0e80
Merge branch 'qps' into local_worker
...
Conflicts:
Makefile
build.json
test/cpp/qps/worker.cc
2015-04-10 08:31:37 -07:00
Craig Tiller
66f37b477d
Merge github.com:google/grpc into qps
...
Conflicts:
Makefile
2015-04-10 08:28:31 -07:00
Craig Tiller
66048f4fc1
Add reporting library, use it
2015-04-10 08:23:52 -07:00
Craig Tiller
41faf0f4c8
s/11/1
2015-04-10 08:06:05 -07:00
Craig Tiller
e9a6eb7332
Allow RunScenarios to spawn in-process workers
...
This allows us to get back to single binary tests where appropriate, which will help in-depth profiling efforts.
I've built this atop my smoke_test changes as they inspired me to get this done.
2015-04-09 15:51:41 -07:00
Craig Tiller
c908eb65df
:Merge branch 'qps' of github.com:ctiller/grpc into qps
2015-04-09 21:46:49 +00:00
Craig Tiller
4cc8a172f5
Tweaks
2015-04-09 21:46:33 +00:00
Yang Gao
3ca65e3228
Merge pull request #1238 from nicolasnoble/plugin-rework
...
Splitting gRPC service class codegen into its own set of files.
2015-04-09 14:35:42 -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
206d59a56a
fine tuning
2015-04-09 20:06:33 +00: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
Craig Tiller
2c2cf6d2c5
Smoke test initial version
2015-04-09 09:40:20 -07:00
Craig Tiller
b9de09f2ac
Allow specifying warmup, benchmark times
2015-04-08 17:08:05 -07:00
Vijay Pai
f2554d051b
Revive proper SIGINT handling
2015-04-02 13:58:27 -07:00
Vijay Pai
54e16ee548
Put in calls to profiling
2015-03-31 12:50:56 -07:00
Vijay Pai
49673133b3
Remove unused header file for profiler
2015-03-31 12:39:51 -07:00
Vijay Pai
ce3bd9680b
Remove outdated file
2015-03-31 12:06:20 -07:00
Yang Gao
fa50753059
Merge pull request #1113 from vjpai/qps-stream
...
Add C++ streaming QPS test, fix bug in async C++ tests
2015-03-27 10:10:29 -07:00
vjpai
4bcab68012
Include the config.h file to make sure that nullptr is covered
2015-03-26 13:21:24 -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
6266b9341c
Sweep different parameter sets in a single shell script.
2015-03-23 14:38:18 -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
Vijay Pai
8ad32091e6
Make sure that nothing gets added to cq after shutdown
2015-03-23 12:44:28 -07:00
Vijay Pai
55bb5bdf80
No need to do an extra read
2015-03-23 12:44:09 -07:00
Vijay Pai
c5b397927c
test return value of rpc parse
2015-03-23 10:46:37 -07:00
vjpai
653803e310
Make RPC type configurable
2015-03-23 10:19:12 -07:00
vjpai
46f65239cf
Added streaming C++ tests for sync and sync cases
2015-03-23 10:10:27 -07:00
Jan Tattermusch
5e36d0d474
Merge pull request #1093 from nicolasnoble/windows
...
Various Windows fixes.
2015-03-19 10:29:47 -07:00
Nicolas Noble
cfd6073a66
Various Windows fixes.
...
-) using dupenv_s instead of getenv_s and calling strdup ourselves.
-) few impossible-to-obtain if checks.
-) various signed/unsigned casting.
-) using time_t instead of time32_t
-) checking output of FormatMessage for failures.
-) don't redefine _WIN32_WINNT without undefining it first.
-) fixed msvc's interlocked casting.
-) renamed AddPort to AddListeningPort.
-) added protobuf's third_party includes to search path.
-) added a missing definition for inet_ntop in mingw32.
-) removed useless declarations.
2015-03-19 04:21:22 +01: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
68de8e91cc
Merge github.com:grpc/grpc into credit
2015-03-05 15:45:46 -08:00
Craig Tiller
43ef582e42
override --> GRPC_OVERRIDE
2015-03-04 20:01:09 -08:00
Craig Tiller
78524b75d7
Compile fix
2015-03-04 17:13:03 -08:00
Craig Tiller
2eaf1596bb
ACTUALLY set the server thread pool
2015-03-04 14:47:18 -08:00
Craig Tiller
a182bf12b0
clang-format
2015-03-04 13:54:39 -08:00
Craig Tiller
50a976f56c
Linux compile fix
2015-03-04 13:40:52 -08:00