Namespaces | Functions | Variables
bm_arena.cc File Reference
#include <benchmark/benchmark.h>
#include "src/core/lib/resource_quota/arena.h"
#include "src/core/lib/resource_quota/resource_quota.h"
#include "test/core/util/test_config.h"
#include "test/cpp/microbenchmarks/helpers.h"
#include "test/cpp/util/test_config.h"
Include dependency graph for bm_arena.cc:

Go to the source code of this file.

Namespaces

 benchmark
 

Functions

 BENCHMARK (BM_Arena_Batch) -> Ranges(
 
 BENCHMARK (BM_Arena_ManyAlloc) -> Ranges(
 
 BENCHMARK (BM_Arena_NoOp) -> Range(1, 1024 *1024)
 
static void BM_Arena_Batch (benchmark::State &state)
 
static void BM_Arena_ManyAlloc (benchmark::State &state)
 
static void BM_Arena_NoOp (benchmark::State &state)
 
int main (int argc, char **argv)
 
void benchmark::RunTheBenchmarksNamespaced ()
 

Variables

static auto * g_memory_allocator
 

Function Documentation

◆ BENCHMARK() [1/3]

BENCHMARK ( BM_Arena_Batch  ) -> Ranges(

Definition at line 67 of file bm_arena.cc.

◆ BENCHMARK() [2/3]

BENCHMARK ( BM_Arena_ManyAlloc  ) -> Ranges(

Definition at line 56 of file bm_arena.cc.

◆ BENCHMARK() [3/3]

BENCHMARK ( BM_Arena_NoOp  ) -> Range(1, 1024 *1024)

◆ BM_Arena_Batch()

static void BM_Arena_Batch ( benchmark::State state)
static

Definition at line 58 of file bm_arena.cc.

◆ BM_Arena_ManyAlloc()

static void BM_Arena_ManyAlloc ( benchmark::State state)
static

Definition at line 42 of file bm_arena.cc.

◆ BM_Arena_NoOp()

static void BM_Arena_NoOp ( benchmark::State state)
static

Definition at line 35 of file bm_arena.cc.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 75 of file bm_arena.cc.

Variable Documentation

◆ g_memory_allocator

auto* g_memory_allocator
static
Initial value:
grpc_core::ResourceQuota::Default()->memory_quota()->CreateMemoryAllocator(
"test"))

Definition at line 31 of file bm_arena.cc.

grpc_event_engine::experimental::MemoryAllocator
Definition: memory_allocator.h:35
grpc_core::ResourceQuota::Default
static ResourceQuotaRefPtr Default()
Definition: resource_quota.cc:27


grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:04