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
Craig Tiller
96cca4e83a
Merge branch 'qps_driver' of github.com:ctiller/grpc into qps_driver
2015-03-04 13:40:06 -08:00
Craig Tiller
c98bef7303
Compile fix
2015-03-04 13:01:21 -08:00
Craig Tiller
a8dc37a2dd
Rename some files
2015-03-04 12:56:00 -08:00
Craig Tiller
d6479d6cc4
Async server works
2015-03-04 12:50:11 -08:00
Craig Tiller
ef63839042
Async client works
2015-03-04 12:23:12 -08:00
Craig Tiller
e38ec21122
Linux compile fix
2015-03-04 11:19:15 -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
Craig Tiller
f282514389
Print resource utilization
2015-03-03 17:15:36 -08:00
Craig Tiller
d701c5f5c3
Formatting
2015-03-03 16:05:04 -08:00
Craig Tiller
76877c3f66
Generate latencies in driver
2015-03-03 16:04:23 -08:00
Craig Tiller
e70a0cc7e5
Merge github.com:grpc/grpc into qps_driver
2015-03-03 15:21:34 -08:00
Craig Tiller
10923c2fb5
Formatting
2015-03-03 14:24:49 -08:00
Craig Tiller
e7460e87d3
Merge github.com:grpc/grpc into credit
2015-03-03 13:48:40 -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
Vijay Pai
acf6f318fc
Better use of threads, avoid thread safety issues on destructor with
...
a proper join.
Also had been misusing EXPECT_EQ, as well as actually having an invalid
expectation on the ok field. Now it should be sane.
2015-03-02 15:13:39 -08:00
Craig Tiller
3e9cbc749a
Merge github.com:grpc/grpc into qps_driver
2015-03-02 09:15:23 -08:00
Craig Tiller
61691f92c3
Merge github.com:grpc/grpc into credit
2015-03-02 08:51:52 -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
5b39f9a9fb
refresh -> Reset
2015-02-27 09:33:00 -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