Bug 1680153 Comment 1 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Note: pages-per-sheet will probably be available in Nightly tomorrow, behind the off-by-default `print.pages_per_sheet.enabled` pref (from bug 1673713).

In the profile, it looks like the scroll jank is coming from some long-duration paint operations (typically in the 40-50ms range). Here's a profile-snippet showing a few of these slow operations:  https://share.firefox.dev/36tDHMQ

I suspect the issue here is effectively that we're painting a lot of content (16 viewports' worth, basically).  I also have a faint memory that there are some scrolling/painting optimizations that we don't have enabled for print preview, though maybe I'm misremembering on that -- CC'ing some other folks who might remember.
Note: pages-per-sheet will probably be available in Nightly tomorrow, behind the off-by-default pref `print.pages_per_sheet.enabled` (added in bug 1673713).

In the profile, it looks like the scroll jank is coming from some long-duration paint operations (typically in the 40-50ms range). Here's a profile-snippet showing a few of these slow operations:  https://share.firefox.dev/36tDHMQ

I suspect the issue here is effectively that we're painting a lot of content (16 viewports' worth, basically).  I also have a faint memory that there are some scrolling/painting optimizations that we don't have enabled for print preview, though maybe I'm misremembering on that -- CC'ing some other folks who might remember.
Note: pages-per-sheet will probably be available in Nightly tomorrow, behind the off-by-default pref `print.pages_per_sheet.enabled` (added in bug 1673713).

In Mark's profile from comment 0, it looks like the scroll jank is coming from some long-duration paint operations (typically in the 40-50ms range). Here's a profile-snippet showing a few of these slow operations:  https://share.firefox.dev/36tDHMQ

I suspect the issue here is effectively that we're painting a lot of content (16 viewports' worth, basically).  I also have a faint memory that there are some scrolling/painting optimizations that we don't have enabled for print preview, though maybe I'm misremembering on that -- CC'ing some other folks who might remember.
Note: pages-per-sheet will probably be available in Nightly tomorrow, behind the off-by-default pref `print.pages_per_sheet.enabled` (added in bug 1673713).

In Mark's profile from comment 0, it looks like the scroll jank is coming from some long-duration paint operations (which are mostly in the 40-50ms range). Here's a profile-snippet showing a few of these slow operations:  https://share.firefox.dev/36tDHMQ

I suspect the issue here is effectively that we're painting a lot of content (16 viewports' worth, basically).  I also have a faint memory that there are some scrolling/painting optimizations that we don't have enabled for print preview, though maybe I'm misremembering on that -- CC'ing some other folks who might remember.
Note: pages-per-sheet will probably be available in Nightly tomorrow, behind the off-by-default pref `print.pages_per_sheet.enabled` (added in bug 1673713).

In Mark's profile from comment 0, it looks like the scroll jank is coming from some long-duration paint operations (which are mostly in the 40-50ms range). Here's a profile-snippet showing a few of these slow operations:  https://share.firefox.dev/36tDHMQ

I suspect the issue here is effectively that we're just painting a lot of content (16 viewports' worth, basically).  I also have a faint memory that there are some scrolling/painting optimizations that we don't have enabled for print preview, though maybe I'm misremembering on that -- CC'ing some other folks who might remember.

Back to Bug 1680153 Comment 1