I5 12400f vs ryzen 5 5600x (7/40)

I5 12400f vs ryzen 5 5600x