Time to start browser

User Help for Seamonkey and Mozilla Suite
Post Reply
User avatar
fixit7
Posts: 233
Joined: May 19th, 2015, 3:11 pm

Time to start browser

Post by fixit7 »

To see how long it takes a browser to start.

Create this file. Name it How_Long.html
Substitute location of file with your location.

To run it...

seamonkey "file:////home/andy/bin/How_Long.html?startTime=$(date +%s%N | cut -b1-13)"

<!--This will generate the amount of time it takes a browser to start when used with the appropriate bash script -->
<html>
<head>
<script type="text/javascript">
var readyMillis = new Date().getTime();
var startMillis = new URL(window.location.href).searchParams.get("startTime");
document.write("Started at: " + startMillis + "<br>Ready at: " + readyMillis + "<br>Time elapsed: " + (readyMillis - startMillis) + "ms");
</script>
</head>
</html>
User avatar
DanRaisch
Moderator
Posts: 127224
Joined: September 23rd, 2004, 8:57 pm
Location: Somewhere on the right coast

Re: Time to start browser

Post by DanRaisch »

What sort of problem are you having that would call for this?
User avatar
Frank Lion
Posts: 21177
Joined: April 23rd, 2004, 6:59 pm
Location: ... The Exorcist....United Kingdom
Contact:

Re: Time to start browser

Post by Frank Lion »

fixit7 wrote:To see how long it takes a browser to start.
Use a stopwatch?
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)
.
User avatar
fixit7
Posts: 233
Joined: May 19th, 2015, 3:11 pm

Re: Time to start browser

Post by fixit7 »

DanRaisch wrote:What sort of problem are you having that would call for this?
I was curious as to whether FF or Seamonkey was fastest.

SM was a little faster.
User avatar
therube
Posts: 21714
Joined: March 10th, 2004, 9:59 pm
Location: Maryland USA

Re: Time to start browser

Post by therube »

Compared to what FF version?
Fire 750, bring back 250.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript
User avatar
DanRaisch
Moderator
Posts: 127224
Joined: September 23rd, 2004, 8:57 pm
Location: Somewhere on the right coast

Re: Time to start browser

Post by DanRaisch »

And by how much? And are both starting with bare profiles?
Post Reply