Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Support for t_page and t_rest with an extension of start_timer #12
I have worked on a tiny addition for filling in t_page and t_resp. Basically I know what we need is a timestamp of the first byte received before anything is loaded, and that should be outside boomerang namespace. I checked http://developer.yahoo.net/forum/?showtopic=6340&st=0&cookiecheckonly=1 and you mentioned about a global, but I thought this approach might be simple enough.
It's basically extending startTimer to accept a time value and adding a special handling for when the start timer is t_page.
So you basically capture firstbyte in the beginning of your HTML by doing:
And then in bottom or after the boomerang.js has been loaded, you can do:
and that should do it.