I have a bunch of computers all with i5 3rd and 4th gen and they mine Monero at 1600 - 2000 H/s each.
An i7 will be slightly better, especially the newer generations which have more built-in cache.
The hashrate isn't the problem, what you are making every day is where the problem lies, you can't even make 50cents mining with these CPUs so why still mining with them? Ryzen CPU are way better than other
My CPUs combined mine me 1 XMR every 160 days according to Whattomine. I am hodling hoping that XMR will moon one day. Besides the rigs are GPU rigs. Main crypto income is from GPUs.