Closed Bug 1286791 Opened 8 years ago Closed 6 years ago

[Meta] Mortar performance and stability issues - PDF

Categories

(Firefox :: PDF Viewer, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX
Tracking Status
firefox57 --- wontfix

People

(Reporter: whsu, Unassigned)

References

Details

(Keywords: feature)

Attachments

(2 files, 1 obsolete file)

The meta bug is for "PDF" performance issue of Mortar project
Please block this bug if the issue belongs to
1. Rendering performance
2. Low FPS rate
3. Scrolling performance
4. Zoom in/out performance
5. Algorithmic efficiency, e.g., text layer's algorithm.
6. etc.
Attached patch bug1286791_gecko.patch (obsolete) — Splinter Review
This patch can be applied to Gecko 319080:215f96861176 (Sun Oct 23 20:04:42 2016 -0400).
I've also marked out all debug logs from flapper in this branch: https://github.com/mozilla/flapper.js/tree/bug1286791_pdf_performance
I would suggest to use an optimize build without debug capabilities for the performance testing.

i.e. make sure there are no such options in the |mozconfig| file while building Gecko:
# ac_add_options --enable-debug
# ac_add_options --disable-optimize
Testing base:
» hg log -r 1dfe7eab1b82
changeset:   319532:1dfe7eab1b82
bookmark:    mortar-performance
parent:      319531:46a855ae9e4b
parent:      319425:f9f3cc95d728
user:        Phil Ringnalda <philringnalda@gmail.com>
date:        Tue Oct 25 22:08:13 2016 -0700
summary:     Merge m-c to autoland
Attachment #8804970 - Attachment is obsolete: true
Hi Al,

Please follow steps below to patch your Gecko and Mortar. Please refer to comment 3 as well to have a non-debug Gecko build.

Gecko patches:
 a. Use m-c with rev c27117f67fa3 (ref. bug 1291539 comment 6).
 b. Apply attachment 8812055 [details] [diff] (ref. bug 1291539 comment 7) to add the framework of JS-Plugin into Gecko.
 c. Apply attachment 8818505 [details] [diff] [review] (ref. comment 5) to workaround the compilation error on Ubuntu.
 d. Apply attachment 8813570 [details] [diff] [review] (ref. bug 1306576 comment 7) to fix memory leakages.

Mortar patches:
 a. Use the latest master of mortar (rev 1306576 on my machine).
 b. Apply attachment 8813571 [details] [diff] [review] (ref. bug 1306576 comment 8) to fix memory leakages.
 c. Apply attachment 8818506 [details] [diff] [review] (ref. comment 6) to disable all console logs.
By the way, please rebuild the RPC library again after Mortar has been patched.
Depends on: 1324662
No longer depends on: 1324662
Depends on: 1324662
Group: mozilla-employee-confidential
Summary: [Meta] Mortar performance issues - PDF → [Meta] Mortar performance and stability issues - PDF
Depends on: 1306576
Depends on: 1324711
I get that this bug is not for PDF.js, but it doesn't belong in Firefox:General.  Wontfix for 57, marking as a future potential feature.
Component: General → PDF Viewer
Keywords: feature
AFAIK, we aren't working on that anymore. Closing. please reopen if I am wrong.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: