The solution is to improve the browser to remove the performance hit. Modern computers are extremely powerful so there is no good reason why they would not be able to handle a zillion things in the DOM.
The irony is that obsessing over smoothness and frames per second is what causes this in the first place.