23 #ifndef XAPIAN_INCLUDED_PERFTEST_H 24 #define XAPIAN_INCLUDED_PERFTEST_H 52 void write(
const std::string & text);
62 bool open(
const std::string & logpath);
71 const std::map<std::string, std::string> & params);
117 #endif // XAPIAN_INCLUDED_PERFTEST_H
void searching_start(const std::string &description)
Log the start of a search run.
void repetition_begin(int num)
Start a repetition of the tests.
void search_start()
Log the start of a search.
void indexing_add()
Log the addition of a document in an indexing run.
Class representing a list of search results.
bool indexing_unlogged_changes
Xapian::doccount indexing_addcount
void testcase_begin(const std::string &testcase)
Start a testcase.
Public interfaces for the Xapian library.
bool open(const std::string &logpath)
Open a file to log to.
void indexing_end()
Log the end of an indexing run.
void close()
Flush and close the log file.
static Xapian::Query query(Xapian::Query::op op, const string &t1=string(), const string &t2=string(), const string &t3=string(), const string &t4=string(), const string &t5=string(), const string &t6=string(), const string &t7=string(), const string &t8=string(), const string &t9=string(), const string &t10=string())
double last_indexlog_timer
unsigned XAPIAN_DOCID_BASE_TYPE doccount
A count of documents.
void repetition_end()
End a repetition of the tests.
void search_end(const Xapian::Query &query, const Xapian::MSet &mset)
Log the completion of a search.
void indexing_log()
Write a log entry for the current indexing run.
void searching_end()
Log the end of a search run.
void write(const std::string &text)
void testcase_end()
End a testcase.
Class representing a query.
void indexing_begin(const std::string &dbname, const std::map< std::string, std::string > ¶ms)
Log the start of an indexing run.