Classes | Macros | Functions
protobuf/benchmarks/cpp/cpp_benchmark.cc File Reference
#include <fstream>
#include <iostream>
#include "benchmark/benchmark.h"
#include "benchmarks.pb.h"
#include "datasets/google_message1/proto2/benchmark_message1_proto2.pb.h"
#include "datasets/google_message1/proto3/benchmark_message1_proto3.pb.h"
#include "datasets/google_message2/benchmark_message2.pb.h"
#include "datasets/google_message3/benchmark_message3.pb.h"
#include "datasets/google_message4/benchmark_message4.pb.h"
Include dependency graph for protobuf/benchmarks/cpp/cpp_benchmark.cc:

Go to the source code of this file.

Classes

class  Fixture< kFilter, kFlags >
 
class  ParseNewArenaFixture< T >
 
class  ParseNewFixture< T >
 
class  ParseReuseFixture< T >
 
class  SerializeFixture< T >
 
class  WrappingCounter
 

Macros

#define PREFIX   "dataset."
 
#define SUFFIX   ".pb"
 

Functions

int main (int argc, char *argv[])
 
std::string ReadFile (const std::string &name)
 
void RegisterBenchmarks (const std::string &dataset_bytes)
 
template<class T >
void RegisterBenchmarksForType (const BenchmarkDataset &dataset)
 

Macro Definition Documentation

◆ PREFIX

#define PREFIX   "dataset."

Definition at line 42 of file protobuf/benchmarks/cpp/cpp_benchmark.cc.

◆ SUFFIX

#define SUFFIX   ".pb"

Definition at line 43 of file protobuf/benchmarks/cpp/cpp_benchmark.cc.

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 240 of file protobuf/benchmarks/cpp/cpp_benchmark.cc.

◆ ReadFile()

std::string ReadFile ( const std::string &  name)

Definition at line 194 of file protobuf/benchmarks/cpp/cpp_benchmark.cc.

◆ RegisterBenchmarks()

void RegisterBenchmarks ( const std::string &  dataset_bytes)

Definition at line 216 of file protobuf/benchmarks/cpp/cpp_benchmark.cc.

◆ RegisterBenchmarksForType()

template<class T >
void RegisterBenchmarksForType ( const BenchmarkDataset &  dataset)

Definition at line 205 of file protobuf/benchmarks/cpp/cpp_benchmark.cc.



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