Wrong. Performance and correctness/cleanness go together. Perhaps you have never tried generating correct code that is ways faster than what you can write by hand.
“Clean” is a horrible qualifier for code. It is either too subjective/broad, or too loaded.