Bug 470455 - test_database_sync_embed_visits.js leaks, r=sdwilsh
[wine-gecko.git] / tools / performance / startup / startup-test.html
blob15291927f997a38050df41f6fbce25cc19b0c344
1 <!-- Pick off begin time as a cgi argument and print it out -->
2 <html>
4 <!-- call this with an arg, e.g. file://foo/startup-test.html?begin=12345678 -->
6 <!-- In-line this to avoid compilation. -->
7 <body onload="
8 var now = (new Date()).getTime();
9 var begin = document.location.search.split('=')[1]; // ?begin=nnnnn
10 var startupTime = now - begin;
11 document.write('\n\nStartup time = ' + startupTime + ' ms<br>');
12 if (window.dump) {
13 dump('\n\n__startuptime,' + startupTime + '\n\n');
16 </body>
17 </html>