Bug 743179 - Too slow to load the document list of a big project with 1000+ documents
Summary: Too slow to load the document list of a big project with 1000+ documents
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Zanata
Classification: Retired
Component: Performance
Version: 1.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Runa Bhattacharjee
QA Contact: Ding-Yi Chen
URL:
Whiteboard:
Depends On:
Blocks: Zanata-1.4.1
TreeView+ depends on / blocked
 
Reported: 2011-10-04 04:29 UTC by Ding-Yi Chen
Modified: 2013-03-04 02:22 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2011-10-06 02:51:47 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 869084 0 unspecified CLOSED [WebTrans] Too slow to load a big document that has >7000 text flows 2021-02-22 00:41:40 UTC

Internal Links: 869084

Description Ding-Yi Chen 2011-10-04 04:29:40 UTC
Description of problem:
Many translators experiencing unbearable slow when showing the document list that has more than 1000 documents. 

Version-Release number of selected component (if applicable):
1.4.1-SNAPSHOT (20111003-1737

How reproducible:
Most of time, especially with low-end client.

Steps to Reproduce:
1. Import a project that has more than 1000 documents.
2. Click project, and click translate on any available language.
3. 
  
Actual results:
Browser seems halting, forever loading, or pop-up a dialog that ask whether to stop java script.

Expected results:
UI is responsive  after a short waiting period.

Additional info:

Comment 1 Sean Flanigan 2011-10-05 05:02:47 UTC
Performance should be much improved by commit 3d6fdb8c through commit 288ab772.

Comment 2 Sean Flanigan 2011-10-05 06:50:21 UTC
The fix is in Zanata 1.4.1.

Comment 3 Ding-Yi Chen 2011-10-06 02:28:16 UTC
Tested with locale ar (which is 0% translated) and ja (which is 69% translated).

On thinkpad-t60 (CPU: (4 cores) Intel(R) Core(TM)2 CPU T7200  @ 2.00GHz
; Memory 2gB; Arch i386), RHEL5
  Firefox-3.6.22:
     Time to load locale ar: 0:34 (min:sec)
     Time to load locale ja: 0:31 

  Opera-11.51:
     Time to load locale ar: 0:16 (min:sec)
     Time to load locale ja: 0:15 


On thinkpad-t510 (CPU (4 cores): Intel(R) Core(TM) i7 CPU M 620  @ 2.67GHz
; Memory 3GB; Arch x86_64), RHEL6
  Firefox-3.6.27:
     Time to load locale ar: 0:19 (min:sec)
     Time to load locale ja: 0:20 

  Opera-11.51:
     Time to load locale ar: 0:09 (min:sec)
     Time to load locale ja: 0:10 

  Chrome 15.0.874.54:
     Time to load locale ar: 0:08 (min:sec)
     Time to load locale ja: 0:06

On thinkpad-t510 (CPU (4 cores): Intel(R) Core(TM) i7 CPU M 620  @ 2.67GHz
; Memory 4GB; Arch x86_64), Fedora-15
  Firefox-7.0:
     Time to load locale ar: 0:12 (min:sec)
     Time to load locale ja: 0:15 

  Opera-11.51:
     Time to load locale ar: 0:10 (min:sec)
     Time to load locale ja: 0:10 

  Chrome 14.0.830.186:
     Time to load locale ar: 0:08 (min:sec)
     Time to load locale ja: 0:06
 

Note: By default, Firefox may popup "Unresponsive Script" warning dialog if script does not finish in 10 seconds.

To increase the waiting period, please follow the instruction of:
http://support.mozilla.com/en-US/kb/Warning%20Unresponsive%20script


VERIFIED with Zanata version 1.4.2-SNAPSHOT (20111006-1045)


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