[webkit-changes] [WebKit/WebKit] ad938c: Avoid multiple recursions through the tree when ca...

Commit Queue noreply at github.com
Wed Aug 7 04:57:48 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ad938cfa1fbd6b20d7e4c4473c5c08e5ad924e9f
      https://github.com/WebKit/WebKit/commit/ad938cfa1fbd6b20d7e4c4473c5c08e5ad924e9f
  Author: Ahmad Saleem <ahmad.saleem792 at gmail.com>
  Date:   2024-08-07 (Wed, 07 Aug 2024)

  Changed paths:
    M Source/WebCore/rendering/RenderBox.cpp

  Log Message:
  -----------
  Avoid multiple recursions through the tree when calculating percent height

https://bugs.webkit.org/show_bug.cgi?id=259538
rdar://problem/113299108

Reviewed by Antti Koivisto.

Merge: https://chromium.googlesource.com/chromium/src.git/+/74e95b29247f21620cb94fdf72e7e1051fff80c2

This progresses below microbenchmark:

> nested-blocks-with-percent-height-and-max-height.html

This patch progresses above from ~2.5 to ~6400 runs per second,
unfortunately, it cannot be imported since our `runner.js` don't work
with above benchmark.

* Source/WebCore/rendering/RenderBox.cpp:
(WebCore::RenderBox::constrainContentBoxLogicalHeightByMinMax const):

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list