 <p>I don't have any experience with this, but you could use a combination of ajax and server side metrics. Log when the server side first starts executing and then have an ajax call fire when the page is done loading and subtract the two. It's somewhat dirty, but it should work</p>