Crypto backtesting
Loading...
Searching...
No Matches
test.cxx File Reference
#include "test.h"
#include "utils.h"
#include <benchmark/benchmark.h>
Include dependency graph for test.cxx:

Go to the source code of this file.

Functions

void BM_to_series (benchmark::State &state)
void BM_to_series3 (benchmark::State &state)
void BM_to_series4 (benchmark::State &state)
 BENCHMARK (BM_to_series)
 BENCHMARK (BM_to_series3)
 BENCHMARK (BM_to_series4)

Function Documentation

◆ BENCHMARK() [1/3]

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

◆ BENCHMARK() [2/3]

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

◆ BENCHMARK() [3/3]

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

◆ BM_to_series()

void BM_to_series ( benchmark::State & state)

Definition at line 5 of file test.cxx.

5 {
6 for (auto _ : state)
7 benchmark::DoNotOptimize(to_series(csv1));
8}
std::vector< std::vector< double > > to_series(const std::string csv)
Open a CSV file and return a vector of floating points for each row.
Definition file.cxx:78
const auto csv1
Definition test.h:4
Here is the call graph for this function:
Here is the caller graph for this function:

◆ BM_to_series3()

void BM_to_series3 ( benchmark::State & state)

Definition at line 10 of file test.cxx.

10 {
11 for (auto _ : state)
12 benchmark::DoNotOptimize(to_series3(csv1));
13}
std::vector< std::vector< double > > to_series3(const std::string &csv)
Open a CSV file and return a vector of floating points for each row.
Definition file.cxx:90
Here is the call graph for this function:
Here is the caller graph for this function:

◆ BM_to_series4()

void BM_to_series4 ( benchmark::State & state)

Definition at line 15 of file test.cxx.

15 {
16 for (auto _ : state)
17 benchmark::DoNotOptimize(to_series4(csv1));
18}
std::vector< std::vector< double > > to_series4(const std::string &csv)
Open a CSV file and return a vector of floating points for each row.
Definition file.cxx:119
Here is the call graph for this function:
Here is the caller graph for this function: