Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@auto-submit
Copy link
Contributor

@auto-submit auto-submit bot commented Oct 24, 2024

Reverts: #56004

Initiated by: jonahwilliams

Reason for reverting: unexpected framework ui thread regression, no performance improvement

Original PR Author: jonahwilliams

Reviewed By: {flar, chinmaygarde}

This change reverts the following previous change:
Fixes flutter/flutter#157108

Right now the DL is always growing by a minimum 4096 bytes at a time. On applications with large display lists, this can lead to hundreds of reallocations as the display list is build, as long as each draw op is small. For example, the framework benchmark long picture scrolling draws many lines, each of which is a pretty small op.

Update the code so that we grow by doubling, with a minimum increment of ~16K

@auto-submit auto-submit bot added the revert of Bot Only: Tracking label for bot. Tracks new revert of pull requests. label Oct 24, 2024
@auto-submit auto-submit bot merged commit be56084 into main Oct 24, 2024
@auto-submit auto-submit bot deleted the revert_ec6e28ac8b49609fbb3f57ab5855e96f626bdfc5 branch October 24, 2024 01:49
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Oct 24, 2024
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Oct 24, 2024
flutter/engine@0b56cb8...be56084

2024-10-24 98614782+auto-submit[bot]@users.noreply.github.com Reverts "[display_list] grow display list backing store by power of two. (#56004)" (flutter/engine#56078)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC codefu@google.com,zra@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
M97Chahboun pushed a commit to M97Chahboun/flutter that referenced this pull request Oct 30, 2024
)

flutter/engine@0b56cb8...be56084

2024-10-24 98614782+auto-submit[bot]@users.noreply.github.com Reverts "[display_list] grow display list backing store by power of two. (flutter#56004)" (flutter/engine#56078)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC codefu@google.com,zra@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
nick9822 pushed a commit to nick9822/flutter that referenced this pull request Dec 18, 2024
…wo. (flutter#56004)" (flutter/engine#56078)

Reverts: flutter/engine#56004
Initiated by: jonahwilliams
Reason for reverting: unexpected framework ui thread regression, no performance improvement
Original PR Author: jonahwilliams

Reviewed By: {flar, chinmaygarde}

This change reverts the following previous change:
Fixes flutter#157108

Right now the DL is always growing by a minimum 4096 bytes at a time. On applications with large display lists, this can lead to hundreds of reallocations as the display list is build, as long as each draw op is small. For example, the framework benchmark long picture scrolling draws many lines, each of which is a pretty small op.

Update the code so that we grow by doubling, with a minimum increment of ~16K
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

revert of Bot Only: Tracking label for bot. Tracks new revert of pull requests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[display list] adjust realloc herustic to grow allocation size faster.

2 participants