Javascript  -  Benchmarker

Here’s a useful script for checking how fast a web page loads in your browser. The pop-up alert box you saw when this page loaded shows you how this works.

  1. Insert the following code into the “Beginning of Body” field of the “Layout HTML” for the page you wish to troubleshoot:

    <script><!--

    x = new Date()
    function cal() {
      y = new Date()
      diff = y.getTime() - x.getTime()
      alert("It took " + diff/1000 +
                           " seconds to load this page")
    }

    //--></script>


  2. Insert this script into the “Inside Body Tag” field of the “Layout HTML” window:

    onload=cal()

... That’s it.

Go Back to Previous Page

Have a question that you can´t find the answer to? Want to report a possible bug?

Send a help request to NetObjects Technical Support