Bitcoin Core 28.99.0
P2P Digital Currency
Functions
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 SaveBlockBench (benchmark::Bench &bench)
 
static void ReadBlockBench (benchmark::Bench &bench)
 
static void ReadRawBlockBench (benchmark::Bench &bench)
 
 BENCHMARK (SaveBlockBench, benchmark::PriorityLevel::HIGH)
 
 BENCHMARK (ReadBlockBench, benchmark::PriorityLevel::HIGH)
 
 BENCHMARK (ReadRawBlockBench, benchmark::PriorityLevel::HIGH)
 

Function Documentation

◆ BENCHMARK() [1/3]

◆ BENCHMARK() [2/3]

◆ BENCHMARK() [3/3]

◆ CreateTestBlock()

static CBlock CreateTestBlock ( )
static

Definition at line 22 of file readwriteblock.cpp.

Here is the caller graph for this function:

◆ ReadBlockBench()

static void ReadBlockBench ( benchmark::Bench bench)
static

Definition at line 41 of file readwriteblock.cpp.

Here is the call graph for this function:

◆ ReadRawBlockBench()

static void ReadRawBlockBench ( benchmark::Bench bench)
static

Definition at line 53 of file readwriteblock.cpp.

Here is the call graph for this function:

◆ SaveBlockBench()

static void SaveBlockBench ( benchmark::Bench bench)
static

Definition at line 30 of file readwriteblock.cpp.

Here is the call graph for this function: