Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Firefox 10+: poor js performances on a html page loaded from filesystem
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
willywo...@gmail.com  
View profile  
 More options May 30 2012, 4:50 am
Newsgroups: mozilla.dev.tech.js-engine
From: willywo...@gmail.com
Date: Wed, 30 May 2012 01:50:29 -0700 (PDT)
Local: Wed, May 30 2012 4:50 am
Subject: Firefox 10+: poor js performances on a html page loaded from filesystem
I built a fairly complex javascript framework, based on YUI3, 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.

Do you guys know if there's a reason for this behaviour? I'm not saying it's a problem, since that javascript will always be served through a web server, but it got me very curious.

Thanks!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Boris Zbarsky  
View profile  
 More options May 30 2012, 9:43 am
Newsgroups: mozilla.dev.tech.js-engine
From: Boris Zbarsky <bzbar...@mit.edu>
Date: Wed, 30 May 2012 09:43:27 -0400
Local: Wed, May 30 2012 9:43 am
Subject: Re: Firefox 10+: poor js performances on a html page loaded from filesystem
On 5/30/12 4:50 AM, willywo...@gmail.com wrote:

> Do you guys know if there's a reason for this behaviour?

Some things have special security checks that only happen in a file://
context.  But past that, it's really hard to say.

If you can put a zip or tarball of the app somewhere so that I could run
it under a profiler, I could give you a better idea of what's going on.

-Boris


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »