[ 2 posts ]

Francesco Pongiluppi

YUI Contributor

  • Username: willywongi
  • Joined: Fri May 15, 2009 4:28 am
  • Posts: 41
  • GitHub: willywongi
  • Gists: willywongi
  • Offline
  • Profile

JS execution speed, local and remote files

Post Posted: Wed May 30, 2012 12:47 am
+0-
Hi, maybe this is not the right place to ask, but I'm going to share this with you.
I built a fairly complex framework, based on Model, ModelList and View, to render Forms in a web page; as I was testing it I got very very disappointed by the speed of execution of this rendering on Firefox 10+; the exact same page on Chrome was running 10x quicker.
Then I tried again, but instead of opening this test page from the filesystem (ie. the address bar showing "file:///..."), I loaded through a local webserver (address bar: "http://....").
To my big surprise and relief, I found the performances on par to Chrome.

I tried to search the vast seas of the internet, but I couldn't find a topic on that; do you have any experience on a different performance for html/js files run through local files than a web server (Firefox only!)

I'm crossposting this to a Mozilla forum, anyway.

Francesco Pongiluppi

YUI Contributor

  • Username: willywongi
  • Joined: Fri May 15, 2009 4:28 am
  • Posts: 41
  • GitHub: willywongi
  • Gists: willywongi
  • Offline
  • Profile

Re: JS execution speed, local and remote files

Post Posted: Wed May 30, 2012 12:51 am
+0-
The post on a Mozilla Mailing List
https://groups.google.com/forum/?fromgr ... fMS67u8zuQ
  [ 2 posts ]
Display posts from previous:  Sort by  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum