xapian-core
1.4.26
|
performance tests for match decider More...
#include <config.h>
#include "perftest/perftest_matchdecider.h"
#include <xapian.h>
#include "backendmanager.h"
#include "perftest.h"
#include "str.h"
#include "testrunner.h"
#include "testsuite.h"
#include "testutils.h"
Go to the source code of this file.
Functions | |
static void | builddb_valuestest1 (Xapian::WritableDatabase &db, const string &dbname) |
DEFINE_TESTCASE (valuesetmatchdecider1, writable &&!remote &&!inmemory) | |
DEFINE_TESTCASE (alldocsiter1, writable &&!remote &&!inmemory) | |
performance tests for match decider
Definition in file perftest_matchdecider.cc.
|
static |
Definition at line 39 of file perftest_matchdecider.cc.
References Xapian::Document::add_term(), Xapian::Document::add_value(), Xapian::WritableDatabase::commit(), PerfTestLogger::indexing_add(), PerfTestLogger::indexing_begin(), PerfTestLogger::indexing_end(), logger, Xapian::WritableDatabase::replace_document(), Xapian::Document::set_data(), Xapian::Internal::str(), PerfTestLogger::testcase_begin(), and PerfTestLogger::testcase_end().
Referenced by DEFINE_TESTCASE().
DEFINE_TESTCASE | ( | valuesetmatchdecider1 | , |
writable &&!remote &&! | inmemory | ||
) |
Definition at line 69 of file perftest_matchdecider.cc.
References Xapian::ValueSetMatchDecider::add_value(), backendmanager, builddb_valuestest1(), BackendManager::get_database(), Xapian::Database::get_doccount(), Xapian::MSet::get_matches_lower_bound(), Xapian::MSet::get_matches_upper_bound(), Xapian::Enquire::get_mset(), logger, Xapian::Query::OP_FILTER, Xapian::Query::OP_VALUE_LE, query(), PerfTestLogger::search_end(), PerfTestLogger::search_start(), PerfTestLogger::searching_end(), PerfTestLogger::searching_start(), Xapian::Enquire::set_query(), Xapian::MSet::size(), Xapian::Internal::str(), TEST, TEST_EQUAL, test_mset_order_equal(), TEST_REL, PerfTestLogger::testcase_begin(), and PerfTestLogger::testcase_end().
DEFINE_TESTCASE | ( | alldocsiter1 | , |
writable &&!remote &&! | inmemory | ||
) |
Definition at line 129 of file perftest_matchdecider.cc.
References backendmanager, builddb_valuestest1(), BackendManager::get_database(), logger, Xapian::Database::postlist_begin(), Xapian::Database::postlist_end(), PerfTestLogger::search_end(), PerfTestLogger::search_start(), PerfTestLogger::searching_end(), PerfTestLogger::searching_start(), PerfTestLogger::testcase_begin(), and PerfTestLogger::testcase_end().