xforms:repeat Performance Bug

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

xforms:repeat Performance Bug

Ryan Puddephatt

Hi

            I have been using the Xforms:repeat to build a sortable table in 3.0! I am using OPS 3.0.beta3.200510091802.

 

At the moment the titles of the table are xforms:triggers, which when click set values in an instance and send this off to sort.xpl

Once its sorted the data comes back and is displayed through a repeat. I notice that the XPL takes only 5 seconds (if that) to run, the application freezes for up to a minute, or longer if there is are a lot or repeats. When the application comes back to life I find hundreds of dispatching events all the xforms-element-60 which is one of the repeat outputs. In my example I have 34 repeat rows, it cycles for the events of each row at least 5 times, before proceeding to do the same on the next row, until its done. This is a major performance issue and the page itself only takes 3 seconds to load the data from tamino and do the original sort, but then takes more than a minute to sort it again?!?!?!

 

Any ideas

 

Ryan Puddephatt

Web Developer

TFX Group

1 Michaelson Square

Livingston

West Lothian

Scotand

EH54 7DP

 

* [hidden email]

( 01506 407 110

7  01506 407 108

 

 



--
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: xforms:repeat Performance Bug

Erik Bruchez
Administrator
I would say that if the browser takes 60 seconds to display, there is a
problem with OPS, or the browser, or both ;-) I assume you are using
logging to see the events. Does logging itself take a lot of time, i.e.
if you disable that, is performance ok? Or is the time mostly spent then
in the browser?

Any way we could reproduce this?

-Erik

Ryan Puddephatt wrote:

> Hi
>
>             I have been using the Xforms:repeat to build a sortable
> table in 3.0! I am using OPS 3.0.beta3.200510091802.
>
>  
>
> At the moment the titles of the table are xforms:triggers, which when
> click set values in an instance and send this off to sort.xpl
>
> Once its sorted the data comes back and is displayed through a repeat. I
> notice that the XPL takes only 5 seconds (if that) to run, the
> application freezes for up to a minute, or longer if there is are a lot
> or repeats. When the application comes back to life I find hundreds of
> /dispatching events/ all the _xforms-element-60_ which is one of the
> repeat outputs. In my example I have 34 repeat rows, it cycles for the
> events of each row at least 5 times, before proceeding to do the same on
> the next row, until its done. This is a major performance issue and the
> page itself only takes 3 seconds to load the data from tamino and do the
> original sort, but then takes more than a minute to sort it again?!?!?!
>
>  
>
> Any ideas
>
>  
>
> *Ryan Puddephatt*
>
> Web Developer
>
> TFX Group
>
> 1 Michaelson Square
>
> Livingston
>
> West Lothian
>
> Scotand
>
> EH54 7DP
>
>  
>
> * [hidden email]
>
> ( 01506 407 110
>
> 7  01506 407 108
>
>  
>
>  
>
>
> ------------------------------------------------------------------------
>
>
> --
> 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



--
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