perf_suite works with lambdas and funtors as well due to a simple change