

def load(storage, glob_or_file, group_by):
    conftest = py.path.local('conftest.py')
    if conftest.check():
        conftest = conftest.pyimport()
    else:
        conftest = None
    groups = getattr(conftest, 'pytest_benchmark_group_stats', plugin.pytest_benchmark_group_stats)(benchmarks=storage.load_benchmarks(*glob_or_file), group_by=group_by, config=None)
    return groups

dataset/ETHPy150Open ionelmc/pytest-benchmark/src/pytest_benchmark/cli.py load/original