#include <string.h>
#include <memory>
#include <queue>
#include <sstream>
#include <benchmark/benchmark.h>
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include <grpc/support/string_util.h>
#include <grpcpp/support/channel_arguments.h>
#include "src/core/ext/transport/chttp2/transport/chttp2_transport.h"
#include "src/core/ext/transport/chttp2/transport/internal.h"
#include "src/core/lib/iomgr/closure.h"
#include "src/core/lib/resource_quota/api.h"
#include "src/core/lib/slice/slice_internal.h"
#include "test/core/util/test_config.h"
#include "test/cpp/microbenchmarks/helpers.h"
#include "test/cpp/util/test_config.h"
Go to the source code of this file.
Classes | |
class | Fixture< kFilter, kFlags > |
class | PhonyEndpoint |
class | RepresentativeClientInitialMetadata |
class | Stream |
class | TestClosure |
Namespaces | |
benchmark | |
Functions | |
BENCHMARK (BM_StreamCreateDestroy) | |
BENCHMARK (BM_TransportEmptyOp) | |
BENCHMARK_TEMPLATE (BM_StreamCreateSendInitialMetadataDestroy, RepresentativeClientInitialMetadata) | |
static void | BM_StreamCreateDestroy (benchmark::State &state) |
template<class Metadata > | |
static void | BM_StreamCreateSendInitialMetadataDestroy (benchmark::State &state) |
static void | BM_TransportEmptyOp (benchmark::State &state) |
int | main (int argc, char **argv) |
template<class F > | |
grpc_closure * | MakeOnceClosure (F f) |
template<class F > | |
std::unique_ptr< TestClosure > | MakeTestClosure (F f) |
void | benchmark::RunTheBenchmarksNamespaced () |
Variables | |
std::vector< std::unique_ptr< gpr_event > > | done_events |
static auto * | g_memory_allocator |
BENCHMARK | ( | BM_StreamCreateDestroy | ) |
BENCHMARK | ( | BM_TransportEmptyOp | ) |
BENCHMARK_TEMPLATE | ( | BM_StreamCreateSendInitialMetadataDestroy | , |
RepresentativeClientInitialMetadata | |||
) |
|
static |
Definition at line 268 of file bm_chttp2_transport.cc.
|
static |
Definition at line 322 of file bm_chttp2_transport.cc.
|
static |
Definition at line 372 of file bm_chttp2_transport.cc.
Definition at line 421 of file bm_chttp2_transport.cc.
grpc_closure* MakeOnceClosure | ( | F | f | ) |
Definition at line 186 of file bm_chttp2_transport.cc.
std::unique_ptr<TestClosure> MakeTestClosure | ( | F | f | ) |
Definition at line 172 of file bm_chttp2_transport.cc.
std::vector<std::unique_ptr<gpr_event> > done_events |
Definition at line 266 of file bm_chttp2_transport.cc.
|
static |
Definition at line 43 of file bm_chttp2_transport.cc.