xapian-core  1.4.26
Functions
api_scalability.cc File Reference

Tests of scalability. More...

#include <config.h>
#include "api_scalability.h"
#include "apitest.h"
#include "cputimer.h"
#include "scalability.h"
#include "str.h"
#include "testsuite.h"
#include "testutils.h"
#include <xapian.h>
+ Include dependency graph for api_scalability.cc:

Go to the source code of this file.

Functions

static double bigoaddvalue1_helper (unsigned num_values)
 
 DEFINE_TESTCASE (bigoaddvalue1, writable)
 
static double querypairwise1_helper (unsigned num_subqs)
 
 DEFINE_TESTCASE (querypairwise1, !backend)
 

Detailed Description

Tests of scalability.

Definition in file api_scalability.cc.

Function Documentation

◆ bigoaddvalue1_helper()

static double bigoaddvalue1_helper ( unsigned  num_values)
static

◆ DEFINE_TESTCASE() [1/2]

DEFINE_TESTCASE ( bigoaddvalue1  ,
writable   
)

Definition at line 55 of file api_scalability.cc.

References bigoaddvalue1_helper(), O_N_LOG_N, and test_scalability().

◆ DEFINE_TESTCASE() [2/2]

DEFINE_TESTCASE ( querypairwise1  ,
backend 
)

Definition at line 74 of file api_scalability.cc.

References O_N, querypairwise1_helper(), and test_scalability().

◆ querypairwise1_helper()

static double querypairwise1_helper ( unsigned  num_subqs)
static

Definition at line 61 of file api_scalability.cc.

References CPUTimer::get_time(), Xapian::Query::OP_OR, and Xapian::Internal::str().

Referenced by DEFINE_TESTCASE().