Mantis Bugtracker 

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002242TestLinkReportspublic2009-03-17 17:162011-03-20 18:24
Assigned Tofman 
PlatformOSOS Version
Product Version1.8 RC 5 
Fixed in Version1.9.2 (2011 Q2 - bug fixing) 
Summary0002242: Major Performance Issue due to the BuildBugString in Test result matrix report
DescriptionWhen I run the Test result matrix report, it takes a lot of time to display the data and the reason I found behind was the line 1133 in results.class.php
I commented the line since its trying to build the bugString which is not required on this report but isused forreports like Query Metrics to show the raised / linked issues from the Bug Tracking System.
$infoToSave['bugString'] = $searchBugs ? $this->buildBugString($this->db, $executions_id) : '';

After commenting the same the report run like a charm with no performance issue.

May be this needs to be better placed in the results.class.php.

TagsNo tags attached.
Database (MySQL,Postgres,etc)
PHP Version
QA Team - Task Workflow Status
Attached Files

- Relationships

-  Notes
fman (administrator)
2009-03-17 18:25

Call to this function must be done only while needed.
One problems of result class is that on one shot he wants to do a lot of, may be not needed in every report.

Please try start thinking in a good refactoring.

- Issue History
Date Modified Username Field Change
2009-03-17 17:16 amitkhullar New Issue
2009-03-17 18:25 fman Note Added: 0005890
2011-03-20 18:24 fman Status new => closed
2011-03-20 18:24 fman Assigned To => fman
2011-03-20 18:24 fman Resolution open => fixed
2011-03-20 18:24 fman Fixed in Version => 1.9.2 (2011 Q2 - bug fixing)

Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker