Platform/GFX/perf triage

From MozillaWiki
< Platform‎ | GFX
Jump to: navigation, search

The page contains a breakdown of performance related bugs and tasks for WebRender.

Bugzilla tree view of the wr-perf bugs: https://bugzilla.mozilla.org/showdependencytree.cgi?id=1477376&hide_resolved=1

To determine in which category a performance issue fits in a good source of information is to set the pref gfx.webrender.debug.profiler-ui to "Frame stats,Time graphs, ,GPU". Also set "gfx.webrender.debug.profiler" and "gfx.webrender.debug.gpu-time-queries" to true. this should be enough to tell in which stage of the rendering pipeline the issue is. Then set the profiler ui pref to more specific counters to continue investigating (see the list of profile counters in profiler.rs).

High priority bugs

Metabug: wr-perf-p1

Full Query
Type ID Summary Assigned to Priority
defect 1664478 Blend modes and other effects on a single image force an extra intermediate target P2
defect 1576637 Nighty and Developer the scroll is jerky on Intel 4600 Glenn Watson [:gw] P2
defect 1595680 Slightly different values in display lists causing extra picture cache invalidations. P3
defect 1595909 Image masks with different keys being added during scrolling P3
defect 1599502 A long time is spent in glBufferData during draw_instanced_batch (Intel) P3
enhancement 1681310 Add a code path for batched texture uploads via glTexImage2D P3
enhancement 1681339 [meta] Too much glyph rasterization P3
enhancement 1404477 Chrome repaints cause rebuilds of the entire browser scene P3

8 Total; 8 Open (100%); 0 Resolved (0%); 0 Verified (0%);


CPU time

Frame building

useful prefs:

  • gfx.webrender.debug.profiler-ui: "Frame times"

Metabug: wr-frame-building

A few common themes:

  • Many vector allocations add up to occupying a lot of the total frame building time.
  • HashMap operations are also showing up.
  • Removing redundant work or moving it to scene building can help a lot (for example Glenn's work on clipping).
  • Some pages have a very high primitive count. Anything that can help amortize how costs scale with prim count helps.
  • Timings tend to spike, so it's best to look at maximum times instead of averages. Spikes tend to line up with scene builds.

See also

Full Query
Type ID Summary Assigned to Priority
defect 1562433 Very high CPU utilization from pulsating animation P2
defect 1611199 Batching is too slow when there are many primitives P3
defect 1611908 A lot of time spent managing primitive dependencies during frame building P3
enhancement 1613053 Simplify WebRender's internal storage of clip chains P3
defect 1480964 With WR, Scrolling on maze solver page is janky. Non-WR is smooth (WR scrolling is not async enough) P3
task 1613067 Investigate using cluster dependencies to skip visibility on some clusters P3
defect 1512789 Scrolling inside the kangax table has high latency (Lots of time spent in parent process waiting for APZC) P3
enhancement 1628665 Pack all four subpx positioned versions of glyphs together P3
enhancement 1525061 CSS cursor animation dimming opacity causes 20% CPU utilisation with WebRender P3
enhancement 1641704 Investigate update_visibility overhead & prepare_primitives Bert Peers [:bpeers] P3
enhancement 1650378 Skip frame building if the only changes in the frame are external images. P3
defect 1587475 Page faults and Lock contention on the render backend from memory allocations P3
enhancement 1651018 Better primitive cluster culling P3
enhancement 1587906 Track WR frame building performance separately from the scene building P3
enhancement 1654779 Further reduce the amount of allocations in set_param_and_get_batch Nicolas Silva [:nical] P3
defect 1596046 A lot of vector allocations during frame building P3
task 1685831 Reduce the cost from checking whether glyphs were evicted by the texture cache P3
defect 1596054 picture::TileNode::update_dirty_rects sometimes is high in profiles P3
enhancement 1611134 Process primitives by types instead of always in z-order P3
task 1611145 Remove (most of) the primitive segmentation P3
enhancement 1611153 Per-cluster GPU data allocation P3
task 1604670 Switch webrender math to use intrinsics P4
enhancement 1424579 coinmarketcap.com uses a lot more CPU with WebRender than without P5
defect 1493359 https://lab.hakim.se/domtree/ is slower with WR P5
enhancement 1628530 [metabug] Scene/frame building performance improvements Glenn Watson [:gw] --
defect 1647903 Scrolling https://github.com/servo/pathfinder/pull/350/files is a bad time --

26 Total; 26 Open (100%); 0 Resolved (0%); 0 Verified (0%);


Scene building

Metabug: wr-scene-building

Full Query
Type ID Summary Assigned to Priority
enhancement 1654305 Avoid allocations in ClipStore::push_clip_root Nicolas Silva [:nical] P3
enhancement 1404477 Chrome repaints cause rebuilds of the entire browser scene P3
defect 1508116 4-5ms spent scene building new Gmail (scene building is too slow) P3
defect 1582621 Scene building takes too long (> 7ms) on the MotionMark 1.1 Multiply benchmark P3
enhancement 1631756 Build separate pipelines for the content and UI and stitch them up during frame building P3
enhancement 1648091 A lot of time spent reallocating vectors during scene building Nicolas Silva [:nical] P3
defect 1493359 https://lab.hakim.se/domtree/ is slower with WR P5

7 Total; 7 Open (100%); 0 Resolved (0%); 0 Verified (0%);


Renderer (Driver & ANGLE overhead)

Metabug: wr-renderer

Useful prefs:

  • gfx.webrender.debug.profiler-ui: "Frame stats,#Renderer,Renderer graphs"
Full Query
Type ID Summary Assigned to Priority
task 1660498 Investigate deferring texture deletion P2
defect 1676554 Scrolling https://howsmyflattening.ca/#/analysis/daily_new_cases_by_setting is slow with sw-wr P3
enhancement 1681310 Add a code path for batched texture uploads via glTexImage2D P3
defect 1652511 Scrolling on https://www.aspyredesign.com/ is extremely janky (with lots of time spent in painting) P3
defect 1657183 Janking/stuttering while scrolling on imgur (Celeron N4000) (Geminilake) P3
defect 1659348 Heavy janking while doing page up/down on windows101tricks.com P3
defect 1659518 Heavy janking while doing page up/down on bleepingcomputer with ANGLE P3
enhancement 1660116 Interleave frame building and command submission P3
defect 1660148 Janking while touchpad scrolling roboticsthroughsciencefiction page P3
defect 1660159 Bad janking when touchpad scrolling on moneycontrol.com P3
enhancement 1678265 A lot of time spent in SwapBuffer on https://eteam-eteam.4flow.cloud/# --
enhancement 1685261 Use a 2d texture atlas for picture cache tiles --
enhancement 1647080 WebRender/WR: Scrolling hangs shortly on purecss-francine Glenn Watson [:gw] --
defect 1674692 Slow page building while scrolling on deusex.fandom.com --

14 Total; 14 Open (100%); 0 Resolved (0%); 0 Verified (0%);


Texture/Buffer uploads

Metabug: 1613407

Useful prefs:

  • gfx.webrender.debug.profiler-ui: "#GPU cache upload,#Texture cache update,#Texture uploads,#Texture uploads mem,#Rasterized glyphs,#Rasterized blob tiles"

See also:

Full Query
Type ID Summary Assigned to Priority
defect 1599558 Video texture upload still runs into format conversion Dzmitry Malyshau [:kvark] P3
defect 1611582 Scrolling on myheritage.com is very laggy with WebRender P3
defect 1628736 Slow scrolling performance on large changeset on hg.mozilla.org (VBO upload) P3
defect 1676528 Scrolling apple.com significantly slower with WebRender on 2018 MacBook Air P3
defect 1478125 Texture upload performance could be better on Windows Jeff Muizelaar [:jrmuizel] P3
defect 1558677 Makepad scrolling is slow with WebRender P3
task 1567511 Very noisy GPU times P3
defect 1598789 Terrible scrolling performance in portions of taskcluster log P3
defect 1599502 A long time is spent in glBufferData during draw_instanced_batch (Intel) P3
defect 1521265 Slow Frames detected on Slurpee Canada home page (canvas perf) P5

10 Total; 10 Open (100%); 0 Resolved (0%); 0 Verified (0%);


Batching

Metabug: wr-batching

Performance issues caused by high amounts of draw calls. 100 draw calls per frames is a reasonable amount (not a hard limit). Multiple hundreds, however, tend to cause excessive CPU usage in the renderer.

Useful prefs:

  • gfx.webrender.debug.profiler-ui: "#Draw calls"
Full Query
Type ID Summary Assigned to Priority
task 1585374 Investigate batching algorithm improvements Nicolas Silva [:nical] P3
task 1615613 Unify the text and brush shader infrastructures Nicolas Silva [:nical] P3
task 1622226 Pack more images in the shared texture cache P3
enhancement 1624272 Decouple texture cache storage and batching P3
defect 1627458 Bad performance around covid map on theguardian.com P3
defect 1637580 Very poor javascript + SVG animation performance P3
defect 1457806 https://output.jsbin.com/surane/quiet is not smooth P4
defect 1457683 servo moire demo is much slower in Firefox + WebRender than in Chrome P5
defect 1639889 Scrolling hackmd.io is much worse in Firefox than Chrome --
defect 1647903 Scrolling https://github.com/servo/pathfinder/pull/350/files is a bad time --
defect 1648597 Pinch to zoom on https://shkspr.mobi/blog/2020/06/symbian-won/ is slow --

11 Total; 11 Open (100%); 0 Resolved (0%); 0 Verified (0%);


Picture Caching

Metabug: picture-cache-perf

Useful prefs:

  • gfx.webrender.debug.profiler-ui: "#Rendered picture tiles, ,Picture cache slices,Picture tiles,Picture tiles mem"
Full Query
Type ID Summary Assigned to Priority
enhancement 1536360 [meta] Picture caching improvements P2
defect 1599606 Too many picture cache slices with background-attachment:fixed due to scrolled background color Markus Stange [:mstange] P3
defect 1620401 "Open source. Open minds." on mozilla.org invalidates the picture cache when scrolling upwards P3
defect 1655851 Picture caching is ineffective on arstechnica Glenn Watson [:gw] P3
defect 1675030 Picture cache invalidates when tile device rect is unchanged Andrew Osmond [:aosmond] P3
defect 1519718 Slow Frames detected on singlesprout home page Dzmitry Malyshau [:kvark] P3
defect 1581571 High GPU consumption on page with no visible changes. P3
defect 1595680 Slightly different values in display lists causing extra picture cache invalidations. P3
defect 1595909 Image masks with different keys being added during scrolling P3
enhancement 1647080 WebRender/WR: Scrolling hangs shortly on purecss-francine Glenn Watson [:gw] --
defect 1647903 Scrolling https://github.com/servo/pathfinder/pull/350/files is a bad time --
enhancement 1591540 Special-case solid color OS compositor surfaces in order to save memory --

12 Total; 12 Open (100%); 0 Resolved (0%); 0 Verified (0%);


DisplayList building

Metabug: wr-displaylist-perf

Useful prefs:

  • gfx.webrender.debug.profiler-ui: "Transaction times"
Full Query
Type ID Summary Assigned to Priority
defect 1416082 [meta] MotionMark perf P3
defect 1480964 With WR, Scrolling on maze solver page is janky. Non-WR is smooth (WR scrolling is not async enough) P3
defect 1501545 testcase from bug 1123075 performs poorly on WR, and takes several GB of RAM on higher count P3
enhancement 1533135 Scrolling on bing images search results is sluggish P3
defect 1605155 Opening a video in Picture-in-Picture still causes the originating tab to compute DisplayLists at the video frame rate while the tab is the foreground P3
defect 1617372 [WebRender] Higher CPU and GPU usage on https://f1sport.auto.cz/clanek/ztracime-hodnoti-binotto-ktery-neni-tak-optimisticky-jako-vloni P3

6 Total; 6 Open (100%); 0 Resolved (0%); 0 Verified (0%);


Blob image rasterization

Metabug: blob-perf

Blob image performance affect SVG and a few drawing primitives that aren't supported by WebRender.

A few common themes in blob image performance bugs:

  • Rasterization performance on the CPU (rasterization itself, malloc contention)
  • Overhead of replaying commands on multiple tiles.
  • Bad layerization causing many rasterized tiles and a lot of overdraw.
  • Rendering very large blobs failing to account for parts that aren't visible.
  • SVG filters on the CPU.

See also:

Useful prefs:

  • gfx.webrender.blob.paint-flashing: true
  • gfx.webrender.debug.profiler-ui: "#Blob rasterization,#Rasterized blob pixels,#Rasterized blob tiles,#Rasterized blobs"
Full Query
Type ID Summary Assigned to Priority
defect 1450375 blob-image: https://www.jpro.one/ runs poorly Jeff Muizelaar [:jrmuizel] P2
defect 1617420 Massive lags on page load on some sites including mouse movement P2
enhancement 1447839 Stop using PathBuilderSkia in PathBuilderRecording Jeff Muizelaar [:jrmuizel] P2
enhancement 1583545 Add linear gradient clips in webrender Nicolas Silva [:nical] P3
enhancement 1583879 Detect and skip empty blob tiles Nicolas Silva [:nical] P3
enhancement 1661037 Render more types of SVG content with WebRender display items P3
enhancement 1585781 SVG: Container item bounds changes cause invalidations P3
enhancement 1661044 Avoid breaking blob groups in some cases P3
enhancement 1458302 Use nsDisplayItem::IsReused as a preliminary check to figure out if nsDisplayTransform's transform has changed P3
enhancement 1587827 Don't build gecko display items for SVG elements with webrender. P3
defect 1662297 Zillow using massive amounts of memory P3
defect 1477371 https://creativecluster.lu/ animation at very bottom of page is slow because of large blob Jeff Muizelaar [:jrmuizel] P3
defect 1594768 Too many blob layers on https://www.goodfour.us/ P3
defect 1493466 Circle animation on radio website is janky (too much texture upload because SVG blob clip is ignored) Jeff Muizelaar [:jrmuizel] P3
enhancement 1595799 Use webrender display items instead of blobs when possible P3
defect 1514047 Too much blob layerization when clicking a circle on https://immersion.media.mit.edu/demo P3
defect 1607890 Slow paints in visbug P3
enhancement 1673653 Support for rasterizing SVG images on WR worker threads Andrew Osmond [:aosmond] P3
defect 1519622 Bad performance on https://musicmap.info when zooming with webrender enabled (svg/blob) P3
enhancement 1610409 Add support for luminance masking in PushLayer P3
defect 1676113 High CPU and big memory leak on windows 10 WebRender (SVG/Blob/Scenebuilder) P3
defect 1551733 Pretty bad performance on http://mind-map.glitch.me/ P3
enhancement 1686654 Reenable active SVG images P3
defect 1552405 The "info" panel on the perf-html.io page scrolls really bad with WR (Blur/Filter related?) P3
defect 1621532 The above the fold animation is too slow on https://kaganhotel.com P3
defect 1557069 https://crisal.io/aemet-visualizer takes a lot of time to render beceause of high blob recording times P3
enhancement 1623515 iPad Pro site takes over 100ms of GPU time with Webrender P3
defect 1566942 Very slow animations with SVG filters. P3
defect 1623634 Huge mask rasterization and upload on https://www.apple.com/ipad-pro/ P3
task 1567291 Malloc contention on WrWorker threads is still too high P3
defect 1624304 Scrolling SVG lags badly and gets worse with WR P3
defect 1568027 WebRender performs worse on Binding of Isaac CodePen demo (svg filters/blob) P3
task 1628105 Rasterize blobs in bigger buffers P3
defect 1578964 Terrible animation performance (svg filters) P3
defect 1637580 Very poor javascript + SVG animation performance P3
defect 1415001 Large painted layer in the chrome tabstrip P3
defect 1579977 Poor scrolling performance on Apple Music Beta Nicolas Silva [:nical] P3
defect 1580864 Janky scrolling with interactive map P3
enhancement 1450402 Consider caching paths across recordings P4
defect 1644514 Incredible bad rendering performance on digitalocean.com hero due to Webrender display list jank --
defect 1663387 Poor scrolling performance on westfield.co.nz (very large blob copy) Glenn Watson [:gw] --
defect 1667241 Large SVG image drawing on fivethirtyeight forecast --
defect 1637876 Animations are very laggy while scrolling on Kaipoche site (NSFW) --

43 Total; 43 Open (100%); 0 Resolved (0%); 0 Verified (0%);


SVG filters metabug: wr-svg-filters

Full Query
Type ID Summary Assigned to Priority
defect 1566942 Very slow animations with SVG filters. P3
defect 1568027 WebRender performs worse on Binding of Isaac CodePen demo (svg filters/blob) P3
task 1573657 Support SVG filter primitive subregions in WebRender P3
task 1573994 Update Gecko to use new SVG filter primitives P3
defect 1578964 Terrible animation performance (svg filters) P3
defect 1455427 SVG filters on HTML content is a bad time P3
task 1556022 speedof.me reports download speeds for Geckoview_example and Fenix to be ~40% to 50% of Chrome's - Moto G5 P3

7 Total; 7 Open (100%); 0 Resolved (0%); 0 Verified (0%);


Glyph rasterization

These bugs affect CPU time and texture uploads.

Metabug: 1681339

Useful prefs:

  • gfx.webrender.debug.glyph-flashing: true
  • gfx.webrender.debug.profiler-ui: "#Rasterized glyphs,#Glyph resolve,#Texture cache update"
Full Query
Type ID Summary Assigned to Priority
enhancement 1681346 Deduplicate system fonts in WebRender P3
defect 1518995 Outstream.com page tilt effect is very laggy and jumpy with WebRender enabled P3
defect 1668431 Slow scrolling on Google Pixel 5 store page P3
defect 1639889 Scrolling hackmd.io is much worse in Firefox than Chrome --
defect 1647484 https://www.apple.com/macos/big-sur-preview/ has bad performance with WebRender --
defect 1672235 https://disneyanimation.com/data-sets/ renders slowly --
defect 1674864 Slow scrolling on https://stirringabyss.com/ --

7 Total; 7 Open (100%); 0 Resolved (0%); 0 Verified (0%);


Scheduling

Metabug: frame-scheduling

Useful prefs:

  • gfx.webrender.debug.profiler-ui: "#Content send,#API send"
Full Query
Type ID Summary Assigned to Priority
task 1612441 Investigate whether we can avoid blocking during swap buffers in the renderer P3
enhancement 1612443 Do frame building and rendering on the same thread P3
defect 1668339 Bad WR performance with low number of cores when the CPU is busy P3
enhancement 1671490 Increase the priority of the gpu process P3

4 Total; 4 Open (100%); 0 Resolved (0%); 0 Verified (0%);


Metabug: vsync

Full Query
Type ID Summary Assigned to Priority
defect 1592530 GLXVsyncThread occupied high CPU (GLXtest process failed (exited with status 1): Unable to load libGL.so.1) P2
defect 1647166 On Linux, rendering in multiple sessions splits refresh rate P3
defect 1650276 VSync timestamp handling is confused, inconsistent, and non-optimal P3
defect 1650499 Win7: Wrong Hz display detection P3
defect 1657905 Firefox is laggy when using on external 75Hz 1080p monitor, on Pop OS, with and without webrenderer on, but window works perfectly fine when moved over to the laptop's display. P3
defect 1279309 GLX vsync freezes after XRandR changes with Intel DDX driver P3
defect 1400553 Firefox on primary monitor at 75hz makes firefox occasionally drop FPS. Vsync/DWM issue? (Redstone 3 build) P3
defect 1562155 Linux hardware vsync guesses the rate, and interferes with requestIdleCallback P3
enhancement 1563075 Implement FrameSource compositing abstraction P3
defect 1586929 Fullscreen video vsync broken on g-sync capable monitors when enabled in nvidia control panel P3
defect 1587040 VSync firing 255 times more frequently than normal during "display off" sleep on Windows P3
defect 1592786 XWayland: Compositing gets capped at 30fps after extended uptime on Linux P3
defect 1630490 Vsync cap on 144 hz Multi-monitor Setup & SW VSYNC P3
enhancement 1640779 [X11][EGL] Add EGL VSync implementation P5
enhancement 1681830 Stop using DwmFlush on Windows --
defect 1687142 Vsync drift due to inaccurate mVsyncRate --
defect 1588589 using X11 root window for synchronization causes stutter on xwayland and potentially other issues on native xorg --

17 Total; 17 Open (100%); 0 Resolved (0%); 0 Verified (0%);


GPU time

Useful prefs:

  • gfx.webrender.debug.profiler-ui: "Frame stats, ,#GPU,#Rendered picture tiles,|,GPU time queries"
  • gfx.webrender.debug.gpu-time-queries: true


Caching

Metabug: wr-caching

Full Query
Type ID Summary Assigned to Priority
enhancement 1548396 Support picture caching on child pictures. P2
defect 1463318 https://flow.org/ runs poorly with WebRender on low end GPUs P2
defect 1528376 High GPU usage on https://pressprogress.ca/jason-kenneys-labour-reforms-are-arbitrary-and-ridiculous-workers-rights-advocates-say/ P3
enhancement 1529103 Cache gradients in texture cache render tasks. P3
defect 1550796 Bad GPU performance on https://ultralig.ht/ with WebRender P3
defect 1552318 Scrolling is super laggy on https://templates.cartflows.com/ebook-landing/ P3
defect 1579977 Poor scrolling performance on Apple Music Beta Nicolas Silva [:nical] P3
defect 1519718 Slow Frames detected on singlesprout home page Dzmitry Malyshau [:kvark] P3

8 Total; 8 Open (100%); 0 Resolved (0%); 0 Verified (0%);


Too many render passes

Metabug: wr-render-passes

Note, it's likely that most of the bugs below would be fixed by caching the render passes (bucket above).

Full Query
Type ID Summary Assigned to Priority
defect 1664478 Blend modes and other effects on a single image force an extra intermediate target P2
defect 1517926 Bad performance on nested CSS keyframe animation P3
task 1549734 Reduce the resolution of some render tasks when going over GPU memory budget P3
defect 1580864 Janky scrolling with interactive map P3
enhancement 1597326 Avoid separate surfaces in WebRender if preserve-3d children don't intersect P3
enhancement 1669840 Improve opacity flattening P3

6 Total; 6 Open (100%); 0 Resolved (0%); 0 Verified (0%);


Overdraw

Metabug: 1613404

Full Query
Type ID Summary Assigned to Priority
enhancement 1485534 Images that have alpha channels but are actually opaque go in the transparent pass Patrick Walton (:pcwalton) P2
defect 1504590 Slow 3d transform rendering on https://keithclark.co.uk/articles/pure-css-parallax-websites/demo3/ in debug mode P3
enhancement 1558133 Reducing overdraw with huge semi-transparent images P3
enhancement 1597324 Detect opaque split planes in WebRender P3
defect 1457683 servo moire demo is much slower in Firefox + WebRender than in Chrome P5
enhancement 1596634 When blur filter is applied on a large area, it delays the full rendering --
defect 1674864 Slow scrolling on https://stirringabyss.com/ --

7 Total; 7 Open (100%); 0 Resolved (0%); 0 Verified (0%);


GPU times (others)

Metabug: wr-gpu-time

Full Query
Type ID Summary Assigned to Priority
defect 1664478 Blend modes and other effects on a single image force an extra intermediate target P2
enhancement 1623515 iPad Pro site takes over 100ms of GPU time with Webrender P3
defect 1681200 WR non-os-compositor is 2x to 3x as GPU-intensive as CompositorOGL on Moto G5 P3
defect 1687308 Poor scrolling on ubuntu.com front page P3
defect 1518995 Outstream.com page tilt effect is very laggy and jumpy with WebRender enabled P3
defect 1528376 High GPU usage on https://pressprogress.ca/jason-kenneys-labour-reforms-are-arbitrary-and-ridiculous-workers-rights-advocates-say/ P3
defect 1550796 Bad GPU performance on https://ultralig.ht/ with WebRender P3
defect 1556166 Bad performance on https://www.gitbook.com/ P3
enhancement 1651985 Animation causes webrender page to take more and more GPU time, resetting every ~10s P3
defect 1560671 https://www.cricketworldcup.com/ is slow P3
defect 1652511 Scrolling on https://www.aspyredesign.com/ is extremely janky (with lots of time spent in painting) P3
defect 1561145 https://www.sidewalklabs.com is slow with WebRender P3
defect 1654231 Nvidia powerstates causing stuttering in web browser P3
defect 1568877 Google calendar month transition is slow with WebRender P3
defect 1659338 Janky scrolling on mobile in www.rrweb.io (bad GPU time) P3
task 1663555 Remove remaining discard usage from WebRender shaders Nicolas Silva [:nical] P3
defect 1580264 Scrolling background causes 90+% GPU activity with webrender enabled P3
enhancement 1664060 Tiled masks in WebRender P3
enhancement 1583856 Segment very large border radii. P3
defect 1668431 Slow scrolling on Google Pixel 5 store page P3
enhancement 1606222 Network connection - High GPU load until the "connection timeout" message appear caused by throbber P3
defect 1609055 Bad GPU times on hackmd.io P3
defect 1673290 https://ics-creative.github.io/180914_conic_gradient/line_effect/ is slow due to large layer sizes and clips P3
defect 1614105 Transitions between background images are janky on https://www.nrk.no/chasing-climate-change-1.14859595 P3
defect 1676554 Scrolling https://howsmyflattening.ca/#/analysis/daily_new_cases_by_setting is slow with sw-wr P3
defect 1614141 High gpu usage on https://pcsx4.com/faq/ on Mac P3
defect 1677332 High GPU usage when color temperature addon used Glenn Watson [:gw] --
task 1639336 Investigate high times in target_init GPU profiling bucket on low-end Intel GPUs Bert Peers [:bpeers] --
defect 1639889 Scrolling hackmd.io is much worse in Firefox than Chrome --
defect 1640435 https://blog.onepeloton.com/peloton-covid-19-initiatives/ scrolls poorly on Mac --
enhancement 1647080 WebRender/WR: Scrolling hangs shortly on purecss-francine Glenn Watson [:gw] --
enhancement 1596634 When blur filter is applied on a large area, it delays the full rendering --
defect 1672235 https://disneyanimation.com/data-sets/ renders slowly --

33 Total; 33 Open (100%); 0 Resolved (0%); 0 Verified (0%);


GPU Memory usage

Metabug: wr-gpu-memory

Useful prefs:

- See all profile counters starting with "Texture cache" in addition to "Created targets".
Full Query
Type ID Summary Assigned to Priority
defect 1660407 GPU process uses huge amount of RAM and CPU P2
enhancement 1475518 Commit-space usage investigation P3
defect 1614922 GPU memory usage is (very) high when gfx.webrender.compositor is enabled P3

3 Total; 3 Open (100%); 0 Resolved (0%); 0 Verified (0%);


Android

Metabug: wr-android-perf

Full Query
Type ID Summary Assigned to Priority
enhancement 1536358 Prototype using PLS for clip task rendering on mobile devices with WR P2
defect 1658205 Webrender Android: janky scrolling on mozilla.org P2
defect 1665518 leganerd.com unbereably laggy on Fenix Andrew Osmond [:aosmond] P2
defect 1498735 Too much GPU time in the sidebar animation on html5test.com on Android P3
enhancement 1507669 Fix RGBA format handling in SurfaceTextureHost::PushResourceUpdates() P3
enhancement 1533135 Scrolling on bing images search results is sluggish P3
task 1556022 speedof.me reports download speeds for Geckoview_example and Fenix to be ~40% to 50% of Chrome's - Moto G5 P3
enhancement 1562818 Add support of AHardwareBuffer on Android Sotaro Ikeda [:sotaro] P3
enhancement 1614694 Load non-startup shaders from disk in a background thread Jamie Nicol [:jnicol] P3
defect 1617979 Reduce Renderer initialization time on Android P3
defect 1618968 First frame rendering takes longer in Fenix than Fennec due to WebRender P3
defect 1629443 Stuttering scroll with WebRender on Pocket Trending page (LG G4, Adreno 418) P3

12 Total; 12 Open (100%); 0 Resolved (0%); 0 Verified (0%);


Software WebRender (SWGL)

Metabug: sw-wr-perf

Full Query
Type ID Summary Assigned to Priority
defect 1676253 Slow animations and scroll on hopper.com P3
enhancement 1669842 Make sure our present path on Windows is as fast as possible P3
defect 1676554 Scrolling https://howsmyflattening.ca/#/analysis/daily_new_cases_by_setting is slow with sw-wr P3
defect 1676945 Judder while doing touchpad scroll on npr.org article (sw-wr) P3
defect 1673907 https://stripe.com/climate is slow with sw-wr P3
defect 1677257 https://www.apple.com/macbook-air/ is slow with swgl P3
defect 1685943 Very slow scrolling on system76.com P3
defect 1673970 computingforgeeks janks with software WR P3
defect 1686244 sw-wr: nasdaq.com spends lots of time in linear gradients P3
defect 1674015 Stuttering touchpad scroll on windowscentral P3
defect 1687308 Poor scrolling on ubuntu.com front page P3
defect 1674028 Janky touchpad scroll on stackoverflow with software WR P3
defect 1678779 Janking while doing touchpad scroll on chevereto.com (sw-wr) P3
task 1621383 Software WebRender benchmarking P3
defect 1674396 High memory and CPU usage during video playback on Twitch with webrender software fallback P3
defect 1674474 Laggy Scroll Feel with Software Rending on Webrender P3
defect 1678783 Janking while doing touchpad scroll on wiki.js.org (sw-wr) P3
defect 1623887 sw-wr: scrolling gmail is pretty slow P3
defect 1674475 Judder while doing touchpad scroll on various Phoronix pages (sw-wr) P3
defect 1678798 Janking while doing touchpad scroll on androidpolice.com (sw-wr) P3
enhancement 1647951 Investigate shared SWGL contexts or some form of inter-window SWGL resource sharing P3
defect 1674478 Judder while doing touchpad scroll on clearme.com (sw-wr) P3
defect 1678800 Janking while doing touchpad scroll on kobol.io (sw-wr) P3
defect 1655530 sw-wr: Scrolling the Matrix room list is laggy with SW-WR P3
defect 1674479 Very slow animation on clearme.com hovers (sw-wr) P3
enhancement 1678892 Scrolling on google images - with an image opened in the right pane - is quite janky P3
enhancement 1679480 RenderCompositorD3D11SWGL does not use external compositing for WebGL rendering(sw-wr) P3
task 1663555 Remove remaining discard usage from WebRender shaders Nicolas Silva [:nical] P3
defect 1669520 SWGL: https://nos.nl/ runs 4x slower than basic P3
defect 1669811 Scrolling YouTube on Intel Gen6 with SW-WR is quite a bit worse than basic P3
enhancement 1669840 Improve opacity flattening P3
task 1682195 cs_clip_image is slow in SW-WR --
defect 1683084 The Javascript slide is too slow on gsfresh.com (3d transforms) (software webrender) --
defect 1673008 mapbox.com is slow with sw-wr --
defect 1683230 Bad border performance on amazon ad with SW-WR --
defect 1677927 Very slow video decode for TikTok embeds (sw-wr) --
enhancement 1678119 Avoid doing clip/aa work in ALPHA_PASS shaders if we know we don't need it in VS --
defect 1662034 sw-wr: Scrolling in Facebook is a lot slower with Webrender Software --
enhancement 1674524 Implement GL_KHR_blend_equation_advanced in swgl --
defect 1674618 Scrolling https://www.pixellot.tv/is slow with sw-wr Brad Werth [:bradwerth] --
defect 1680821 Software webrender is slow with large SVGs --
defect 1668495 sw-wr: backdrop-filter (disabled by default) massively slows down the browser on Steam profiles --
defect 1674944 https://www.embark-studios.com/ is slow with sw-wr --
defect 1681747 sw-wr performance bad when viewing pdfs on macOS Matt Woodrow (:mattwoodrow) --
defect 1675057 Very bad performance on http://bad.diesel.com/ with sw-wr --
defect 1681778 Janking while doing touchpad scroll on pop.system76.com (sw-wr) --
defect 1675621 Hitching when scrolling on bradfrost.com with sw-wr --
task 1682194 cs_clip_rectangle shader is still slow in SW-WR --

48 Total; 48 Open (100%); 0 Resolved (0%); 0 Verified (0%);


See also:

Tools

Metabug: wr-perf-tools

Full Query
Type ID Summary Assigned to Priority
task 1583884 Show the number of blob tiles in existence in webrender's builtin profiler HUD P3
enhancement 1641101 Add support for profiling how often the same glyph has been evicted and re-rasterized P3
task 1645021 Reduce the cost of displaying HUD profiling tools in WebRender P3
task 1678325 Add a pref to force invalidation of picture tiles every frame Nicolas Silva [:nical] P3

4 Total; 4 Open (100%); 0 Resolved (0%); 0 Verified (0%);


General WebRender perf metabug

Metabug: wr-perf

During graphics triage, WebRender performance bugs are added as dependency to the wr-perf meta-bug. The next step is to replace the wr-perf dependency with one of the more specific meta-bugs above.


Full Query
Type ID Summary Assigned to Priority
defect 1666866 Bad performance in Firefox when being in a meeting at meet.google.com on Microsoft Edge P2
defect 1620895 Scrolling on https://twitter.com/home is not smooth on macOS (WebRender on) P2
defect 1487864 Improve frame scheduling in WebRender - Strange couplets of animation frames on expensive main-thread-driven animation P2
defect 1588402 Multiple CONTENT_FRAME_TIME regressions on Intel cards P2
defect 1571787 GPU power usage on https://news.ycombinator.com/item?id=17582796 on mac is 2x vs webrender off P3
defect 1619093 Scrolling smoothness is worse on WebRender. Dzmitry Malyshau [:kvark] P3
defect 1641217 Rasterflood gradient is slower with WebRender on than off on Linux P3
defect 1666177 Slow page scroll on forum.xda-developers.com P3
enhancement 1525420 Slow performance on https://keithclark.co.uk/labs/css-fps/nojs/ Dzmitry Malyshau [:kvark] P3
defect 1573113 https://propjockey.github.io/DOMinion-build-demo/ breaks webrender P3
task 1600178 Come up with a plan to handle multi-GPU environments on macOS in WebRender (GPU switching, eGPU handling) Bert Peers [:bpeers] P3
task 1620683 Investigate how long the SyncObjectD3D11Host::Synchronize() call in BeginFrame() takes P3
defect 1641534 2% raptor-tp6-yahoo-mail-firefox-cold fcp (linux64-shippable-qr) regression on push 3afdf3a5bec4902b80f5e67d93ca9f7f9f12edbd (May 22 2020) P3
defect 1683975 Opening a new tab on Big Sur is delayed by 100ms due to system font initialization Markus Stange [:mstange] P3
enhancement 1526020 Slightly worse performance on sessionrestore talos test on windows-qr P3
defect 1578199 Sometimes scrolling is only smooth if the profiler is enabled P3
enhancement 1528257 [meta] Faster animations in WebRender and display list format P3
defect 1580864 Janky scrolling with interactive map P3
defect 1600412 Laggy/janky performance on Black Friday and Cyber Monday Live Map P3
task 1623643 [meta] Picture caching performance P3
defect 1671498 Slow/janky scroll on vanity fair article P3
defect 1686358 Hit testing seems to be blocked on the RenderBackend thread P3
defect 1405858 nsIFrame::IsThemed is sort of expensive P3
enhancement 1529103 Cache gradients in texture cache render tasks. P3
enhancement 1582896 Use CHROMIUM_copy_texture on Angle to have texture-texture copies in WR P3
defect 1603453 When the CPU is under load posting tasks to the renderer thread's eventloop can take a long time P3
task 1624261 [meta] Reduce WebRender's GPU memory usage P3
enhancement 1686654 Reenable active SVG images P3
enhancement 1533135 Scrolling on bing images search results is sluggish P3
enhancement 1583545 Add linear gradient clips in webrender Nicolas Silva [:nical] P3
defect 1604167 Memory Usage Too High, compared to Chrome P3
enhancement 1624493 Remove brush_opacity shader and replace it with brush_image P3
defect 1673070 Scrolling janky on amp page of Gadgets360 site P3
defect 1543478 The throbber animation heavily regresses performance on main-thread-heavy micro-benchmark P3
defect 1583881 Stuttering while scrolling on Intel GPU on Linux P3
defect 1605155 Opening a video in Picture-in-Picture still causes the originating tab to compute DisplayLists at the video frame rate while the tab is the foreground P3
defect 1625013 noclip.website doesn't run well when using track pad P3
defect 1648843 scrolling performance regression for specific site on nightly + webrender P3
enhancement 1673653 Support for rasterizing SVG images on WR worker threads Andrew Osmond [:aosmond] P3
defect 1501545 testcase from bug 1123075 performs poorly on WR, and takes several GB of RAM on higher count P3
enhancement 1545578 Investigate loading early libraries with RTLD_DEEPBIND for WebRender talos wins P3
task 1583884 Show the number of blob tiles in existence in webrender's builtin profiler HUD P3
defect 1609217 Scrolling on https://webassembly-summit.org/speakers/ feels sluggish with WebRender on Samsung Galaxy A7 P3
defect 1625433 Text and background elements animations are stuttering on fantasy.bnf.fr P3
defect 1649708 Horrible input latency in many scenarios P3
defect 1504590 Slow 3d transform rendering on https://keithclark.co.uk/articles/pure-css-parallax-websites/demo3/ in debug mode P3
task 1549734 Reduce the resolution of some render tasks when going over GPU memory budget P3
enhancement 1587827 Don't build gecko display items for SVG elements with webrender. P3
task 1613373 [meta] WebRender SVG filters P3
task 1628677 Investigate SSBOs for the GPU cache P3
defect 1651753 Janky WebRender scrolling on reallifecomics.com with Renderer thread swamped in draw_alpha_batch_container P3
defect 1552318 Scrolling is super laggy on https://templates.cartflows.com/ebook-landing/ P3
defect 1553575 MotionMark 1.1 - test "Multiply": scores with Firefox are inconsistent P3
task 1613387 [meta] WebRender DisplayList building performance P3
enhancement 1628682 Map large buffers that the render backend can fill directly P3
defect 1659360 Judder while doing touchpad scroll on about:addons P3
defect 1676512 Lower performance on Webrender than on Direct3D 11 (Advanvced Layers) P3
defect 1557733 WebRender is slow to scroll twitter with videos on Mac P3
enhancement 1589307 Allow rendering some picture tiles directly into the framebuffer P3
task 1613389 [meta] WebRender caching P3
enhancement 1631752 Serialize/deserialize the webrender displaylist to/from shared memory P3
defect 1659482 Slow scrolling performance on Hacker Noon (WR + MacOS) P3
defect 1517940 High CPU, bad performance on "Humble Book Bundle: Python 2019 by Packt" (clipping perf) P3
defect 1558677 Makepad scrolling is slow with WebRender P3
task 1594474 [meta] WebRender batching P3
task 1613396 [meta] WebRender: Too many render passes P3
enhancement 1631949 Investigate merging shader cache files Doug Thayer [:dthayer] (he/him) P3
task 1659723 [meta] WebRender GPU time P3
defect 1520217 Slow Frames detected on Google Maps P3
task 1560579 Replace rayon with another task scheduling system P3
task 1594490 [meta] Improve WebRender's performance tools P3
task 1613404 [meta] WebRender GPU time - overdraw P3
task 1638122 [meta] Webrender android performance P3
task 1659734 [meta] WebRender Driver/API overhead on the renderer thread P3
enhancement 1681339 [meta] Too much glyph rasterization P3
defect 1520279 Slow Frames detected on Airtable Firefox Layout Backlog page P3
defect 1562369 Janky scrolling on https://www.bareminerals.com P3
defect 1596027 2.44% raptor-tp6-office-firefox-cold fcp (linux64-shippable-qr) regression on push 5647ec4ba6f2566912e71637d2c1e063d899c103 (Mon November 4 2019) P3
task 1613407 [meta] WebRender performance - texture/buffer uploads P3
task 1660479 [meta] WebRender scene building performance P3
enhancement 1682206 Add a capability to disable video rendering to Main window during PIP P3
defect 1521015 https://neon-bindings.com/ performance is not great P3
defect 1562370 Janky scrolling on https://mpgsport.com (VectorImage painting and display list building) P3
task 1596042 [meta] Frame building performance P3
defect 1614734 Time spent stuck in RendererOGL::WaitForGPU() P3
defect 1683052 Youtube videos getting stuck at new page loading after 84 update. P3
task 1567511 Very noisy GPU times P3
defect 1599502 A long time is spent in glBufferData during draw_instanced_batch (Intel) P3
defect 1615051 Hangs caused by expensive animations on https://paulstamatiou.com/work/ can freeze Firefox P3
defect 1664376 Jank while page down scrolling logged in Twitter (Gen 9LP) P3
defect 1683290 PiP doubles CPU and GPU load P3
enhancement 1522262 https://www.quantifiedplanet.org/ is slower with Firefox than Chrome P3
defect 1509966 [meta] Slow frames on a variety of pages P4
defect 1676818 webrender is slower on web.basemark.com P4
enhancement 1599611 enable putting hit test info on container display items (from bug 1503046) for webrender P5
enhancement 1370998 [meta] Tracking bug for WebRender memory issues P5
enhancement 1450997 [meta] talos release criteria meta bug P5
enhancement 1508188 [meta] perf bugs included in the CONTENT_FULL_PAINT_TIME metric P5
defect 1521265 Slow Frames detected on Slurpee Canada home page (canvas perf) P5
task 1640712 non-os-compositor: Damage rects currently get joined to the bounding rect P5
defect 1683951 Slow animation with svg base64 filter --
task 1600219 Investigate to remove WaitForGPU() --
defect 1642276 Slow frames, CPU heating up on Google Pixelbook Go product page on Google Store --
enhancement 1667917 Allow binding WebGL IOSurface directly to CoreAnimation compositor layers --
defect 1684636 Poor performance on jackbox.tv (radial gradients) --
defect 1647484 https://www.apple.com/macos/big-sur-preview/ has bad performance with WebRender --
defect 1647908 Bad performance on https://questdb.io/ from animated background svg --
defect 1672182 Bad performance on https://gatewayusa.com/products.html --
enhancement 1647947 Expose dirty regions before wr_renderer_render so that RenderCompositor::BeginFrame can utilize them --
defect 1674837 [Bug]scrolling is not smooth --
defect 1675573 WebRender on linux starts janking after running Firefox for some time --
defect 1677364 After OOM crash nn a contrived testcase, the GPU process doesnt release 4.1GB memory unless force terminated from about:support Brad Werth [:bradwerth] --
defect 1639892 WebRender doesn't work great on https://en.wikipedia.org/wiki/Grey%27s_Anatomy_(season_16) on Mac --
defect 1640205 Scrolling is slow on https://garry.tv/unity-2020 on macOS --
defect 1663285 poor performance in firefox with webrender on raspberry pi4 --

115 Total; 115 Open (100%); 0 Resolved (0%); 0 Verified (0%);