To try out document ready and window load, add a heavily loaded page with lots of elements in the HTML section and execute specific code on document ready and window load.

Uncomment lines then in the JS section to (merely) see results for each specific case.