
Re: Performance tips when using PIE on hundreds of objects?
The only downside I can think of is that since it now waits until after page load, your users will see the page rendered unstyled at first, whereas letting the behavior attach while the page loads often eliminates that flash of unstyled content. But given the alternative that's probably not too much of a bad thing.
I would also be concerned that while yes this decreases the time until the page is first rendered, the page will still hang while your script runs and the behaviors are applied. This might still be annoying to users since they can see the page but can't interact with it, but I don't know what is worse.
Thanks for reporting back your findings! This is very interesting.
