File benchmarks.cc
FileList > ase > benchmarks.cc
#include "testing.hh"
#include "unicode.hh"
#include "memory.hh"
#include "loft.hh"
#include "internal.hh"
#include <cmath>
#include <glib.h>
Public Static Attributes
Type |
Name |
constexpr double |
M = 1000000
|
constexpr double |
MAXTIME = 0.15
|
constexpr size_t |
RUNS = 1
|
Public Functions
Public Static Functions
Macros
Public Static Attributes Documentation
variable M
constexpr double M;
variable MAXTIME
constexpr double MAXTIME;
variable RUNS
constexpr size_t RUNS;
Public Functions Documentation
function TEST_BENCHMARK
TEST_BENCHMARK (
utf8_codepoint_bench
)
function TEST_BENCHMARK
TEST_BENCHMARK (
utf8_strlen_bench_high_planes
)
function TEST_BENCHMARK
TEST_BENCHMARK (
utf8_strlen_bench_ascii
)
Public Static Functions Documentation
function all_codepoints_to_utf8
static std::string all_codepoints_to_utf8 ()
function not_0x80_strlen_utf8
static size_t not_0x80_strlen_utf8 (
const std::string & str
)
function utf8_codepoint_bench
static void utf8_codepoint_bench ()
function utf8_strlen_bench
static void utf8_strlen_bench (
const std::string & str,
const std::string & what
)
function utf8_strlen_bench_ascii
static void utf8_strlen_bench_ascii ()
function utf8_strlen_bench_high_planes
static void utf8_strlen_bench_high_planes ()
Macro Definition Documentation
define TEST_AREA_SIZE
#define TEST_AREA_SIZE `(16 * 1024 * 1024)`
The documentation for this class was generated from the following file /__w/anklang/anklang/ase/benchmarks.cc