I have a web page with lots of JavaScript. I am supposed to optimize the performance of the page.
Ideally, I would like to set up an automated test which would hover around the page and click on a couple of things. Upon completing the test I'd like a profile of the JavaScript execution on the page. This way I can make changes and see if the page will run faster or not.
If I cannot meet this ideal goal, what is the best I can do in terms of automating and standardizing tests of performance for my webpage?