Closed Bug 892106 Opened 12 years ago Closed 7 years ago

[PdfJS] Separate the worker script than the render script

Categories

(Firefox OS Graveyard :: Gaia::PDF Viewer, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: nbp, Unassigned)

Details

Loading a 1.5 MB file is a big concern in terms of parse-time and also in terms of memory allocated for parsing and validating the file on b2g18. On b2g18, as reported in Bug 876906, The parser used up to 22 MB to parse this 1.5 MB file twice. PdfJS should separate the render script for the main thread and the worker script for the other thread. This would hopefully reduce the total amount of memory needed to parse and also reduce the time needed to load it.
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.