Re: Continuum 1.1.0-beta-2 UI performance

2007-09-14 Thread Damien Lecan
2007/9/14, Emmanuel Venisse [EMAIL PROTECTED]:
 Olivier has done a little patch that improve a lot the rendering.
 I have a group with 100 projects, before the patch, the page was display in 
 12s and now it's less than 2s.
 Can you give a try?

Yes i can !
How can I do that ? Patch, snapshot ?

Thanks

Damien


Re: Continuum 1.1.0-beta-2 UI performance

2007-09-14 Thread Emmanuel Venisse

You can try the latest snapshot : 
http://maven.zones.apache.org/~continuum/builds/trunk/

Emmanuel

Damien Lecan a écrit :

2007/9/14, Emmanuel Venisse [EMAIL PROTECTED]:

Olivier has done a little patch that improve a lot the rendering.
I have a group with 100 projects, before the patch, the page was display in 12s 
and now it's less than 2s.
Can you give a try?


Yes i can !
How can I do that ? Patch, snapshot ?

Thanks

Damien






Re: Continuum 1.1.0-beta-2 UI performance

2007-09-14 Thread Damien Lecan
2007/9/14, Emmanuel Venisse [EMAIL PROTECTED]:
 You can try the latest snapshot : 
 http://maven.zones.apache.org/~continuum/builds/trunk/

Did you change something in database schema ?

I get that when I launch the snapshot :
com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Unknown column
'ELEMENT.ALWAYS_BUILD' in 'field list'

Damien


Re: Continuum 1.1.0-beta-2 UI performance

2007-09-14 Thread olivier lamy
Yep it's a change.



2007/9/14, Damien Lecan [EMAIL PROTECTED]:

 2007/9/14, Emmanuel Venisse [EMAIL PROTECTED]:
  You can try the latest snapshot :
 http://maven.zones.apache.org/~continuum/builds/trunk/

 Did you change something in database schema ?

 I get that when I launch the snapshot :
 com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Unknown column
 'ELEMENT.ALWAYS_BUILD' in 'field list'

 Damien




-- 
Olivier


Re: Continuum 1.1.0-beta-2 UI performance

2007-09-14 Thread Emmanuel Venisse

yes, some fields are added. We're writing a doc about database migration.

Emmanuel

Damien Lecan a écrit :

2007/9/14, Emmanuel Venisse [EMAIL PROTECTED]:

You can try the latest snapshot : 
http://maven.zones.apache.org/~continuum/builds/trunk/


Did you change something in database schema ?

I get that when I launch the snapshot :
com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Unknown column
'ELEMENT.ALWAYS_BUILD' in 'field list'

Damien






Re: Continuum 1.1.0-beta-2 UI performance

2007-09-14 Thread Damien Lecan
2007/9/14, Emmanuel Venisse [EMAIL PROTECTED]:
 yes, some fields are added. We're writing a doc about database migration.

Ok, I will try with a fresh database, I'll migrate later.

Damien


Re: Continuum 1.1.0-beta-2 UI performance

2007-09-14 Thread Damien Lecan
2007/9/14, Emmanuel Venisse [EMAIL PROTECTED]:
 Olivier has done a little patch that improve a lot the rendering.
 I have a group with 100 projects, before the patch, the page was display in 
 12s and now it's less than 2s.
 Can you give a try?

Incredibly fast ! My now 25 module project page is loaded in ~2,1s.
Well done, this is performance tuning ;-)

Damien


Re: Continuum 1.1.0-beta-2 UI performance

2007-09-14 Thread olivier lamy
Cool.
Thanks for your time on testing.

--
Olivier

2007/9/14, Damien Lecan [EMAIL PROTECTED]:

 2007/9/14, Emmanuel Venisse [EMAIL PROTECTED]:
  Olivier has done a little patch that improve a lot the rendering.
  I have a group with 100 projects, before the patch, the page was display
 in 12s and now it's less than 2s.
  Can you give a try?

 Incredibly fast ! My now 25 module project page is loaded in ~2,1s.
 Well done, this is performance tuning ;-)

 Damien




-- 
Olivier


Re: Continuum 1.1.0-beta-2 UI performance

2007-09-13 Thread olivier lamy
Hi,
I have created the issue : http://jira.codehaus.org/browse/CONTINUUM-1446.
We will fix this for beta-3.


--
Olivier


2007/9/13, Emmanuel Venisse [EMAIL PROTECTED]:



 Damien Lecan a écrit :
  2007/9/12, Emmanuel Venisse [EMAIL PROTECTED]:
  I'd like you test something about performance.
 
  As explain in this page (
 http://wiki.opensymphony.com/display/WW/Performance+Tuning), you can
 create a freemarker.properties file under WEB-INF/classes that contains
 'template_update_delay=6'
  then you extract the template directory from webwork jar to
 WEB-INF/classes
  Let us know if it's better with that.
 
  Much better than before : the 17 module project page takes now just
  between 7,5s and 11s to load.
  And all pages are loaded faster.

 Cool, I'll look if I can add these changes in the release.

 
  Thanks
 
  I noticed something else : pages are loaded much faster as guest than
  as admin with full roles.
 
  For the same 17 module project page, I get the following values
  (average for 10 loads) :
   - guest : 7,6s
   - admin : 11,5s
 
  Checking of roles takes ~4s.  Improvements could be done ?

 It isn't the roles check that take some seconds but pages aren't the
 exactly the same for a guest and an admin.
 If you don't get project group admin or project group developer roles to
 guest, he can't see some actions/links like build/edit/remove... that
 require some more webwork cycles

 Emmanuel





-- 
Olivier


Re: Continuum 1.1.0-beta-2 UI performance

2007-09-13 Thread Damien Lecan
  Checking of roles takes ~4s.  Improvements could be done ?

 It isn't the roles check that take some seconds but pages aren't the exactly 
 the same for a guest and an admin.
 If you don't get project group admin or project group developer roles to 
 guest, he can't see some actions/links like build/edit/remove... that require 
 some more webwork cycles

Webwork cycles raise the rendering time by 50%. Something must be
wrong with Webwork/freemarker.
I'm managing JSP/Struts, JSP/Spring MVC applications with Acegi to manage roles.
Displaying or not actions/links... maybe 50 times in a page is not so slow.

Good luck and thank you for the first improvement.

Damien


Re: Continuum 1.1.0-beta-2 UI performance

2007-09-12 Thread Damien Lecan
Hello,

   for 
 http://maven.zones.apache.org/continuum/projectGroupSummary.action?projectGroupId=9
 we have 30 modules printed in 7,5s and the page size is 101ko

 We use the standalone version installed in a vm.

Standalone version is as slow as embedded version in Tomcat :-(

My server is not powerful, but other applications running on it are
very fast compared to Continuum (Jira, Spring MVC/Struts home-made
Java applications, Proximity, ...)

Are 7,5s to load a single page an acceptable value for a such product ?

Damien


Re: Continuum 1.1.0-beta-2 UI performance

2007-09-12 Thread Emmanuel Venisse

I'd like you test something about performance.

As explain in this page 
(http://wiki.opensymphony.com/display/WW/Performance+Tuning), you can create a 
freemarker.properties file under WEB-INF/classes that contains 
'template_update_delay=6'
then you extract the template directory from webwork jar to WEB-INF/classes

Let us know if it's better with that.
Thanks

Emmanuel

Damien Lecan a écrit :

Hello,


  for 
http://maven.zones.apache.org/continuum/projectGroupSummary.action?projectGroupId=9
we have 30 modules printed in 7,5s and the page size is 101ko

We use the standalone version installed in a vm.


Standalone version is as slow as embedded version in Tomcat :-(

My server is not powerful, but other applications running on it are
very fast compared to Continuum (Jira, Spring MVC/Struts home-made
Java applications, Proximity, ...)

Are 7,5s to load a single page an acceptable value for a such product ?

Damien






Re: Continuum 1.1.0-beta-2 UI performance

2007-09-12 Thread Emmanuel Venisse



Damien Lecan a écrit :

Hello,


  for 
http://maven.zones.apache.org/continuum/projectGroupSummary.action?projectGroupId=9
we have 30 modules printed in 7,5s and the page size is 101ko

We use the standalone version installed in a vm.


Standalone version is as slow as embedded version in Tomcat :-(


:(



My server is not powerful, but other applications running on it are
very fast compared to Continuum (Jira, Spring MVC/Struts home-made
Java applications, Proximity, ...)

Are 7,5s to load a single page an acceptable value for a such product ?


We'll improve performance in 1.2, but I don't think 7,5s is a problem for a 
such product

Emmanuel



Re: Continuum 1.1.0-beta-2 UI performance

2007-09-11 Thread Damien Lecan
  I could activate some special debug log or anything else which could help ?

 you can set the log level of JPOX* and SQL to DEBUG in 
 apps/continuum/webapp/WEB-INF/classes/META-INF/plexus/application.xml

I did that. I load page Project Group Summary of a 17 module project.


For a request that begins at 00:00:00 and ends at 00:00:18, I get that :

00:00:01,692 [http-8081-Processor9] DEBUG General - Implementation
creator not configured. Due to that, the persistence of interfaces was
disabled!

... lot of logs

00:00:02,870 [http-8081-Processor9] DEBUG JDO - Persistence Manager
[EMAIL PROTECTED] closed

2 sec to retrieve data.

But what happens between 00:00:02,870 and 00:00:18 ?

More logs to enable ?

Thanks

Damien


Re: Continuum 1.1.0-beta-2 UI performance

2007-09-11 Thread Emmanuel Venisse

 for 
http://maven.zones.apache.org/continuum/projectGroupSummary.action?projectGroupId=9
we have 30 modules printed in 7,5s and the page size is 101ko

We use the standalone version installed in a vm.

Emmanuel

Damien Lecan a écrit :

2007/9/11, Emmanuel Venisse [EMAIL PROTECTED]:

I don't understand why it is so slow to render the project list because the 
rendering start with this line:

00:00:03,452 [http-8081-Processor11] DEBUG ServletDispatcherResult- 
Forwarding to location /WEB-INF/jsp/components/projectSummaryComponent.jsp

and end with this line:

00:00:21,213 [http-8081-Processor11] DEBUG ServletDispatcherResult- 
Forwarding to location /WEB-INF/jsp/components/companyLogo.jsp

so it's 18 seconds to print the html, very long because we don't have data to 
process there. We don't have the hand on this part because the rendering is 
webwork and extremecomponents work.

Can you try with the Continuum standalone version to see if the result is 
different?
What is your jdk?


Resulting page is about 71kb.

I'm using Java 1.5.0_11 under Linux fedora

I'll try asap Continuum as a standalone instance (without Tomcat).

Thanks

Damien






Re: Continuum 1.1.0-beta-2 UI performance

2007-09-11 Thread Damien Lecan
2007/9/10, Emmanuel Venisse [EMAIL PROTECTED]:
 Continuum can't be compared to Archiva because in Continuum
 pages we have lot of db queries.

This server is also running Jira (same local MySql server, same Tomcat
instance), without a such slowness.
Are you interested in knowing what's happening on my server ?

I could activate some special debug log or anything else which could help ?

Damien


Re: Continuum 1.1.0-beta-2 UI performance

2007-09-11 Thread Emmanuel Venisse



Damien Lecan a écrit :

2007/9/10, Emmanuel Venisse [EMAIL PROTECTED]:

Continuum can't be compared to Archiva because in Continuum
pages we have lot of db queries.


This server is also running Jira (same local MySql server, same Tomcat
instance), without a such slowness.
Are you interested in knowing what's happening on my server ?


sure.



I could activate some special debug log or anything else which could help ?


you can set the log level of JPOX* and SQL to DEBUG in 
apps/continuum/webapp/WEB-INF/classes/META-INF/plexus/application.xml

Emmanuel




Re: Continuum 1.1.0-beta-2 UI performance

2007-09-11 Thread Emmanuel Venisse

I don't understand why it is so slow to render the project list because the 
rendering start with this line:

00:00:03,452 [http-8081-Processor11] DEBUG ServletDispatcherResult- 
Forwarding to location /WEB-INF/jsp/components/projectSummaryComponent.jsp

and end with this line:

00:00:21,213 [http-8081-Processor11] DEBUG ServletDispatcherResult- 
Forwarding to location /WEB-INF/jsp/components/companyLogo.jsp

so it's 18 seconds to print the html, very long because we don't have data to 
process there. We don't have the hand on this part because the rendering is 
webwork and extremecomponents work.

Can you try with the Continuum standalone version to see if the result is 
different?
What is your jdk?

Emmanuel

Damien Lecan a écrit :

ok, switch all logs levels to DEBUG by switching the threshold from INFO to 
DEBUG


Log file is attached to this email.

There are a lot of logs about templates, permissions ...

Damien




Re: Continuum 1.1.0-beta-2 UI performance

2007-09-10 Thread Damien Lecan
Hello,

I set up Archiva 1.0-beta-1 with the same configuration, and
performances are quite better than Continuum one (2-3s to display a
page).

How can I understand what happen to my Continuum instance ?

Thanks

Damien Lecan


2007/9/4, Emmanuel Venisse [EMAIL PROTECTED]:
 We know that 1.1 is a little slower than 1.0.3 because lot of new request and 
 full security added but 25s for 17 modules isn't a normal perf result

 Emmanuel

 Mrinal Mukherjee a écrit :
  Same problem with me. Slow UI. I had this problem as soon as I upgraded to
  the newer version of continuum. I thought it was a problem in my system, but
  now I know its something to do with the new version of continuum.
 
  Mrinal
 
  -Original Message-
  From: Justin Deoliveira [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, September 04, 2007 5:49 PM
  To: [EMAIL PROTECTED]
  Subject: Re: Continuum 1.1.0-beta-2 UI performance
 
  I am using derby out of the box and noticed the same slowdown. I don't
  have any metrics to back it up but its definitely noticeably slower.
 
  -Justin
 
  Emmanuel Venisse wrote:
 
  Damien Lecan a écrit :
  Hello,
 
  I've just installed Continuum 1.1.0-beta-2 to replace my old Continuum
  1.0.3 instance.
  I'm working with MySql instead of embbeded sql server and with Tomcat
  5.5.17
 
  Nice new features, but UI is very, very, very slow :(
 
  I followed
  http://docs.codehaus.org/display/CONTINUUMUSER/Continuum+on+MySQL
  and http://docs.codehaus.org/display/CONTINUUMUSER/Continuum+on+Tomcat
  for installation.
 
  Everything works fine, but very, very slowly. For example, each item
  on the left menu appears one after the other. Same thing when
  displaying project group information. Each module name  appears one
  after the other (25s for a 17 modules project).
  25s for 17 modules??? With embedded derby database we have better
  performance (http://maven.zones.apache.org/continuum/) and all appears
  at the same time
  Are you sure you use the right jdbc driver?
 
  MySql database is shared with other Java applications. They work fine,
  with expected performances.
 
  What can be the problem ?
 
  Thanks
 
  Damien Lecan
 
 
 
 
  !DSPAM:4007,46dd7d79203981439371379!
 
 
 




Re: Continuum 1.1.0-beta-2 UI performance

2007-09-10 Thread Emmanuel Venisse

Continuum can't be compared to Archiva because in Continuum pages we have lot 
of db queries.

Emmanuel

Damien Lecan a écrit :

Hello,

I set up Archiva 1.0-beta-1 with the same configuration, and
performances are quite better than Continuum one (2-3s to display a
page).

How can I understand what happen to my Continuum instance ?

Thanks

Damien Lecan


2007/9/4, Emmanuel Venisse [EMAIL PROTECTED]:

We know that 1.1 is a little slower than 1.0.3 because lot of new request and 
full security added but 25s for 17 modules isn't a normal perf result

Emmanuel

Mrinal Mukherjee a écrit :

Same problem with me. Slow UI. I had this problem as soon as I upgraded to
the newer version of continuum. I thought it was a problem in my system, but
now I know its something to do with the new version of continuum.

Mrinal

-Original Message-
From: Justin Deoliveira [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 04, 2007 5:49 PM
To: [EMAIL PROTECTED]
Subject: Re: Continuum 1.1.0-beta-2 UI performance

I am using derby out of the box and noticed the same slowdown. I don't
have any metrics to back it up but its definitely noticeably slower.

-Justin

Emmanuel Venisse wrote:

Damien Lecan a écrit :

Hello,

I've just installed Continuum 1.1.0-beta-2 to replace my old Continuum
1.0.3 instance.
I'm working with MySql instead of embbeded sql server and with Tomcat
5.5.17

Nice new features, but UI is very, very, very slow :(

I followed
http://docs.codehaus.org/display/CONTINUUMUSER/Continuum+on+MySQL
and http://docs.codehaus.org/display/CONTINUUMUSER/Continuum+on+Tomcat
for installation.

Everything works fine, but very, very slowly. For example, each item
on the left menu appears one after the other. Same thing when
displaying project group information. Each module name  appears one
after the other (25s for a 17 modules project).

25s for 17 modules??? With embedded derby database we have better
performance (http://maven.zones.apache.org/continuum/) and all appears
at the same time
Are you sure you use the right jdbc driver?


MySql database is shared with other Java applications. They work fine,
with expected performances.

What can be the problem ?

Thanks

Damien Lecan




!DSPAM:4007,46dd7d79203981439371379!












Re: Continuum 1.1.0-beta-2 UI performance

2007-09-04 Thread Emmanuel Venisse



Damien Lecan a écrit :

Hello,

I've just installed Continuum 1.1.0-beta-2 to replace my old Continuum
1.0.3 instance.
I'm working with MySql instead of embbeded sql server and with Tomcat 5.5.17

Nice new features, but UI is very, very, very slow :(

I followed http://docs.codehaus.org/display/CONTINUUMUSER/Continuum+on+MySQL
and http://docs.codehaus.org/display/CONTINUUMUSER/Continuum+on+Tomcat
for installation.

Everything works fine, but very, very slowly. For example, each item
on the left menu appears one after the other. Same thing when
displaying project group information. Each module name  appears one
after the other (25s for a 17 modules project).


25s for 17 modules??? With embedded derby database we have better performance 
(http://maven.zones.apache.org/continuum/) and all appears at the same time
Are you sure you use the right jdbc driver?



MySql database is shared with other Java applications. They work fine,
with expected performances.

What can be the problem ?

Thanks

Damien Lecan







Re: Continuum 1.1.0-beta-2 UI performance

2007-09-04 Thread Justin Deoliveira
I am using derby out of the box and noticed the same slowdown. I don't
have any metrics to back it up but its definitely noticeably slower.

-Justin

Emmanuel Venisse wrote:
 
 
 Damien Lecan a écrit :
 Hello,

 I've just installed Continuum 1.1.0-beta-2 to replace my old Continuum
 1.0.3 instance.
 I'm working with MySql instead of embbeded sql server and with Tomcat
 5.5.17

 Nice new features, but UI is very, very, very slow :(

 I followed
 http://docs.codehaus.org/display/CONTINUUMUSER/Continuum+on+MySQL
 and http://docs.codehaus.org/display/CONTINUUMUSER/Continuum+on+Tomcat
 for installation.

 Everything works fine, but very, very slowly. For example, each item
 on the left menu appears one after the other. Same thing when
 displaying project group information. Each module name  appears one
 after the other (25s for a 17 modules project).
 
 25s for 17 modules??? With embedded derby database we have better
 performance (http://maven.zones.apache.org/continuum/) and all appears
 at the same time
 Are you sure you use the right jdbc driver?
 

 MySql database is shared with other Java applications. They work fine,
 with expected performances.

 What can be the problem ?

 Thanks

 Damien Lecan



 
 
 !DSPAM:4007,46dd7d79203981439371379!
 


-- 
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org


RE: Continuum 1.1.0-beta-2 UI performance

2007-09-04 Thread Mrinal Mukherjee
Same problem with me. Slow UI. I had this problem as soon as I upgraded to
the newer version of continuum. I thought it was a problem in my system, but
now I know its something to do with the new version of continuum. 

Mrinal

-Original Message-
From: Justin Deoliveira [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 04, 2007 5:49 PM
To: continuum-users@maven.apache.org
Subject: Re: Continuum 1.1.0-beta-2 UI performance

I am using derby out of the box and noticed the same slowdown. I don't
have any metrics to back it up but its definitely noticeably slower.

-Justin

Emmanuel Venisse wrote:
 
 
 Damien Lecan a écrit :
 Hello,

 I've just installed Continuum 1.1.0-beta-2 to replace my old Continuum
 1.0.3 instance.
 I'm working with MySql instead of embbeded sql server and with Tomcat
 5.5.17

 Nice new features, but UI is very, very, very slow :(

 I followed
 http://docs.codehaus.org/display/CONTINUUMUSER/Continuum+on+MySQL
 and http://docs.codehaus.org/display/CONTINUUMUSER/Continuum+on+Tomcat
 for installation.

 Everything works fine, but very, very slowly. For example, each item
 on the left menu appears one after the other. Same thing when
 displaying project group information. Each module name  appears one
 after the other (25s for a 17 modules project).
 
 25s for 17 modules??? With embedded derby database we have better
 performance (http://maven.zones.apache.org/continuum/) and all appears
 at the same time
 Are you sure you use the right jdbc driver?
 

 MySql database is shared with other Java applications. They work fine,
 with expected performances.

 What can be the problem ?

 Thanks

 Damien Lecan



 
 
 !DSPAM:4007,46dd7d79203981439371379!
 


-- 
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org

No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.484 / Virus Database: 269.12.12/979 - Release Date: 8/29/2007
8:21 PM
 

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.484 / Virus Database: 269.12.12/979 - Release Date: 8/29/2007
8:21 PM
 



Re: Continuum 1.1.0-beta-2 UI performance

2007-09-04 Thread Emmanuel Venisse

We know that 1.1 is a little slower than 1.0.3 because lot of new request and 
full security added but 25s for 17 modules isn't a normal perf result

Emmanuel

Mrinal Mukherjee a écrit :

Same problem with me. Slow UI. I had this problem as soon as I upgraded to
the newer version of continuum. I thought it was a problem in my system, but
now I know its something to do with the new version of continuum. 


Mrinal

-Original Message-
From: Justin Deoliveira [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 04, 2007 5:49 PM

To: [EMAIL PROTECTED]
Subject: Re: Continuum 1.1.0-beta-2 UI performance

I am using derby out of the box and noticed the same slowdown. I don't
have any metrics to back it up but its definitely noticeably slower.

-Justin

Emmanuel Venisse wrote:


Damien Lecan a écrit :

Hello,

I've just installed Continuum 1.1.0-beta-2 to replace my old Continuum
1.0.3 instance.
I'm working with MySql instead of embbeded sql server and with Tomcat
5.5.17

Nice new features, but UI is very, very, very slow :(

I followed
http://docs.codehaus.org/display/CONTINUUMUSER/Continuum+on+MySQL
and http://docs.codehaus.org/display/CONTINUUMUSER/Continuum+on+Tomcat
for installation.

Everything works fine, but very, very slowly. For example, each item
on the left menu appears one after the other. Same thing when
displaying project group information. Each module name  appears one
after the other (25s for a 17 modules project).

25s for 17 modules??? With embedded derby database we have better
performance (http://maven.zones.apache.org/continuum/) and all appears
at the same time
Are you sure you use the right jdbc driver?


MySql database is shared with other Java applications. They work fine,
with expected performances.

What can be the problem ?

Thanks

Damien Lecan





!DSPAM:4007,46dd7d79203981439371379!