{"id":4905,"date":"2014-03-30T16:47:42","date_gmt":"2014-03-30T16:47:42","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/problem-about-load-time-collection-of-common-programming-errors\/"},"modified":"2014-03-30T16:47:42","modified_gmt":"2014-03-30T16:47:42","slug":"problem-about-load-time-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/problem-about-load-time-collection-of-common-programming-errors\/","title":{"rendered":"problem about load-time-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/8a4d6f03a8879432d8563aefbf48e787?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nAaron Digulla<br \/>\nwindows performance load-time<br \/>\nI&#8217;m sure many have noticed that when you have a large application (i.e. something requiring a few MBs of DLLs) it loads much faster the second time than the first time. The same happens if you read a large file in your application. It&#8217;s read much faster after the first time.What affects this? I suppose this is the hard-drive cache, or is the OS adding some memory-caching of its own.What techniques do you use to speed-up the loading times of large applications and files?Thanks in advanceNote: th<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/263f6c04fb9f5d1e1ca64a839babf466?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nAad<br \/>\nc compiler-errors initialization runtime load-time<br \/>\nThis question already has an answer here:initializing static variable with a function call gives compilation error?3 answersIn the below example, I get an error on compilationint main() {int x = 10; \/\/ guess this is runtime initialisationstatic int y = x; \/\/guess this is loadtime initialisationprintf(&#8220;x = %d, y = %d&#8221;, x, y);}Error:error: initializer element is not constantMy understanding is this is related to the way static and global members are initialised as against auto variables. I wanted<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/656d420c4dee0a08a67eafbf8e45b759?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nmatt74tm<br \/>\nload-time measure<br \/>\nHow can I test my site &#8220;as if&#8221; users have logged in and then accessing different parts of the website?I saw http:\/\/webmasters.stackexchange.com\/questions\/128\/is-there-a-good-way-to-measure-my-sites-response-time-from-different-parts-of-th but it looks like its just for a &#8220;outside&#8221; \/ publicly visible page.<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/8f6337c8c7a1cf04dab80ae3a8c40150?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\ntirengarfio<br \/>\nseo domains web-hosting optimization load-time<br \/>\nI bought a domain in a very well know provider of domains in USA (Godaddy).Now I want to use that domain for a site (local bussines) hosted in a server in Spain, and I&#8217;m wondering if I will get shorter response times if I have bought the domain in the same firm where I contract the hosting, or if search engines punish my site because of that.<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/103f9bb2b6f2ab3c5230ca4324bf140e?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nwaxical<br \/>\njavascript swfobject load-time<br \/>\nHaving a number of people complaining of slow load times on an SWF, but it appears fine this end.I&#8217;d like to add a load timer in the SWFObject javascript to time how long it takes to load an SWF and then send it back to us (I&#8217;ll do that via AJAX).I&#8217;ve looked into possibles with SWFObject callback, which starts a timer every 10millisecodns and then will stop once success. But, looking at this, this is just a switch if embed has been successful, not load.function loadSWF(playURL){swfobject.embedSW<\/li>\n<\/ul>\n<p>Web site is in building<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Aaron Digulla windows performance load-time I&#8217;m sure many have noticed that when you have a large application (i.e. something requiring a few MBs of DLLs) it loads much faster the second time than the first time. The same happens if you read a large file in your application. It&#8217;s read much faster after the first [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-4905","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/4905","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=4905"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/4905\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=4905"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=4905"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=4905"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}