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

Conversation

@freiling
Copy link
Contributor

[fuchsia][shader warmup] Avoid recursively iterating over assets directory when loading skp's due to high cost of openat() on pkgfs

Mitigation for b/181883382

Unit testing of new code paths included

@chinmaygarde
Copy link
Member

@freiling When you get a chance, can you address @arbreng s comments please? You also probably need to rebase the commit on ToT.

@freiling
Copy link
Contributor Author

Sorry, one of the shader warmup tests regressed due to #23488 and this was not registered due to flutter/flutter#78277 (along with a bunch of other regressions) so I've been firefighting there. All comments addressed, I still need to put it through manual testing after the std::optional change but I think this should be more or less good to go. Will rebase if necessary.

freiling added 2 commits April 1, 2021 06:23
This test regressed due to flutter#23488
and this regression was silent due to flutter/flutter#78277

Credit to @gnoliyil for actually putting together the fix.
…ctory when loading skp's due to high cost of openat() on pkgfs
@chinmaygarde
Copy link
Member

@freiling May I land this?

@chinmaygarde
Copy link
Member

@gnoliyil Can you go to go/flutter-onboarding and its Getting Started instructions to add yourself as a contributor to Flutter please?

@chinmaygarde
Copy link
Member

This patch is blocking https://flutter-review.googlesource.com/c/recipes/+/11700 which in turn is blocking #25309. When you land, please resolve the dependencies. Thanks.

@freiling freiling merged commit 31877fa into flutter:master Apr 2, 2021
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Apr 2, 2021
…ets directory when loading skp's due to high cost of openat() on pkgfs (flutter/engine#25006)
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Apr 2, 2021
…ets directory when loading skp's due to high cost of openat() on pkgfs (flutter/engine#25006)
duanqz pushed a commit to duanqz/engine that referenced this pull request Apr 16, 2021
…ctory when loading skp's due to high cost of openat() on pkgfs (flutter#25006)

* [fuchsia][shader warmup] Fixed SkpWarmupTest

This test regressed due to flutter#23488
and this regression was silent due to flutter/flutter#78277

Credit to @gnoliyil for actually putting together the fix.

* [fuchsia][shader warmup] Avoid recursively iterating over assets directory when loading skp's due to high cost of openat() on pkgfs
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants