Today an interesting conversation arose on Twitter between me and Hugh Wood about _spBodyOnLoadFunctions.push. I tested the _spBodyOnLoadFunctions vs jQuery(document).ready and $(window).load. Here are the results:
- _jQuery document.ready. Time: 54 default-empty.aspx:495
- _spBodyOnLoadFunctions. Time: 337 default-empty.aspx:493
- jQuery window load. Time: 459