Hide Forgot
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:
Performance should be much improved by commit 3d6fdb8c through commit 288ab772.
The fix is in Zanata 1.4.1.
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)