You will never be able to outrun bad software with good hardware. At best it's a rat race where devs target the n Percebtile machine and performance is effectively auction priced to buy an above "average" machine.
Just say No to bad software, starting with web ads.
Just say No to bad software, starting with web ads.