codex
Loading...
Searching...
No Matches
bench.hpp
Go to the documentation of this file.
1#ifndef CODEX_BASE64_BENCH_H
2#define CODEX_BASE64_BENCH_H
3
4#include <random>
5#include <vector>
6
7#include <QTest>
8
9class Base64Bench : public QObject {
10 Q_OBJECT
11 std::mt19937 gen;
12 std::vector<char> buffer0, buffer1;
13public:
15private slots:
16 void base64_encode_data();
17 void base64_encode();
18 void base64_decode_data();
19 void base64_decode();
20 void rfc_encode_data();
21 void rfc_encode();
22 void rfc_decode_data();
23 void rfc_decode();
24 void system_exec_data();
25 void system_exec();
26 void base64_exec_data();
27 void base64_exec();
28 void rfc_exec_data();
29 void rfc_exec();
30};
31
32#endif
Definition bench.hpp:9
void rfc_exec_data()
Definition bench.cpp:134
void rfc_encode_data()
Definition bench.cpp:130
void base64_exec_data()
Definition bench.cpp:133
void system_exec()
Definition bench.cpp:144
void base64_exec()
Definition bench.cpp:145
void rfc_decode()
Definition bench.cpp:140
void base64_decode_data()
Definition bench.cpp:129
void base64_encode_data()
Definition bench.cpp:128
void rfc_decode_data()
Definition bench.cpp:131
void base64_decode()
Definition bench.cpp:138
void rfc_exec()
Definition bench.cpp:146
void base64_encode()
Definition bench.cpp:137
void rfc_encode()
Definition bench.cpp:139
void system_exec_data()
Definition bench.cpp:132
Base64Bench()
Definition bench.cpp:123
std::mt19937 gen
Definition bench.hpp:11
std::vector< char > buffer1
Definition bench.hpp:12
std::vector< char > buffer0
Definition bench.hpp:12