MantisBT - AChecker
View Issue Details
0004217ACheckerAChecker web sitepublic2010-04-19 06:072018-03-08 13:26
cindy 
cindy 
normalminoralways
closedfixed 
1.1 
SVN 
494
0004217: Timeout at validating http://www.hsbc.com.hk/1/2/chinese/home [^] [http://www.hsbc.com.hk/1/2/chinese/home [^]]
http://www.hsbc.com.hk/1/2/chinese/home [^]

Trace down what causes timeout, pretty url? chinese characters?
No tags attached.
related to 0004218closed greg Hanging stopped evaluations. 
Issue History
2010-04-19 06:07cindyNew Issue
2010-04-20 13:54gregRelationship addedrelated to 0004218
2011-01-21 16:21gregNote Added: 0004930
2011-01-21 16:23gregNote Edited: 0004930bug_revision_view_page.php?bugnote_id=4930#r9
2011-02-10 15:28cindySVN Revision# => 494
2011-02-10 15:28cindyNote Added: 0005047
2011-02-10 15:28cindyStatusnew => resolved
2011-02-10 15:28cindyFixed in Version => SVN
2011-02-10 15:28cindyResolutionopen => fixed
2011-02-10 15:28cindyAssigned To => cindy
2013-05-08 07:31user1Note Added: 0006459
2013-05-08 09:11gregNote Deleted: 0006459
2018-03-08 13:26cindyStatusresolved => closed

Notes
(0004930)
greg   
2011-01-21 16:21   
(edited on: 2011-01-21 16:23)
cURL for multi-threading
http://semlabs.co.uk/journal/object-oriented-curl-class-with-multi-threading [^]
http://semlabs.co.uk/journal/multi-threaded-stack-class-for-php [^]

(0005047)
cindy   
2011-02-10 15:28   
Performance is tuned in the following aspects:
1. remote fetching of the images is the major bottleneck. For improvements, 1. remove BasicFunctions::isFileExists, the file existence is now checked by BasicFunctions::getImageWidthAndHeight(); 2. in BasicFunctions::getImageWidthAndHeight(), save the width and height into a global array to reduce the repeated fetching on the same image;
2. modified on include/classes/AccessibilityValidator.class.php to reduce the number of calls on $e->outertext;
3. modified include/classes/DAO/DAO.class.php to reduce the number of calls on mysql_num_rows().

Affected scripts:
include/classes/DAO/DAO.class.php
include/classes/BasicFunctions.class.php
include/classes/AccessibilityValidator.class.php
include/classes/BasicChecks.class.php
install/db/achecker_schema.sql
install/db/achecker_upgrade_1.1_to_1.2.sql