Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
readwriteblock.cpp File Reference
#include <bench/bench.h>
#include <bench/data/block413567.raw.h>
#include <flatfile.h>
#include <node/blockstorage.h>
#include <primitives/block.h>
#include <primitives/transaction.h>
#include <serialize.h>
#include <span.h>
#include <streams.h>
#include <test/util/setup_common.h>
#include <validation.h>
#include <cassert>
#include <cstdint>
#include <memory>
#include <vector>
Include dependency graph for readwriteblock.cpp:

Go to the source code of this file.

Functions

static CBlock CreateTestBlock ()
static void WriteBlockBench (benchmark::Bench &bench)
static void ReadBlockBench (benchmark::Bench &bench)
static void ReadRawBlockBench (benchmark::Bench &bench)
 BENCHMARK (WriteBlockBench)
 BENCHMARK (ReadBlockBench)
 BENCHMARK (ReadRawBlockBench)

Function Documentation

◆ BENCHMARK() [1/3]

BENCHMARK ( ReadBlockBench )
Here is the call graph for this function:

◆ BENCHMARK() [2/3]

BENCHMARK ( ReadRawBlockBench )
Here is the call graph for this function:

◆ BENCHMARK() [3/3]

BENCHMARK ( WriteBlockBench )
Here is the call graph for this function:

◆ CreateTestBlock()

CBlock CreateTestBlock ( )
static

Definition at line 22 of file readwriteblock.cpp.

Here is the caller graph for this function:

◆ ReadBlockBench()

void ReadBlockBench ( benchmark::Bench & bench)
static

Definition at line 40 of file readwriteblock.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ReadRawBlockBench()

void ReadRawBlockBench ( benchmark::Bench & bench)
static

Definition at line 54 of file readwriteblock.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ WriteBlockBench()

void WriteBlockBench ( benchmark::Bench & bench)
static

Definition at line 29 of file readwriteblock.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: