vjpai
72a6332138
QPS worker no longer needs to specify server port on command line. This is part
...
of the proto if desired, or just goes to pick_unused_port_or_die if not
specified
9 years ago
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.
9 years ago
vjpai
754751e3c6
Numerous proto changes to make things more sane and fix some outstanding issues
9 years ago
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
9 years ago
vjpai
0cc1341199
Move qpstest.proto to a common area (test/proto) instead of test/cpp/qps
9 years ago
Craig Tiller
71a0f9d3b0
Fix clang-format script
9 years ago
Craig Tiller
8cf0ed03d1
Fix mac build
9 years ago
Nicolas "Pixel" Noble
59588c6162
Removing pessimizing moves.
...
Pass #2 .
9 years ago
vjpai
d514b21cc8
Put timeout on server shutdown
9 years ago
Craig Tiller
1ebb7c885e
Hand-written changes
9 years ago
Julien Boeuf
5be92a316d
Shuffling headers around.
9 years ago
yang-g
9e2f90cd06
headers reorg
9 years ago
vjpai
b1db869e1a
Address concerns from review
9 years ago
Vijay Pai
458faa98ce
Eliminate user of lambda in server definition
9 years ago
Vijay Pai
1f3e6c1ebe
Start switching everything to dynamic pool
9 years ago
vjpai
a2e1bb1577
Change name of thread_pool files to fixed_size_thread_pool when
...
appropriate
10 years ago
Vijay Pai
69f2410086
Make thread_pool.h a public header
...
Rename ThreadPool -> FixedSizeThreadPool to allow for later introduction
of DynamicSizeThreadPool
10 years ago
Craig Tiller
ca83dc8109
Adjust oustanding request count to meet new server algorithm
10 years ago
Craig Tiller
27df2cf69c
Pluck some low hanging concurrency fruit
...
Make the shutdown flag on servers be per thread to save contention on
the lock that must guard it.
10 years ago
Craig Tiller
51f938f169
Make async server use one CQ per server thread
10 years ago
David Garcia Quintas
59f905d79a
Changes to byte_buffer based on comments.
10 years ago
Craig Tiller
250e96d941
Dont serialize new call requests under the server test lock
10 years ago
David Garcia Quintas
c9516d4e28
Fixed memory leak in server_async
10 years ago
Craig Tiller
8ebcec484f
clang-format
10 years ago
Craig Tiller
aeea2f2203
Fix shutdown crash in async streaming test
10 years ago
Craig Tiller
5c8737d171
clang-format qps code - it was getting out of hand
10 years ago
Craig Tiller
f9e6adf998
Completion queue binding for new requests API change
...
Move completion queue binding for new requests to the new request
request time, not server instantiation time.
10 years ago
Nicolas "Pixel" Noble
0caebbfcfe
Splitting gRPC service class codegen into its own set of files.
10 years ago
Craig Tiller
8221e40ac0
Indentation fixes, s/11/1/g
10 years ago
Vijay Pai
49673133b3
Remove unused header file for profiler
10 years ago
Vijay Pai
82dd80abc6
Elminate range-based fors and work around some other limitations in older compilers
10 years ago
Vijay Pai
8ad32091e6
Make sure that nothing gets added to cq after shutdown
10 years ago
vjpai
46f65239cf
Added streaming C++ tests for sync and sync cases
10 years ago
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.
10 years ago
Yang Gao
6baa9b67ad
clang-format c++ code
10 years ago
Craig Tiller
a182bf12b0
clang-format
10 years ago
Craig Tiller
d6479d6cc4
Async server works
10 years ago
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.
10 years ago
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.
10 years ago
vjpai
45b0bc4bec
Use typedefs to avoid triply-nested function templates
10 years ago
vjpai
5b39f9a9fb
refresh -> Reset
10 years ago
vjpai
6e2e64a8b4
Stop abusing operator() overloading
10 years ago
vjpai
3c11066217
override->GRPC_OVERRIDE
10 years ago
Vijay Pai
64ac47f389
clang-format all these files
10 years ago
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.
10 years ago