Extremely Slow JavaScript

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Extremely Slow JavaScript

Ryan Puddephatt
Hi all,
    I'm having major problems with some of my pages in recent builds of OPS and it seems to be getting progressively worse. I now have a page that, in firefox, continues to display Unresponsive Script message, I have continued to clicking for around 30-40 minutes with no joy. The page contains some xforms:repeats and groups and outputs, not what I would call straining on the server or pushing the limits. Is anything being done to correct these major performance bugs?
 
Thanks
 
Ryan
 

Ryan Puddephatt
Software Engineer
 

Teleflex Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotland
EH54 7DP
 
e> [hidden email]
t> +44(0)1506 407 110
f> +44(0)1506 407 108
w> www.teleflex.com

 


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: Extremely Slow JavaScript

Ryan Puddephatt
Also, I have two groups, like so:
 
<xforms:group ref=".[. = 'true']">
    <xhtml:img src="true.gif"/>
</xforms:group>
<xforms:group ref=".[. = 'false']">
    <xhtml:img src="false.gif"/>
</xforms:group>
 
These are in an xforms:repeat and although the same images are required for each repeat it calls the image several times (once for each item in the repeat) which is very wasteful seeing as the browser will cache this. Is this the browser getting very mistaken because its dynamic or is this something OPS can control?
 
Thanks
 
Ryan

Ryan Puddephatt
Software Engineer
 

Teleflex Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotland
EH54 7DP
 
e> [hidden email]
t> +44(0)1506 407 110
f> +44(0)1506 407 108
w> www.teleflex.com

 


From: Ryan Puddephatt [mailto:[hidden email]]
Sent: 17 July 2006 16:54
To: [hidden email]
Subject: [ops-users] Extremely Slow JavaScript

Hi all,
    I'm having major problems with some of my pages in recent builds of OPS and it seems to be getting progressively worse. I now have a page that, in firefox, continues to display Unresponsive Script message, I have continued to clicking for around 30-40 minutes with no joy. The page contains some xforms:repeats and groups and outputs, not what I would call straining on the server or pushing the limits. Is anything being done to correct these major performance bugs?
 
Thanks
 
Ryan
 

Ryan Puddephatt
Software Engineer
 

Teleflex Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotland
EH54 7DP
 
e> [hidden email]
t> +44(0)1506 407 110
f> +44(0)1506 407 108
w> www.teleflex.com

 


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Extremely Slow JavaScript

Erik Bruchez
Administrator
Ryan,

Are you seeing this with Firefox, IE, or both?

-Erik

Ryan Puddephatt wrote:

> Also, I have two groups, like so:
>  
> <xforms:group ref=".[. = 'true']">
>     <xhtml:img src="true.gif"/>
> </xforms:group>
> <xforms:group ref=".[. = 'false']">
>     <xhtml:img src="false.gif"/>
> </xforms:group>
>  
> These are in an xforms:repeat and although the same images are required
> for each repeat it calls the image several times (once for each item in
> the repeat) which is very wasteful seeing as the browser will cache
> this. Is this the browser getting very mistaken because its dynamic or
> is this something OPS can control?
>  
> Thanks
>  
> Ryan
>
> Ryan Puddephatt
> Software Engineer
>  
>
> Teleflex Group - IT UK
> 1 Michaelson Square
> Livingston
> West Lothian
> Scotland
> EH54 7DP
>  
> e> [hidden email] <mailto:[hidden email]>
> t> +44(0)1506 407 110
> f> +44(0)1506 407 108
> w> www.teleflex.com <http://www.teleflex.com/>
>
>  
>
> ------------------------------------------------------------------------
> *From:* Ryan Puddephatt [mailto:[hidden email]]
> *Sent:* 17 July 2006 16:54
> *To:* [hidden email]
> *Subject:* [ops-users] Extremely Slow JavaScript
>
> Hi all,
>     I'm having major problems with some of my pages in recent builds of
> OPS and it seems to be getting progressively worse. I now have a page
> that, in firefox, continues to display Unresponsive Script message, I
> have continued to clicking for around 30-40 minutes with no joy. The
> page contains some xforms:repeats and groups and outputs, not what I
> would call straining on the server or pushing the limits. Is anything
> being done to correct these major performance bugs?
>  
> Thanks
>  
> Ryan
>  
>
> Ryan Puddephatt
> Software Engineer
>  
>
> Teleflex Group - IT UK
> 1 Michaelson Square
> Livingston
> West Lothian
> Scotland
> EH54 7DP
>  
> e> [hidden email] <mailto:[hidden email]>
> t> +44(0)1506 407 110
> f> +44(0)1506 407 108
> w> www.teleflex.com <http://www.teleflex.com/>
>
>  

--
Orbeon - XForms Everywhere:
http://www.orbeon.com/blog/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: Extremely Slow JavaScript

Ryan Puddephatt
In IE the JS is still very slow, taking over 2 minutes to load the page
after everything appears to be on the page, this is after taking around 5
minutes to load. Although in Firefox I gave up after clicking continue
soooooo many times. So IE is still functional, but Firefox just bombs! I see
the image loading problem more with Firefox (more calls for the image), but
it does do it in IE as well, but its more acceptable so I guess that is a
browser thing?

Thanks

Ryan

Ryan Puddephatt
Software Engineer

Teleflex Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotland
EH54 7DP

e> [hidden email]
t> +44(0)1506 407 110
f> +44(0)1506 407 108


-----Original Message-----
From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez
Sent: 17 July 2006 17:32
To: [hidden email]
Subject: Re: [ops-users] Extremely Slow JavaScript

Ryan,

Are you seeing this with Firefox, IE, or both?

-Erik

Ryan Puddephatt wrote:

> Also, I have two groups, like so:
>  
> <xforms:group ref=".[. = 'true']">
>     <xhtml:img src="true.gif"/>
> </xforms:group>
> <xforms:group ref=".[. = 'false']">
>     <xhtml:img src="false.gif"/>
> </xforms:group>
>  
> These are in an xforms:repeat and although the same images are
> required for each repeat it calls the image several times (once for
> each item in the repeat) which is very wasteful seeing as the browser
> will cache this. Is this the browser getting very mistaken because its
> dynamic or is this something OPS can control?
>  
> Thanks
>  
> Ryan
>
> Ryan Puddephatt
> Software Engineer
>  
>
> Teleflex Group - IT UK
> 1 Michaelson Square
> Livingston
> West Lothian
> Scotland
> EH54 7DP
>  
> e> [hidden email] <mailto:[hidden email]>
> t> +44(0)1506 407 110
> f> +44(0)1506 407 108
> w> www.teleflex.com <http://www.teleflex.com/>
>
>  
>
> ----------------------------------------------------------------------
> --
> *From:* Ryan Puddephatt [mailto:[hidden email]]
> *Sent:* 17 July 2006 16:54
> *To:* [hidden email]
> *Subject:* [ops-users] Extremely Slow JavaScript
>
> Hi all,
>     I'm having major problems with some of my pages in recent builds
> of OPS and it seems to be getting progressively worse. I now have a
> page that, in firefox, continues to display Unresponsive Script
> message, I have continued to clicking for around 30-40 minutes with no
> joy. The page contains some xforms:repeats and groups and outputs, not
> what I would call straining on the server or pushing the limits. Is
> anything being done to correct these major performance bugs?
>  
> Thanks
>  
> Ryan
>  
>
> Ryan Puddephatt
> Software Engineer
>  
>
> Teleflex Group - IT UK
> 1 Michaelson Square
> Livingston
> West Lothian
> Scotland
> EH54 7DP
>  
> e> [hidden email] <mailto:[hidden email]>
> t> +44(0)1506 407 110
> f> +44(0)1506 407 108
> w> www.teleflex.com <http://www.teleflex.com/>
>
>  

--
Orbeon - XForms Everywhere:
http://www.orbeon.com/blog/





--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Extremely Slow JavaScript

Erik Bruchez
Administrator
Ryan,

We know of an IE bug where IE reloads images possibly hundreds of times,
  but I have never seen this with Firefox. So it's probably something
different you are hitting here.

Regarding JavaScript slowness, we are working on fixing this.
Interestingly enough, Opera is orders of magnitude faster in this regard!

-Erik

Ryan Puddephatt wrote:

> In IE the JS is still very slow, taking over 2 minutes to load the page
> after everything appears to be on the page, this is after taking around 5
> minutes to load. Although in Firefox I gave up after clicking continue
> soooooo many times. So IE is still functional, but Firefox just bombs! I see
> the image loading problem more with Firefox (more calls for the image), but
> it does do it in IE as well, but its more acceptable so I guess that is a
> browser thing?
>
> Thanks
>
> Ryan
>
> Ryan Puddephatt
> Software Engineer
>
> Teleflex Group - IT UK
> 1 Michaelson Square
> Livingston
> West Lothian
> Scotland
> EH54 7DP
>
> e> [hidden email]
> t> +44(0)1506 407 110
> f> +44(0)1506 407 108
>
>
> -----Original Message-----
> From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez
> Sent: 17 July 2006 17:32
> To: [hidden email]
> Subject: Re: [ops-users] Extremely Slow JavaScript
>
> Ryan,
>
> Are you seeing this with Firefox, IE, or both?
>
> -Erik
>
> Ryan Puddephatt wrote:
>> Also, I have two groups, like so:
>>  
>> <xforms:group ref=".[. = 'true']">
>>     <xhtml:img src="true.gif"/>
>> </xforms:group>
>> <xforms:group ref=".[. = 'false']">
>>     <xhtml:img src="false.gif"/>
>> </xforms:group>
>>  
>> These are in an xforms:repeat and although the same images are
>> required for each repeat it calls the image several times (once for
>> each item in the repeat) which is very wasteful seeing as the browser
>> will cache this. Is this the browser getting very mistaken because its
>> dynamic or is this something OPS can control?
>>  
>> Thanks
>>  
>> Ryan
>>
>> Ryan Puddephatt
>> Software Engineer
>>  
>>
>> Teleflex Group - IT UK
>> 1 Michaelson Square
>> Livingston
>> West Lothian
>> Scotland
>> EH54 7DP
>>  
>> e> [hidden email] <mailto:[hidden email]>
>> t> +44(0)1506 407 110
>> f> +44(0)1506 407 108
>> w> www.teleflex.com <http://www.teleflex.com/>
>>
>>  
>>
>> ----------------------------------------------------------------------
>> --
>> *From:* Ryan Puddephatt [mailto:[hidden email]]
>> *Sent:* 17 July 2006 16:54
>> *To:* [hidden email]
>> *Subject:* [ops-users] Extremely Slow JavaScript
>>
>> Hi all,
>>     I'm having major problems with some of my pages in recent builds
>> of OPS and it seems to be getting progressively worse. I now have a
>> page that, in firefox, continues to display Unresponsive Script
>> message, I have continued to clicking for around 30-40 minutes with no
>> joy. The page contains some xforms:repeats and groups and outputs, not
>> what I would call straining on the server or pushing the limits. Is
>> anything being done to correct these major performance bugs?
>>  
>> Thanks
>>  
>> Ryan
>>  
>>
>> Ryan Puddephatt
>> Software Engineer
>>  
>>
>> Teleflex Group - IT UK
>> 1 Michaelson Square
>> Livingston
>> West Lothian
>> Scotland
>> EH54 7DP
>>  
>> e> [hidden email] <mailto:[hidden email]>
>> t> +44(0)1506 407 110
>> f> +44(0)1506 407 108
>> w> www.teleflex.com <http://www.teleflex.com/>
>>
>>  
>
>
> --
> Orbeon - XForms Everywhere:
> http://www.orbeon.com/blog/
>
>
>
>
>
> ------------------------------------------------------------------------
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

--
Orbeon - XForms Everywhere:
http://www.orbeon.com/blog/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Extremely Slow JavaScript

Alessandro  Vernet
Administrator
On 7/18/06, Erik Bruchez <[hidden email]> wrote:
> Regarding JavaScript slowness, we are working on fixing this.
> Interestingly enough, Opera is orders of magnitude faster in
> this regard!

Ryan,

As quick update, we are making very good progress on this. In the
process we have refactored a significant portion of the JavaScript
code. The good part is that code will be easier to maintain in the
future, but the bad part is that this introduced some new bugs. So we
would like to at least get all the regressions we know about fixed
before checking this new code in, and get it in nightly builds. We
should have something for you and others to try sometime next week.

Alex
--
Blog (XML, Web apps, Open Source):
http://www.orbeon.com/blog/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet