xapian-core  1.4.21
Public Member Functions | Private Attributes | List of all members
PerfTestRunner Class Reference
+ Inheritance diagram for PerfTestRunner:
+ Collaboration diagram for PerfTestRunner:

Public Member Functions

 PerfTestRunner ()
int run () const
 Run the tests with a particular backend. More...
- Public Member Functions inherited from TestRunner
virtual ~TestRunner ()
 Virtual destructor - needed for abstract class. More...
int run_tests (int argc, char **argv)
 Run all the tests. More...

Private Attributes

string repetitions_string
bool repetitions_parsed
int repetitions

Additional Inherited Members

- Public Attributes inherited from TestRunner
unsigned properties
 Property bitmask. More...
- Protected Types inherited from TestRunner
enum  {
  BACKEND = 0x00000001, REMOTE = 0x00000002, TRANSACTIONS = 0x00000004, POSITIONAL = 0x00000008,
  WRITABLE = 0x00000010, SPELLING = 0x00000020, METADATA = 0x00000040, SYNONYMS = 0x00000080,
  REPLICAS = 0x00000100, VALUESTATS = 0x00000200, GENERATED = 0x00000400, MULTI = 0x00000800,
  SINGLEFILE = 0x00001000, INMEMORY = 0x00002000, CHERT = 0x00004000, GLASS = 0x00008000,
  COMPACT = 0x00010000, PATH = 0x00020000

Detailed Description

Definition at line 433 of file perftest.cc.

Constructor & Destructor Documentation

◆ PerfTestRunner()

PerfTestRunner::PerfTestRunner ( )

Definition at line 439 of file perftest.cc.

References test_driver::add_command_line_option().

Member Function Documentation

◆ run()

int PerfTestRunner::run ( ) const

Run the tests with a particular backend.

Properties of the backend can be determined by checking the settings of the flags.

Implements TestRunner.

Definition at line 446 of file perftest.cc.

References PerfTestLogger::repetition_begin(), and PerfTestLogger::repetition_end().

Member Data Documentation

◆ repetitions

int PerfTestRunner::repetitions

Definition at line 437 of file perftest.cc.

◆ repetitions_parsed

bool PerfTestRunner::repetitions_parsed

Definition at line 436 of file perftest.cc.

◆ repetitions_string

string PerfTestRunner::repetitions_string

Definition at line 435 of file perftest.cc.

The documentation for this class was generated from the following file: