I had never thought so much that hardware was expensive, rather more that software licences and people were expensive. Microsoft play an expensive game.
In my experience, coding well is not the main criterion for managers. Instead, basic functionality within a given time-frame is what is demanded.
It does not really matter if the web-page takes 15s to load, as long as the user-story was completed within the given sprint and the data displayed (or whatever is done with it) is correct.