Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
ipc.bench.cpp File Reference
#include "barretenberg/bbapi/bbapi.hpp"
#include "barretenberg/crypto/poseidon2/poseidon2.hpp"
#include "barretenberg/ecc/curves/grumpkin/grumpkin.hpp"
#include "barretenberg/ipc/ipc_client.hpp"
#include "barretenberg/serialize/msgpack_impl.hpp"
#include <array>
#include <atomic>
#include <benchmark/benchmark.h>
#include <chrono>
#include <cstring>
#include <fcntl.h>
#include <signal.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include <thread>
#include <unistd.h>

Go to the source code of this file.

Macros

#define REGISTER_BB_BENCHMARK(fixture_name)
 

Functions

 BENCHMARK_MAIN ()
 

Macro Definition Documentation

◆ REGISTER_BB_BENCHMARK

#define REGISTER_BB_BENCHMARK (   fixture_name)
Value:
BENCHMARK_DEFINE_F(fixture_name, poseiden_hash_roundtrip)(benchmark::State & state) \
{ \
run_benchmark(state); \
} \
BENCHMARK_REGISTER_F(fixture_name, poseiden_hash_roundtrip)->Unit(benchmark::kMicrosecond)->Iterations(10000)

Definition at line 313 of file ipc.bench.cpp.

Function Documentation

◆ BENCHMARK_MAIN()

BENCHMARK_MAIN ( )