Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6bf536e2dd61795b17f76ea7bf5eaf293eb6fc5e
      
https://github.com/WebKit/WebKit/commit/6bf536e2dd61795b17f76ea7bf5eaf293eb6fc5e
  Author: Tim Nguyen <n...@apple.com>
  Date:   2024-10-11 (Fri, 11 Oct 2024)

  Changed paths:
    M Source/WebCore/style/StyleAdjuster.cpp

  Log Message:
  -----------
  [MotionMark] `Style::Adjuster::adjust` spends 5% of its time in 
`WTF::linkedOnOrAfterSDKWithBehavior`
https://bugs.webkit.org/show_bug.cgi?id=281181
rdar://137640626

Reviewed by Simon Fraser.

Cache the result as a static boolean to avoid re-computing everytime we call 
`Style::Adjuster::adjust` (which is a hot codepath).

* Source/WebCore/style/StyleAdjuster.cpp:
(WebCore::Style::Adjuster::adjust const):

Canonical link: https://commits.webkit.org/285051@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to