Craig Tiller
20d1efc38a
[stats] Move core stats to C++ ( #30936 )
...
* begin c++
* Automated change: Fix sanity tests
* progress
* progress
* missing-files
* Automated change: Fix sanity tests
* moved-from-stats
* remove old benchmark cruft, get tests compiling
* iwyu
* Automated change: Fix sanity tests
* fix
* fix
* fixes
* fixes
* add needed constructor
* Automated change: Fix sanity tests
* iwyu
* fix
* fix?
* fix
* fix
* Remove ResetDefaultEventEngine
Now that it is a weak_ptr, there's no need to explicitly reset it. When
the tracked shared_ptr is deleted, the weak_ptr will fail to lock, and a
new default EventEngine will be created.
* forget existing engine with FactoryReset
* add visibility
* fix
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
Co-authored-by: AJ Heller <hork@google.com>
2 years ago
Craig Tiller
ea389c00c2
Adjust include order per style guide ( #27175 )
...
Introduce clang-format configuration to sort includes closer to our rules.
3 years ago
Esun Kim
165ee5007a
Replaced grpc::string with std::string
4 years ago
Moiz Haidry
fbd5957ee8
Sanity and build fixes
6 years ago
Moiz Haidry
3ce20819cf
Modify codegen to use grpc_impl namespace and other cleanups
6 years ago
Karthik Ravi Shankar
0692dcc16a
Fix tests namespaces
6 years ago
Karthik Ravi Shankar
5906b86119
Fix tests to use grpc namespace
6 years ago
Karthik Ravi Shankar
d8d8bec7c8
Moving ::grpc::ResourceQuota to ::grpc_impl::ResouceQuota
...
This change moves ResourceQuota class fron grpc namespace to grpc_impl
namespace.
Signed-off-by: Karthik Ravi Shankar <karthikrs@google.com>
6 years ago
Karthik Ravi Shankar
82c6e012d8
Revert "Revert "Moving ::grpc::ResourceQuota to ::grpc_impl::ResouceQuota""
6 years ago
Karthik Ravi Shankar
b3889585a1
Revert "Moving ::grpc::ResourceQuota to ::grpc_impl::ResouceQuota"
6 years ago
Karthik Ravi Shankar
f7dd48b2b6
Moving ::grpc::ResourceQuota to ::grpc_impl::ResouceQuota
...
This change moves ResourceQuota class fron grpc namespace to grpc_impl
namespace.
6 years ago
Moiz Haidry
1303ec7b53
Added benchmarks for Callback based Unary server
6 years ago
Vijay Pai
c90a85649b
Change grpc++ references in names to grpcpp
7 years ago
Noah Eisen
be82e64b3d
Autofix c casts to c++ casts
7 years ago
Vijay Pai
088112fea1
Create inproc version of QPS test and add a few simple tests of this to standard testing suite.
7 years ago
Craig Tiller
2897235609
Expose stats into qps_driver
7 years ago
Vijay Pai
c38955501b
Move some internal includes to the right places
7 years ago
ncteisen
0133cc6fd8
Avoid benchmarking allocs
7 years ago
Guantao Liu
abe3cf51f0
Add a new metric 'Queries/CPU-sec'.
...
Enable internal credential types.
7 years ago
Craig Tiller
873ee82277
Add channel args to qps server
8 years ago
Jan Tattermusch
7897ae9308
auto-fix most of licenses
8 years ago
Yuxuan Li
8698f2bbee
fix extern c location
8 years ago
Yuxuan Li
87827e03aa
use lock instand of atomics, fix include position
8 years ago
Yuxuan Li
f8365cd87b
clean up, fix minor issue
8 years ago
Yuxuan Li
28efff3e1e
clang-format
8 years ago
Yuxuan Li
5d3ddeeea1
adding server side poll stat
8 years ago
Craig Tiller
edec4f5f81
Add support for server-side channel args to qps_test
8 years ago
yang-g
d0084c220e
Include x.pb.h instead of x.grpc.pb.h for message-only protos
8 years ago
Alexander Polcyn
6ff1ca4871
re-run generate project to build qps json driver
8 years ago
Alexander Polcyn
8a0ef63dea
remove LimitCores in c++ benchmark
8 years ago
Yuxuan Li
fe21ec90f6
batched changes
8 years ago
Craig Tiller
6169d5f7b0
Update copyrights
9 years ago
vjpai
e2d39e08f9
Timer->UsageTimer consistently
9 years ago
Craig Tiller
732a875fe8
Add a sanity test for name aliasing
9 years ago
Alistair Veitch
75d5c0f024
post merge
9 years ago
Vijay Pai
c64736d852
Clean-up core list usage and make it possible to reset the core list
9 years ago
vjpai
a00f998089
Actually create async generic server
9 years ago
vjpai
4f5146dac2
Change name from coresched to limit_cores
9 years ago
David Garcia Quintas
2bf574f814
Added back trailing newlines
9 years ago
murgatroid99
eeb02ba77a
Update copyrights again
9 years ago
Vijay Pai
3448c27275
clang-format
9 years ago
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.
9 years ago
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
9 years ago
vjpai
b6df94ad22
WIP
9 years ago
vjpai
fba20c987d
Address some review comments about signal and restoring qps_test_with_poll
...
Make payloads respect the new defaults
9 years ago
Vijay Pai
ce84670628
clang-format
9 years ago
vjpai
780a7f205d
Add in security support, make payload protos configurable
...
Have not yet added tests with security support, coming soon
9 years ago
vjpai
d08a738166
Cleanup some names
...
Remove some unused options and make server_threads relevant
Start stubbing out better qps/core calculations
9 years ago
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