fitbenchmarking.results_processing.runtime_table module

Runtime table

class fitbenchmarking.results_processing.runtime_table.RuntimeTable(results, best_results, options, group_dir, pp_locations, table_name)

Bases: fitbenchmarking.results_processing.base_table.Table

The timing results are calculated from an average (over num_runs) using the timeit module in python. num_runs is set in FitBenchmarking Options.

get_value(result)

Gets the main value to be reported in the tables for a given result

Note that the first value (relative runtime) will be used in the default colour handling.

Parameters

result (FittingResult) – The result to generate the values for.

Returns

The normalised runtime with respect to the smallest runtime and absolute runtime for the result.

Return type

tuple(float, float)