nested repeat form runs slowly

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

nested repeat form runs slowly

Adrian Baker-2
I have a medium sized form containing a nested repeat which performs
very slowly (compared to my other forms of similar size without the
repeat).

Hitting 'Amend' (top right) on the attached form takes about 2 seconds
(subjectively) on a localhost connection to OPS on a 2.8 P4. (the other
triggers don't work yet). The same form in Chiba seems to run without
the long delay - although a direct comparison is hard, because I'm not
using Chiba's new AJAX engine, under Chiba this form runs the same speed
as the rest of my forms, and the rest of my forms run fine under OPS (if
that makes sense!).
 
I guess my best approach is to sit down with a profiler and see what's
going on - are there any known performance issues with specific
scenarios in OPS?

Adrian

Form Administration
65543 TestName 113390137502834 TestDescription 113390137502834 0 false false false false 6 2326536 Test facet113635898390711 0 3 0 2785301 value1 0 2785309 value2 0 2326972 Test facet113635910547913 4 -1 0 2785307 test value 111364130965371 0 2785288 test value 011364130965371 0 2785285 test value 211364130965371 0 2785292 test value 311364130965371 0 {template facet} 0 -1
2326536 Test facet113635898390711 0 3 0 2326972 Test facet113635910547913 4 -1 0 newone2 Optional Facet2 0 -1 0 view true
<xhtml:body onResize="resizeHandler();" onload="init();"> Form Administration Save Save Amend Cancel Cancel


--
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: nested repeat form runs slowly

Erik Bruchez
Administrator
Adrian,

It's hard for me to tell whether I am experiencing what you are
experiencing. I wouldn't say subjectively that it's super fast, but it
appears well under 2s on my machine (P4 3.4).

Can you try with one of the latest ops.jar?

   http://forge.objectweb.org/nightlybuilds/ops/ops/

There was a recent change related to event sending. Maybe that can help you.

Otherwise yes, a profiler is your friend, but while I think there is
room for performance enhancement in particular with xforms:repeat, it
may not be easy to figure out what's taking time. But I may also be
wrong ;-)

-Erik

Adrian Baker wrote:

> I have a medium sized form containing a nested repeat which performs
> very slowly (compared to my other forms of similar size without the
> repeat).
>
> Hitting 'Amend' (top right) on the attached form takes about 2 seconds
> (subjectively) on a localhost connection to OPS on a 2.8 P4. (the other
> triggers don't work yet). The same form in Chiba seems to run without
> the long delay - although a direct comparison is hard, because I'm not
> using Chiba's new AJAX engine, under Chiba this form runs the same speed
> as the rest of my forms, and the rest of my forms run fine under OPS (if
> that makes sense!).
>
> I guess my best approach is to sit down with a profiler and see what's
> going on - are there any known performance issues with specific
> scenarios in OPS?
>
> Adrian
>
> ------------------------------------------------------------------------
>
> Form Administration
> 65543 TestName 113390137502834 TestDescription 113390137502834 0 false
> false false false 6 2326536 Test facet113635898390711 0 3 0 2785301
> value1 0 2785309 value2 0 2326972 Test facet113635910547913 4 -1 0
> 2785307 test value 111364130965371 0 2785288 test value 011364130965371
> 0 2785285 test value 211364130965371 0 2785292 test value
> 311364130965371 0 {template facet} 0 -1
>
> 2326536 Test facet113635898390711 0 3 0 2326972 Test
> facet113635910547913 4 -1 0 newone2 Optional Facet2 0 -1 0 view true
> Form Administration Save Save Amend Cancel Cancel Form Facets This facet
> has an invalid number of values Add another value for this facet Add
> additional facet Form Facets This facet has an invalid number of values
> Add another value for this facet Add additional facet
>
>
> ------------------------------------------------------------------------
>
>
> --
> 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
Reply | Threaded
Open this post in threaded view
|

Re: nested repeat form runs slowly

Adrian Baker-2
How does this version run for you (if you've got a chance to test)?

Only the amend/cancel buttons work - they should flick the form back and forth between readonly and editable. The response to amend seems to be the slow point (here anyway!). On other forms without the repeats, but using the same amend/cancel pattern this is usually very fast.

I will try the latest version from CVS, although the one I'm using is only a week or two old.

Adrian

Erik Bruchez wrote:
Adrian,

It's hard for me to tell whether I am experiencing what you are experiencing. I wouldn't say subjectively that it's super fast, but it appears well under 2s on my machine (P4 3.4).

Can you try with one of the latest ops.jar?

  http://forge.objectweb.org/nightlybuilds/ops/ops/

There was a recent change related to event sending. Maybe that can help you.

Otherwise yes, a profiler is your friend, but while I think there is room for performance enhancement in particular with xforms:repeat, it may not be easy to figure out what's taking time. But I may also be wrong ;-)

-Erik

Adrian Baker wrote:
I have a medium sized form containing a nested repeat which performs very slowly (compared to my other forms of similar size without the repeat).

Hitting 'Amend' (top right) on the attached form takes about 2 seconds (subjectively) on a localhost connection to OPS on a 2.8 P4. (the other triggers don't work yet). The same form in Chiba seems to run without the long delay - although a direct comparison is hard, because I'm not using Chiba's new AJAX engine, under Chiba this form runs the same speed as the rest of my forms, and the rest of my forms run fine under OPS (if that makes sense!).

I guess my best approach is to sit down with a profiler and see what's going on - are there any known performance issues with specific scenarios in OPS?

Adrian

------------------------------------------------------------------------

Form Administration
65543 TestName 113390137502834 TestDescription 113390137502834 0 false false false false 6 2326536 Test facet113635898390711 0 3 0 2785301 value1 0 2785309 value2 0 2326972 Test facet113635910547913 4 -1 0 2785307 test value 111364130965371 0 2785288 test value 011364130965371 0 2785285 test value 211364130965371 0 2785292 test value 311364130965371 0 {template facet} 0 -1

2326536 Test facet113635898390711 0 3 0 2326972 Test facet113635910547913 4 -1 0 newone2 Optional Facet2 0 -1 0 view true Form Administration Save Save Amend Cancel Cancel Form Facets This facet has an invalid number of values Add another value for this facet Add additional facet Form Facets This facet has an invalid number of values Add another value for this facet Add additional facet


------------------------------------------------------------------------


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: [hidden email]
For general help: [hidden email]
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: [hidden email] For general help: [hidden email] ObjectWeb mailing lists service home page: http://www.objectweb.org/wws


Form Administration
65543 TestName 113390137502834 TestDescription 113390137502834 0 false false false false 6 2326536 Test facet113635898390711 0 3 0 2785301 value1 0 2785309 value2 0 2326972 Test facet113635910547913 4 -1 0 2785307 test value 111364130965371 0 2785288 test value 011364130965371 0 2785285 test value 211364130965371 0 2785292 test value 311364130965371 0 {template facet} 0 -1
131079 1 2005-12-07T09:36:15+13:00 2005-12-07T09:36:15+13:00 user1 1
2005-12-07T09:36:16+13:00 currentUser 131080 2 2005-12-07T09:36:15+13:00 2005-12-07T09:36:16+13:00 user2 1 131081 3 2005-12-07T09:36:16+13:00 anEditingUser 2005-12-07T09:36:16+13:00 0 131082 4 2005-12-07T09:36:16+13:00 currentUser 2005-12-07T09:36:16.333+13:00 0 131082 5 2005-12-07T09:36:16.333+13:00 0 test 2326536 Test facet113635898390711 0 3 0 2326972 Test facet113635910547913 4 -1 0 newone2 Optional Facet2 0 -1 0 currentUser view true <xhtml:body onResize="resizeHandler();" onload="init();"> Form Administration (Processing ) Save Save Amend Cancel Cancel