|
xapian-core
1.4.29
|
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) | |
Tests of scalability.
Definition in file api_scalability.cc.
|
static |
Definition at line 38 of file api_scalability.cc.
References Xapian::WritableDatabase::add_document(), Xapian::Document::add_value(), Xapian::WritableDatabase::commit(), CPUTimer::get_time(), and get_writable_database().
Referenced by DEFINE_TESTCASE().
| 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 | ( | querypairwise1 | , |
| ! | backend | ||
| ) |
Definition at line 74 of file api_scalability.cc.
References O_N, querypairwise1_helper(), and test_scalability().
|
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().