|
xapian-core
1.4.29
|
performance tests for Xapian. More...
#include <config.h>#include "perftest.h"#include "backendmanager.h"#include "freemem.h"#include "omassert.h"#include "perftest/perftest_all.h"#include "realtime.h"#include "runprocess.h"#include "str.h"#include "stringutils.h"#include "testrunner.h"#include "testsuite.h"#include <cstdlib>#include <iostream>#include "safeunistd.h"#include "perftest/perftest_collated.h"
Include dependency graph for perftest.cc:Go to the source code of this file.
Classes | |
| class | PerfTestRunner |
Functions | |
| static string | escape_xml (const string &str) |
| static string | get_hostname () |
| Get the hostname. More... | |
| static string | get_loadavg () |
| Get the load average. More... | |
| static string | get_ncpus () |
| Get the number of processors. More... | |
| static string | get_distro () |
| Get details of the OS and distribution. More... | |
| static string | get_commit_ref () |
| Get the git commit for HEAD. More... | |
| int | main (int argc, char **argv) |
Variables | |
| PerfTestLogger | logger |
performance tests for Xapian.
Definition in file perftest.cc.
|
static |
Definition at line 55 of file perftest.cc.
Referenced by PerfTestLogger::indexing_begin(), PerfTestLogger::search_end(), and PerfTestLogger::searching_start().
|
static |
Get the git commit for HEAD.
Definition at line 224 of file perftest.cc.
References stdout_to_string().
Referenced by PerfTestLogger::open().
|
static |
Get details of the OS and distribution.
Definition at line 189 of file perftest.cc.
References stdout_to_string(), and Xapian::Internal::str().
Referenced by PerfTestLogger::open().
|
static |
|
static |
Get the load average.
Definition at line 129 of file perftest.cc.
References stdout_to_string().
Referenced by PerfTestLogger::open().
|
static |
Get the number of processors.
Definition at line 146 of file perftest.cc.
References stdout_to_string(), and Xapian::Internal::str().
Referenced by PerfTestLogger::open().
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 472 of file perftest.cc.
References PerfTestLogger::open(), and TestRunner::run_tests().
| PerfTestLogger logger |
Definition at line 52 of file perftest.cc.
Referenced by builddb_valuestest1(), and DEFINE_TESTCASE().