Bug 257358 - REGRESSION (264433@main): Drawing small images becomes slower
Summary: REGRESSION (264433@main): Drawing small images becomes slower
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Images (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Said Abou-Hallawa
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-05-25 15:53 PDT by Said Abou-Hallawa
Modified: 2023-06-14 16:12 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Said Abou-Hallawa 2023-05-25 15:53:42 PDT
264433@main made RenderBoxModelObject::decodingModeForImageDraw() call RenderElement::imageVisibleInViewport() for all images including the small ones which do not require async image decoding unless the attribute decoding="async" is specified.

This regressed the score of the MotionMark Leaves sub-test by almost 2.5%.
Comment 1 Said Abou-Hallawa 2023-05-25 15:55:00 PDT
rdar://109810640
Comment 2 Said Abou-Hallawa 2023-05-25 17:09:50 PDT
Pull request: https://github.com/WebKit/WebKit/pull/14376
Comment 3 EWS 2023-05-30 09:43:10 PDT
Committed 264679@main (efb71a57dadd): <https://commits.webkit.org/264679@main>

Reviewed commits have been landed. Closing PR #14376 and removing active labels.