Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Put mask data to the canvas in small slices. #4355

Merged
merged 1 commit into from
Mar 3, 2014

Conversation

nnethercote
Copy link
Contributor

In pull #4138, I changed image drawing to be in small chunks, to avoid creating large copies of the image data.

This patch does the same thing for image masks. I have two test documents that use masks, which I test by scrolling through the whole document and measuring peak RSS. The improvements were:

  • ~380 to ~290 MiB
  • ~370 to ~260 MiB

@Snuffleupagus
Copy link
Collaborator

/botio test

@pdfjsbot
Copy link

From: Bot.io (Linux)


Received

Command cmd_test from @Snuffleupagus received. Current queue size: 0

Live output at: http://107.21.233.14:8877/40a018a470e8a03/output.txt

@pdfjsbot
Copy link

From: Bot.io (Windows)


Received

Command cmd_test from @Snuffleupagus received. Current queue size: 0

Live output at: http://107.22.172.223:8877/38fa5c89e8d3a1c/output.txt

@pdfjsbot
Copy link

From: Bot.io (Linux)


Success

Full output at http://107.21.233.14:8877/40a018a470e8a03/output.txt

Total script time: 24.31 mins

  • Font tests: Passed
  • Unit tests: Passed
  • Regression tests: Passed

@pdfjsbot
Copy link

From: Bot.io (Windows)


Failed

Full output at http://107.22.172.223:8877/38fa5c89e8d3a1c/output.txt

Total script time: 35.88 mins

  • Font tests: Passed
  • Unit tests: Passed
  • Regression tests: FAILED

Image differences available at: http://107.22.172.223:8877/38fa5c89e8d3a1c/reftest-analyzer.html#web=eq.log

@nnethercote
Copy link
Contributor Author

The failing Windows test was "ichiji", which also failed in #4354, so I think it's not caused by this patch.

@yurydelendik
Copy link
Contributor

Yep, skip ichiji test result

yurydelendik added a commit that referenced this pull request Mar 3, 2014
Put mask data to the canvas in small slices.
@yurydelendik yurydelendik merged commit f8c1163 into mozilla:master Mar 3, 2014
@yurydelendik
Copy link
Contributor

Thanks

@nnethercote nnethercote deleted the sliced-masks branch March 14, 2014 04:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants