Getting started with Perf
Record CPU cycles for a single command: perf record <command>
.
Display results of the recording: perf report
.
More: https://www.ibm.com/docs/en/linux-on-systems?topic=performance-getting-started-perf-command
Thanks to Sri Jayaramappa from Akamai for the inspiration to learn Perf!