https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116078
--- Comment #6 from Filip Kastl <pheeck at gcc dot gnu.org> --- Or maybe one binary has some expensive instructions which the other one doesn't. I didn't notice anything like that while looking through the perf results but I'm still learning to use perf effectively.