MozillaZine

Time to start browser

User Help for Seamonkey and Mozilla Suite
fixit7
 
Posts: 89
Joined: May 19th, 2015, 3:11 pm

Post Posted July 17th, 2018, 10:17 am

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>

DanRaisch
Moderator

User avatar
 
Posts: 120448
Joined: September 23rd, 2004, 8:57 pm
Location: Somewhere on the right coast

Post Posted July 18th, 2018, 5:27 am

What sort of problem are you having that would call for this?

Frank Lion

User avatar
 
Posts: 20077
Joined: April 23rd, 2004, 6:59 pm
Location: ... The Exorcist....United Kingdom

Post Posted July 18th, 2018, 11:03 am

fixit7 wrote:To see how long it takes a browser to start.

Use a stopwatch?
Metal Lion latest SeaMonkey & Thunderbird Themes - Sea Monkey and Silver Sea Monkey
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)

fixit7
 
Posts: 89
Joined: May 19th, 2015, 3:11 pm

Post Posted July 22nd, 2018, 11:34 am

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.

therube

User avatar
 
Posts: 19162
Joined: March 10th, 2004, 9:59 pm
Location: Maryland USA

Post Posted July 22nd, 2018, 12:10 pm

Compared to what FF version?
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

DanRaisch
Moderator

User avatar
 
Posts: 120448
Joined: September 23rd, 2004, 8:57 pm
Location: Somewhere on the right coast

Post Posted July 22nd, 2018, 12:29 pm

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

Return to SeaMonkey Support


Who is online

Users browsing this forum: No registered users and 2 guests