(bench_func)
return bench_func.__name__[len(BENCH_METHOD_PREFIX) + 1:]
Get the benchmark name from its function object.
Get the benchmark name from its function object.
Get the benchmark name from its function object .
def _get_bench_name(bench_func):
    """Get the benchmark name from its function object."""
    return bench_func.__name__[len(BENCH_METHOD_PREFIX) + 1:]
def _get_bench_name ( bench_func ) : return bench_func . __name__ [ len ( BENCH_METHOD_PREFIX ) + 1 : ]