Current time: 10-21-2020, 12:01 PM Hello There, Guest! (LoginRegister)

Post Reply 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CPU Influence on Load Times
03-08-2012, 02:11 AM (This post was last modified: 03-08-2012 02:20 AM by SWortham.)
Post: #2
RE: CPU Influence on Load Times
One issue is that the Javascript in the <head> of a page has to download and be interpreted (or compiled) and execute before the page starts rendering. This will affect load times. And a faster CPU should help with this somewhat.

Quote:Traditionally, a <script> node blocks (or "hangs") the browser while it is being processed, preventing the rest of the page from loading. Because document.write() or other javascript in the block may inject HTML into the document structure at parse time, browsers generally have to stop rendering in order to parse and evaluate the javascript block before continuing. This is undesirable.

There's also CSS layout and HTML rendering. If you've got a huge amount of HTML on your page with complicated CSS rules then the CPU might be working pretty hard for half a second or so before rendering. Most sites aren't that bad about this though.
Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
CPU Influence on Load Times - Don - 03-08-2012, 01:01 AM
RE: CPU Influence on Load Times - SWortham - 03-08-2012 02:11 AM

Forum Jump:

User(s) browsing this thread: 1 Guest(s)