Display basic performance counter stats for a command

perf

perf stat {{gcc hello.c}}

click the source code to copy install perf on any operating system with command-not-found.com