bexhoma.collectors.tpcc module

Collector for HammerDB TPC-C experiments.

Provides TpccCollector, a thin subclass of CollectorBase that wires up evaluators.tpcc as the evaluator. All data collection and aggregation logic is inherited from CollectorBase.

Authors: Patrick K. Erdelt Copyright (C) 2020 Patrick K. Erdelt SPDX-License-Identifier: AGPL-3.0-or-later See LICENSE for details.

class bexhoma.collectors.tpcc.TpccCollector(path, codes, benchmark_run: int = 0)

Bases: CollectorBase

Collector for HammerDB TPC-C experiments.

Overrides get_evaluator() to return a evaluators.tpcc instance. All data collection and aggregation methods are inherited from CollectorBase.

get_evaluator(code='')

Returns a evaluators.tpcc instance for the given experiment code.

Parameters:

code (str) – Experiment identifier. Defaults to the first code in self.codes.

Returns:

TPC-C evaluator for the specified experiment.

Return type:

evaluators.tpcc