perf bench: Add new subcommand 'bench' to perf.c