mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
18 lines
520 B
HTML
18 lines
520 B
HTML
|
<!-- Pick off begin time as a cgi argument and print it out -->
|
||
|
<html>
|
||
|
|
||
|
<!-- call this with an arg, e.g. file://foo/startup-test.html?begin=12345678 -->
|
||
|
|
||
|
<!-- In-line this to avoid compilation. -->
|
||
|
<body onload="
|
||
|
var now = (new Date()).getTime();
|
||
|
var begin = document.location.search.split('=')[1]; // ?begin=nnnnn
|
||
|
var startupTime = now - begin;
|
||
|
document.write('\n\nStartup time = ' + startupTime + ' ms<br>');
|
||
|
if (window.dump) {
|
||
|
dump('\n\n__startuptime,' + startupTime + '\n\n');
|
||
|
}
|
||
|
">
|
||
|
</body>
|
||
|
</html>
|