xapian-core  1.4.25
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, MULTI = 0x00000400, SINGLEFILE = 0x00000800,
  INMEMORY = 0x00001000, GLASS = 0x00002000, COMPACT = 0x00004000, CHERT = 0x00008000,
  PATH = 0x00010000, REMOTETCP = 0x00020000, CHECK = 0x00040000
}
 

Detailed Description

Definition at line 442 of file perftest.cc.

Constructor & Destructor Documentation

◆ PerfTestRunner()

PerfTestRunner::PerfTestRunner ( )
inline

Definition at line 448 of file perftest.cc.

References test_driver::add_command_line_option().

Member Function Documentation

◆ run()

int PerfTestRunner::run ( ) const
inlinevirtual

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 455 of file perftest.cc.

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

Member Data Documentation

◆ repetitions

int PerfTestRunner::repetitions
mutableprivate

Definition at line 446 of file perftest.cc.

◆ repetitions_parsed

bool PerfTestRunner::repetitions_parsed
mutableprivate

Definition at line 445 of file perftest.cc.

◆ repetitions_string

string PerfTestRunner::repetitions_string
private

Definition at line 444 of file perftest.cc.


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