trappy.wa.results module¶
Parse the results from a Workload Automation run and show it in a “pretty” table
-
class
trappy.wa.results.
Result
(*args, **kwargs)[source]¶ Bases:
pandas.core.frame.DataFrame
A DataFrame-like class for storing benchmark results
-
trappy.wa.results.
combine_results
(data)[source]¶ Combine two DataFrame results into one
The data should be an array of results like the ones returned by get_results() or have the same structure. The returned DataFrame has two column indexes. The first one is the benchmark and the second one is the key for the result.
-
trappy.wa.results.
get_results
(path='.', name=None)[source]¶ Return a pd.DataFrame with the results
The DataFrame’s rows are the scores. The first column is the benchmark name and the second the id within it. For benchmarks that have a score result, that’s what’s used. For benchmarks with FPS_* result, that’s the score. E.g. glbenchmarks “score” is it’s fps.
An optional name argument can be passed. If supplied, it overrides the name in the results file.