Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??

Hi blue_cowdawg,

I use Mozilla Firefox for web page development, and it has a plug-in caller "Lori" which gives statics for each and every page load, for instance this page from PM before I filled anything in has:

0.955s 2.767s 40.31KB 2req
which translates to:
  • 1st field: Time to first byte received back to browser from web server. (from click to 1st char received)
  • 2nd field: Time to completion. From click to complete display.
  • 3rd field: Total size of the page
  • 4th field: Number of requests needed to fulfill the page load.

How this helps?

The first field includes the time for my application to run, so it helps me control the internal time of my Perl application. If it's less than a second, Great! If it's 10.s then I may need work! I don't usually care about the 2nd field since that includes the time the browser needs to work. But sometimes it can show you that you have too many nested tables and maybe CSS would be a better solution.

The 3rd and 4th fields can help with determining what can be cached for better performance.

Hope this helps...Ed

"Well done is better than well said." - Benjamin Franklin


In reply to Re: Page Load Metrics by flexvault
in thread Page Load Metrics by blue_cowdawg

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others perusing the Monastery: (7)
    As of 2014-12-23 04:43 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      Is guessing a good strategy for surviving in the IT business?





      Results (135 votes), past polls