You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by ADong <gz...@hotmail.com> on 2005/01/20 04:20:53 UTC
We are doing Stress Test, Could you tell me that optimizes schemes?
Hi,
Wo project will be published in a few days. These days, we are doing Stress
Test. Two nearly the same pages, use JSP and Tapestry separately.
Could you tell me that there are any optimizes schemes? Or there is any
collision in WebLogic ? Thank you very much for your helps.
Framework: Spring 1.1 + Tapestry 3.0.1 + Hibernate 2.16 + Oracle 9i
Web container: WebLogic8.1 sp2
test tool: Microsoft Web Application Stress Tool
*Tapestry:
Overview(CUP occupancy is about 80%)
================================================================================
Report name: 2005-1-20 11:02:56
Run on: 2005-1-20 11:02:56
Run length: 00:01:00
Web Application Stress Tool Version:1.1.288.1
Number of test clients: 1
Number of hits: 2716
Requests per Second: 45.20
Socket Statistics
--------------------------------------------------------------------------------
Socket Connects: 2737
Total Bytes Sent (in KB): 745.86
Bytes Sent Rate (in KB/s): 12.41
Total Bytes Recv (in KB): 355.41
Bytes Recv Rate (in KB/s): 5.92
Socket Errors
--------------------------------------------------------------------------------
Connect: 0
Send: 0
Recv: 0
Timeouts: 0
RDS Results
--------------------------------------------------------------------------------
Successful Queries: 0
Script Settings
================================================================================
Server: 192.168.0.15
Number of threads: 30
Test length: 00:01:00
Warmup: 00:00:00
Cooldown: 00:00:00
Use Random Delay: No
Follow Redirects: Yes
Max Redirect Depth: 15
Clients used in test
================================================================================
localhost
Clients not used in test
================================================================================
Result Codes
Code Description Count
================================================================================
200 OK 2716
Page Summary
Page Hits TTFB Avg TTLB Avg Auth
Query
================================================================================
HEAD /cdcin/app?service=extern 2716 638.49 640.86 No No
*JSP:
Overview(CUP occupancy is about 20%)
================================================================================
Report name: 2005-1-20 11:01:23
Run on: 2005-1-20 11:01:23
Run length: 00:01:00
Web Application Stress Tool Version:1.1.288.1
Number of test clients: 1
Number of hits: 18369
Requests per Second: 305.82
Socket Statistics
--------------------------------------------------------------------------------
Socket Connects: 18394
Total Bytes Sent (in KB): 4436.83
Bytes Sent Rate (in KB/s): 73.87
Total Bytes Recv (in KB): 4200.57
Bytes Recv Rate (in KB/s): 69.93
Socket Errors
--------------------------------------------------------------------------------
Connect: 0
Send: 0
Recv: 0
Timeouts: 0
RDS Results
--------------------------------------------------------------------------------
Successful Queries: 0
Script Settings
================================================================================
Server: 192.168.0.15
Number of threads: 30
Test length: 00:01:00
Warmup: 00:00:00
Cooldown: 00:00:00
Use Random Delay: No
Follow Redirects: Yes
Max Redirect Depth: 15
Clients used in test
================================================================================
localhost
Clients not used in test
================================================================================
Result Codes
Code Description Count
================================================================================
200 OK 18369
Page Summary
Page Hits TTFB Avg TTLB Avg Auth
Query
================================================================================
HEAD /cdcin/Commonality.jsp 18369 33.92 67.31 No
No
*The Page:(Have not involved and fetched the data from the database )
<span jwcid="$Content$">
<span jwcid="@CdcinBorder">
<table width="778" border="0" align="center" cellpadding="0" cellspacing="0"
background="images/commonality/001.gif">
<tr>
<td width="99" height="38" valign="bottom"
background="images/commonality/commonality_18.gif"> </td>
<td width="455" valign="bottom"
background="images/head_menu.gif"> </td>
<td valign="top"><table width="100%" border="0" cellspacing="0"
cellpadding="0">
<tr>
<td width="5"> </td>
<td align="right" bgcolor="#F5F5F5">所在位置:首页 > 公示公告</td>
<td width="5"> </td>
</tr>
</table></td>
</tr>
</table>
<table width="778" border="0" align="center" cellpadding="0" cellspacing="0"
background="images/commonality/001.gif">
<tr>
<td width="98" height="38"> </td>
<td width="182"> </td>
<td width="23"
background="images/commonality/commonality_27.gif"> </td>
<td width="347"
background="images/commonality/commonality_28.gif"> </td>
<td background="images/commonality/commonality_30.gif"> </td>
</tr>
</table>
<table width="778" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="280" background="images/commonality/commonality_31.gif"><table
width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
<td><table width="124" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="124" height="90"><a href="#"
jwcid="publicAfficheMore"><img src="images/commonality/commonality_43b.gif"
width="124" height="90" border="0"></a></td>
</tr>
</table></td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td width="20"> </td>
<td><a href="#" jwcid="commitLicenceMore"><img
src="images/commonality/commonality_43d.gif" width="160" height="90"
border="0"></a></td>
<td> </td>
</tr>
</table></td>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="24"
background="images/commonality/commonality_32.gif"> </td>
</tr>
<tr>
<td height="182" valign="top"
background="images/commonality/commonality_33.gif"><table width="100%"
border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<a href="#" jwcid="inviteMonitorHasRecordMore"><img
src="images/commonality/commonality_33_02.gif" width="202" height="50"
border="0"></a>
</td>
<td>
<a herf="#" jwcid="qualityMonitorMore"><img
src="images/commonality/commonality_33_03.gif" width="296" height="50"
border="0"></a>
</td>
</tr>
<tr>
<td>
<a href="#"
jwcid="moreGroundBuildSecurityReport"><img
src="images/commonality/commonality_33_04.gif" width="202" height="47"
border="0"></a>
</td>
<td>
<a jwcid="shopDrawingCheckupLink"><img
src="images/commonality/commonality_33_05.gif" width="296" height="47"
border="0"></a>
</td>
</tr>
<tr>
<td>
<a jwcid="moreConstructionFinishLink1"><img
src="images/commonality/commonality_33_06.gif" width="202" height="52"
border="0"></a>
</td>
<td> </td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
<table width="778" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="222"
background="images/commonality/commonality_31.gif"> </td>
<td width="58"> </td>
<td width="22"
background="images/commonality/commonality_36.gif"> </td>
<td width="389"
background="images/commonality/commonality_38.gif"> </td>
<td width="27" background="images/commonality/commonality_40.gif"><img
src="images/commonality/commonality_39.gif" width="60" height="19"></td>
<td background="images/commonality/commonality_40.gif"> </td>
</tr>
</table>
<table width="778" border="0" align="center" cellpadding="0" cellspacing="0"
background="images/commonality/001.gif">
<tr>
<td width="143" height="90" align="right"><a href="#"
jwcid="aptitudeMore"><img src="images/commonality/commonality_43.gif"
width="124" height="90" border="0"></a></td>
<td width="348" align="center"><table width="163" border="0"
cellspacing="0" cellpadding="0">
<tr>
<td width="163" height="90"><div align="center"><a href="#"
jwcid="targetAnnounceMore"><img src="images/commonality/commonality_43a.gif"
width="124" height="90" border="0"/></a></div></td>
</tr>
</table></td>
<td width="178" align="center"><a href="#"
jwcid="targetInformationMore"><img
src="images/commonality/commonality_43aa.gif" width="124" height="90"
border="0"></a></td>
<td width="109"> </td>
</tr>
</table>
</span>
</span>
<page-specification class="com.cdmcs.tapestry.page.Work">
<property-specification name="item" type="com.cdmcs.bo.Persistable"/>
<component id="inviteMonitorHasRecordMore" type="ExternalLink">
<binding name="page" expression='"Commonality_invateMonitorRecord"'/>
<binding name="parameters" expression='new java.lang.Object[]
{"hasrecord", new java.lang.Integer("15")}'/>
</component>
<component id="publicAfficheMore" type="ExternalLink">
<binding name="page" expression='"Commonality_publicAffiche"'/>
<binding name="parameters" expression='new java.lang.Object[]
{"publicAffice", new java.lang.Integer("15")}'/>
</component>
<component id="qualityMonitorMore" type="ExternalLink">
<binding name="page" expression="'Work_quality_qualityMonitor'"/>
<binding name="parameters" expression="new java.lang.Object[]
{'qualityMonitor', new java.lang.Integer('15')}"/>
</component>
<component id="targetAnnounceMore" type="ExternalLink">
<binding name="page" expression="'Commonality_targetAnnounce'"/>
<binding name="parameters" expression="new java.lang.Object[]
{'target_announce', new java.lang.Integer('15')}"/>
</component>
<component id="targetInformationMore" type="ExternalLink">
<binding name="page" expression="'Commonality_targetInformation'"/>
<binding name="parameters" expression="new java.lang.Object[]
{'targetInformation', new java.lang.Integer('15')}"/>
</component>
<component id="commitLicenceMore" type="ExternalLink">
<binding name="page" expression="'Commonality_commitLicence'"/>
<binding name="parameters" expression="new java.lang.Object[]
{'commitLicence', new java.lang.Integer('15')}"/>
</component>
<component id="moreGroundBuildSecurityReport" type="ExternalLink">
<binding name="page"
expression="'Work_security_groundBuildSecurityReport'"/>
<binding name="parameters" expression="new java.lang.Object[]
{'groundBuildSecurityReport', new java.lang.Integer('15')}"/>
</component>
<component id="shopDrawingCheckupLink" type="ExternalLink">
<binding name="page" expression="'Commonality_shopDrawingCheckup'"/>
<binding name="parameters" expression="new java.lang.Object[]
{'shopDrawingCheckup', new java.lang.Integer('15')}"/>
</component>
<component id="moreConstructionFinishLink1" type="ExternalLink">
<binding name="page" expression="'Work_safety_constructionFinishForm'"/>
<binding name="parameters" expression="new java.lang.Object[]
{'constructionFinishs', new java.lang.Integer('15')}"/>
</component>
<component id="aptitudeMore" type="ExternalLink">
<binding name="page" expression="'MoreNews'"/>
<binding name="parameters" expression="new java.lang.Object[]
{'aptitude_announce', new java.lang.Integer('15')}"/>
</component>
</page-specification>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Tapestry is slower than JSP --- Is it true ?
Posted by ADong <gz...@hotmail.com>.
Hi,
The same database, the same machines, the same oparation frameworks, the same
page which implements in different way(Tapestry and JSP).
Stress Test, I found that tapestry is really slower than JSP.
Maybe, there is something wrong. Maybe I did bad work in somewhere. Please
could you tell me ?
(Spring 1.1 + Tapestry 3.0.1 + Hibernate 2.16 + Oracle 9i.)
Thank you very much!
ADong
the report of tapestry:
Overview(CPU occupancy is about 80%)
================================================================================
Report name: 2005-1-20 11:02:56
Run on: 2005-1-20 11:02:56
Run length: 00:01:00
Web Application Stress Tool Version:1.1.288.1
Number of test clients: 1
Number of hits: 2716
Requests per Second: 45.20
Socket Statistics
--------------------------------------------------------------------------------
Socket Connects: 2737
Total Bytes Sent (in KB): 745.86
Bytes Sent Rate (in KB/s): 12.41
Total Bytes Recv (in KB): 355.41
Bytes Recv Rate (in KB/s): 5.92
Socket Errors
--------------------------------------------------------------------------------
Connect: 0
Send: 0
Recv: 0
Timeouts: 0
RDS Results
--------------------------------------------------------------------------------
Successful Queries: 0
Script Settings
================================================================================
Server: 192.168.0.15
Number of threads: 30
Test length: 00:01:00
Warmup: 00:00:00
Cooldown: 00:00:00
Use Random Delay: No
Follow Redirects: Yes
Max Redirect Depth: 15
Clients used in test
================================================================================
localhost
Clients not used in test
================================================================================
Result Codes
Code Description Count
================================================================================
200 OK 2716
Page Summary
Page Hits TTFB Avg TTLB Avg Auth
Query
================================================================================
HEAD /cdcin/app?service=extern 2716 638.49 640.86 No
No
the report of JSP.
Overview (CPU occupancy is about 30%)
================================================================================
Report name: 2005-1-20 11:01:23
Run on: 2005-1-20 11:01:23
Run length: 00:01:00
Web Application Stress Tool Version:1.1.288.1
Number of test clients: 1
Number of hits: 18369
Requests per Second: 305.82
Socket Statistics
--------------------------------------------------------------------------------
Socket Connects: 18394
Total Bytes Sent (in KB): 4436.83
Bytes Sent Rate (in KB/s): 73.87
Total Bytes Recv (in KB): 4200.57
Bytes Recv Rate (in KB/s): 69.93
Socket Errors
--------------------------------------------------------------------------------
Connect: 0
Send: 0
Recv: 0
Timeouts: 0
RDS Results
--------------------------------------------------------------------------------
Successful Queries: 0
Script Settings
================================================================================
Server: 192.168.0.15
Number of threads: 30
Test length: 00:01:00
Warmup: 00:00:00
Cooldown: 00:00:00
Use Random Delay: No
Follow Redirects: Yes
Max Redirect Depth: 15
Clients used in test
================================================================================
localhost
Clients not used in test
================================================================================
Result Codes
Code Description Count
================================================================================
200 OK 18369
Page Summary
Page Hits TTFB Avg TTLB Avg Auth
Query
================================================================================
HEAD /cdcin/Commonality.html 18369 33.92 67.31 No
No
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org