Bug 1029262 - [Performance] Test run report response time is more than 200 seconds and cause MySQL Server CPU nearly 100%
Summary: [Performance] Test run report response time is more than 200 seconds and caus...
Keywords:
Status: VERIFIED
Alias: None
Product: TCMS
Classification: Other
Component: Application
Version: Devel
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Yuguang Wang
QA Contact: Nobody
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-12 02:19 UTC by Xiong Zhi Ming
Modified: 2023-10-20 16:24 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)
MySQL Server CPU Used% (46.55 KB, image/png)
2013-11-12 02:19 UTC, Xiong Zhi Ming
no flags Details

Description Xiong Zhi Ming 2013-11-12 02:19:43 UTC
Created attachment 822738 [details]
MySQL Server CPU Used%

Description of problem:
Test run report response time is more than 200 seconds and cause MySQL Server CPU nearly 100%

Version-Release number of selected component (if applicable):
V3.8.4

How reproducible:
100%

Steps to Reproduce:
1. Open a test run
2. Click Report
3.

Actual results:
231 seconds 

Expected results:
less than 15 seconds

Additional info:
test env.
Server	Function	OS	CPU	Memory	Software
------  --------        ---     ---     ------  -----------
dhcp-8-146.nay.redhat.com	DB Server	Red Hat Enterprise Linux Server release 6.3	1 CPU (4 Cores)	4G	MySQL 5.1.67
tcms-test.app.eng.nay.redhat.com	Web Server	Red Hat Enterprise Linux Server release 5.1	2VCPU	2GB	"Apache Http Server 2.2
nitrate3.8.5-1"
dhcp-8-145.nay.redhat.com	JMeter load generator	Red Hat Enterprise Linux Server release 6.3	1 CPU (8 Cores)	8G	JMeter 2.9

Comment 1 Xiong Zhi Ming 2013-12-24 08:54:50 UTC
TestRun_Report elapsed time is closely related to the number of test cases of test run. Running report of test run which has 1000 test cases, it spend about 238855 ms, but Opening Test Run Report which has test cases takes 25375 ms. It's about 10 times.

Comment 2 yangqiu 2014-05-04 10:32:24 UTC
From the report 
https://docs.engineering.redhat.com/display/reporting/TCMS+V3.8.7-hotfix+performance+testing+report
Loading testrun_report page with 724 cases spent 1.98s.


Note You need to log in before you can comment on or make changes to this bug.