[PdfJS] Separate the worker script than the render script

RESOLVED WONTFIX

Status

RESOLVED WONTFIX
5 years ago
8 months ago

People

(Reporter: nbp, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

5 years ago
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.

Comment 1

8 months ago
Firefox OS is not being worked on
Status: NEW → RESOLVED
Last Resolved: 8 months ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.