OmniSciDB
a5dc49c757
|
Public Member Functions | |
def | __init__ |
def | collectMissingQueries |
def | printSolidLine |
def | printHeader |
def | getRefElementsPerLine |
def | printLine |
def | printAttribute |
This class is just used to print out the benchmark results into the terminal. By default, it is used for cross comparison of the results between a reference branch (ref) and a sample branch (sample); for a particular attribute, all elements within each branch are shown as well as the speedup (sample / ref). If cross_comparison is disabled, then it just shows the result for the ref branch.
Definition at line 144 of file analyze_benchmark.py.
def analyze_benchmark.PrettyPrint.__init__ | ( | self, | |
ref, | |||
sample, | |||
attribute, | |||
cross_comparison = True , |
|||
num_items_per_line = 5 |
|||
) |
Definition at line 161 of file analyze_benchmark.py.
def analyze_benchmark.PrettyPrint.collectMissingQueries | ( | self | ) |
Definition at line 191 of file analyze_benchmark.py.
References analyze_benchmark.BenchAnalyzer.__label_name_ref, analyze_benchmark.PrettyPrint.__label_name_ref, analyze_benchmark.BenchAnalyzer.__label_name_sample, and analyze_benchmark.PrettyPrint.__label_name_sample.
def analyze_benchmark.PrettyPrint.getRefElementsPerLine | ( | self | ) |
Definition at line 212 of file analyze_benchmark.py.
References analyze_benchmark.PrettyPrint.__num_items_per_line, and analyze_benchmark.PrettyPrint.__ref_line_count.
Referenced by analyze_benchmark.PrettyPrint.printAttribute(), and analyze_benchmark.PrettyPrint.printLine().
def analyze_benchmark.PrettyPrint.printAttribute | ( | self | ) |
Definition at line 227 of file analyze_benchmark.py.
References analyze_benchmark.BenchAnalyzer.__attribute_ref, analyze_benchmark.PrettyPrint.__attribute_ref, analyze_benchmark.BenchAnalyzer.__attribute_sample, analyze_benchmark.PrettyPrint.__attribute_sample, analyze_benchmark.PrettyPrint.__cross_comparison, analyze_benchmark.BenchAnalyzer.__label_name_ref, analyze_benchmark.PrettyPrint.__label_name_ref, analyze_benchmark.PrettyPrint.__ref_line_count, analyze_benchmark.compute_speedup(), analyze_benchmark.PrettyPrint.getRefElementsPerLine(), analyze_benchmark.BenchAnalyzer.printHeader(), analyze_benchmark.PrettyPrint.printHeader(), analyze_benchmark.PrettyPrint.printLine(), and analyze_benchmark.PrettyPrint.printSolidLine().
def analyze_benchmark.PrettyPrint.printHeader | ( | self | ) |
Definition at line 207 of file analyze_benchmark.py.
References analyze_benchmark.BenchAnalyzer.__header_info, analyze_benchmark.PrettyPrint.__header_info, and analyze_benchmark.PrettyPrint.printSolidLine().
Referenced by analyze_benchmark.PrettyPrint.printAttribute().
def analyze_benchmark.PrettyPrint.printLine | ( | self, | |
array | |||
) |
Definition at line 215 of file analyze_benchmark.py.
References analyze_benchmark.BenchAnalyzer.__attribute_ref, analyze_benchmark.PrettyPrint.__attribute_ref, analyze_benchmark.PrettyPrint.__num_items_per_line, and analyze_benchmark.PrettyPrint.getRefElementsPerLine().
Referenced by analyze_benchmark.PrettyPrint.printAttribute().
def analyze_benchmark.PrettyPrint.printSolidLine | ( | self, | |
pattern | |||
) |
Definition at line 201 of file analyze_benchmark.py.
References analyze_benchmark.PrettyPrint.__num_items_per_line.
Referenced by analyze_benchmark.PrettyPrint.printAttribute(), and analyze_benchmark.PrettyPrint.printHeader().
|
private |
Definition at line 180 of file analyze_benchmark.py.
Referenced by analyze_benchmark.PrettyPrint.printAttribute(), and analyze_benchmark.PrettyPrint.printLine().
|
private |
Definition at line 184 of file analyze_benchmark.py.
Referenced by analyze_benchmark.PrettyPrint.printAttribute().
|
private |
Definition at line 162 of file analyze_benchmark.py.
Referenced by analyze_benchmark.PrettyPrint.printAttribute().
|
private |
Definition at line 166 of file analyze_benchmark.py.
Referenced by analyze_benchmark.PrettyPrint.printHeader().
|
private |
Definition at line 172 of file analyze_benchmark.py.
Referenced by analyze_benchmark.PrettyPrint.collectMissingQueries(), and analyze_benchmark.PrettyPrint.printAttribute().
|
private |
Definition at line 174 of file analyze_benchmark.py.
Referenced by analyze_benchmark.PrettyPrint.collectMissingQueries().
|
private |
Definition at line 176 of file analyze_benchmark.py.
|
private |
Definition at line 177 of file analyze_benchmark.py.
|
private |
Definition at line 171 of file analyze_benchmark.py.
Referenced by analyze_benchmark.PrettyPrint.getRefElementsPerLine(), analyze_benchmark.PrettyPrint.printLine(), and analyze_benchmark.PrettyPrint.printSolidLine().
|
private |
Definition at line 187 of file analyze_benchmark.py.
Referenced by analyze_benchmark.PrettyPrint.getRefElementsPerLine(), and analyze_benchmark.PrettyPrint.printAttribute().
|
private |
Definition at line 188 of file analyze_benchmark.py.