def METHOD_NAME(func, *args, **kwargs):
    if asyncio.iscoroutinefunction(func):
        @benchmark
        def _():
            return event_loop.run_until_complete(func(*args, **kwargs))
    else:
        benchmark(func, *args, **kwargs)