Jim Graham
7261b98e81
Enabling the ImageFiltered(ImageFilter.matrix) page of macrobenchmark ( #58277 )
2020-05-30 18:53:01 -07:00
Tianguang
03c74eb42e
Run flutter update-packages --force-upgrade
. ( #58104 )
...
* Run `flutter update-packages --force-upgrade`.
* Update test to 1.14.5.
2020-05-30 00:13:33 +02:00
Yegor
be5b5c898c
add a backward variant of BenchCardInfiniteScroll ( #58140 )
2020-05-28 12:28:17 -07:00
Shi-Hao Hong
39ffce3e36
Update stocks example to use l10n.yaml workflow ( #58121 )
2020-05-28 12:03:02 -07:00
Tianguang
5a3104b36a
Update flutter_gallery_assets to ^0.2.0 ( #57328 )
...
* Bump flutter_gallery_assets version to ^0.2.0.
* Run `flutter update-packages --force-upgrade`.
* Add comment.
* Remove duplicate key.
2020-05-18 18:26:18 +02:00
Zachary Anderson
859f2f9bd4
Update packages ( #57321 )
2020-05-16 15:02:06 -07:00
Yegor
c81449e5ab
Allow Recorder override shouldContinue ( #57039 )
2020-05-14 15:17:02 -07:00
Ferhat
1fa90ecc2a
[web] Add path construction benchmark ( #57016 )
...
* Add path construction benchmark
* Fix analyzer warnings
* Split file into test+generated code. Add comment
* Add license to new file
* remove unused import
2020-05-14 12:35:20 -07:00
Anna Gringauze
e88ef6d554
Updated dwds (and other packages) ( #56958 )
2020-05-13 09:07:09 -07:00
Yegor
874b2e58b8
add web benchmark that measures efficiency of clipped out pictures ( #56596 )
2020-05-08 09:51:52 -07:00
Jonah Williams
ac2dfcf338
[version] update all versions ( #56141 )
2020-05-01 15:14:36 -07:00
Emmanuel Garcia
b176042c1a
Add benchmark for hybrid composition on Android ( #55609 )
2020-04-28 19:24:15 -07:00
Dan Field
2ae0e5a37a
Roll packages, drop custom timeline parsing for tracing tests ( #55433 )
2020-04-22 21:43:03 -07:00
Yegor
6f8945fce6
extract engine sub-metrics; change reported metrics ( #55331 )
...
* extract engine sub-metrics; change reported metrics
- Extract sub-metrics reported by the Web engine: "preroll_frame", "apply_frame".
- Add a concept of unreported metrics: displayed on the benchmark UI, but not on the dashboard.
- Make "sceneBuildDuration" and "windowRenderDuration" unreported, which are too fine-grained. They are included in "drawFrameDuration" already.
- Report outlier ratio instead of outlier average. The ratio is more useful of the two.
2020-04-22 17:18:53 -07:00
Jonah Williams
27d11da88f
Revert "[flutter_tools] default tree-shake-icons to enabled and improve performance ( #54923 )" ( #55413 )
...
This reverts commit 0b93a9219b
.
2020-04-22 15:43:09 -07:00
Jonah Williams
0b93a9219b
[flutter_tools] default tree-shake-icons to enabled and improve performance ( #54923 )
2020-04-22 13:17:46 -07:00
Jonah Williams
94ddf56b9e
[flutter_tools] unpin package config and update ( #55348 )
2020-04-22 10:16:34 -07:00
Yegor
ca8981b4c1
web benchmarks: handle no outliers case ( #55126 )
2020-04-21 10:13:02 -07:00
Jim Graham
77ea2da746
benchmark animation performance of Opacity widget ( #54903 )
2020-04-17 18:34:10 -07:00
Yegor
54cdc26afb
add benchmark for picture recording ( #54908 )
2020-04-16 14:46:41 -07:00
Yegor
a30c46dc79
Remove outliers in Web benchmarks to reduce noise; add visualization ( #54883 )
...
* web benchmarks: separate outliers to reduce noise; add visualization
2020-04-16 14:39:18 -07:00
Michael Thomsen
fd397e1fc0
Roll pinned package versions ( #54952 )
2020-04-16 10:55:02 -07:00
Jacob MacDonald
6399be62d2
remove flutter_test quiver dep, use fake_async and clock instead ( #54125 )
...
## Description
Removes the `flutter_test` dependency on `quiver`, instead using the more targeted `clock` and `fake_async` packages.
## Related Issues
https://github.com/flutter/flutter/issues/53908
## Tests
No changes to tests
## Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes (`[x]`). This will ensure a smooth and quick review process.
- [x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
- [x] I signed the [CLA].
- [x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
- [x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
- [x] I updated/added relevant documentation (doc comments with `///`).
- [x] All existing and new tests are passing.
- [x] The analyzer (`flutter analyze --flutter-repo`) does not report any problems on my PR.
- [x] I am willing to follow-up on review comments in a timely manner.
## Breaking Change
Did any tests fail when you ran them? Please read [Handling breaking changes].
- [ ] No, no existing tests failed, so this is *not* a breaking change.
- [x] Yes, this is a breaking change. *If not, delete the remainder of this section.*
- [x] I wrote a design doc: https://docs.google.com/document/d/1EkkLbECNBwHgddBQAZqEy7iQLTIxR1rgChKzxcLwhio/edit
- [x] I got input from the developer relations team, specifically from: @RedBrogdon
- [x] I wrote a migration guide: https://github.com/flutter/website/pull/3932
<!-- Links -->
[issue database]: https://github.com/flutter/flutter/issues
[Contributor Guide]: https://github.com/flutter/flutter/wiki/Tree-hygiene#overview
[Test Coverage]: https://github.com/flutter/flutter/wiki/Test-coverage-for-package%3Aflutter
[Flutter Style Guide]: https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo
[Features we expect every widget to implement]: https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#features-we-expect-every-widget-to-implement
[CLA]: https://cla.developers.google.com/
[Tree Hygiene]: https://github.com/flutter/flutter/wiki/Tree-hygiene
[Handling breaking changes]: https://github.com/flutter/flutter/wiki/Tree-hygiene#handling-breaking-changes
2020-04-15 12:10:26 -07:00
tauu
846e8fe812
force upgraded package dependencies ( #54787 )
...
Co-authored-by: Georg Wechslberger <wechslbe@ma.tum.de>
2020-04-14 18:21:14 -07:00
Jenn Magder
a6b39a230f
Migrate Runner project base configuration ( #54691 )
2020-04-14 13:01:54 -07:00
Emmanuel Garcia
54dba4cd59
Don't import plugins that don't support android in settings.gradle ( #54407 )
2020-04-12 08:55:03 -07:00
Mouad Debbar
b0610be3b4
[web] Don't collect trace info in the color grid benchmark ( #54396 )
2020-04-10 13:30:15 -07:00
Jacob MacDonald
efdce3cf72
drop image package dependency for goldens ( #54144 )
2020-04-09 11:21:23 -07:00
Filip Hracek
1593788cd9
Rename GPU thread to raster thread in API docs ( #53422 )
2020-04-08 18:57:03 -07:00
Yegor
4e3cf198e8
disable tracing for non-frame based benchmarks ( #54236 )
2020-04-08 09:17:03 -07:00
Michael Goderbauer
d47ad7ec0d
Reverse dependency between services and scheduler ( #54212 )
2020-04-08 09:12:03 -07:00
Jonah Williams
0a25309fb1
[versions] update versions ( #54247 )
2020-04-07 19:42:02 -07:00
Michael Thomsen
98e7791ec9
Roll pinned xml and petitparser versions ( #54181 )
2020-04-07 12:16:03 -07:00
Konstantin Scheglov
b0492cc976
Fix newly reported prefer_const_constructors lints. ( #54176 )
2020-04-07 08:59:01 -07:00
Mouad Debbar
e3e189219b
[web] Fix race condition in widget benchmarks ( #53952 )
2020-04-06 14:31:38 -07:00
stuartmorgan
2d623278e7
Restructure the Windows app template ( #53600 )
...
This moves the app template more toward being a more generic starting
point for any Flutter application, eliminating some hard-code
assumptions about there being a single window/engine pair that is
directly bound to the life of the application:
- Moves the runloop into its own class, making it capable of servicing
any number of engine instances.
- Moves the logic for setting up a window containing only a Flutter view
into a window subclass for ease of re-use.
- Makes quit-on-window-close an optional property. (Long term this
should be even more generic, like a quit-when-last-window-closes
option, but this is a short-term improvement that removes the binding
between the runloop and the window).
- Allows for multiple instances of Win32Window to exist without issues
relating to the window class registration.
Since there are getting to be a non-trivial number of files associated
with the runner, this moves the source into a runner/ directory, as is
already done on some other platforms.
Note that creating multiple Flutter windows at the same time still
doesn't work correctly even with this change, but this addresses some of
the known issues, and makes it easier to test in the future (e.g., for
debugging engine-level issues with multiple instances).
Fixes #45397
2020-04-06 12:24:05 -07:00
Yegor
29c88081b9
Collect chrome://tracing data in Web benchmarks ( #53879 )
...
Collect chrome://tracing data in Web benchmarks
2020-04-03 15:10:39 -07:00
Yegor
0d07788069
Add benchmark reproducing large static scrolling content ( #53686 )
2020-04-01 00:41:02 -07:00
Emmanuel Garcia
183b3c321e
Turn metal on in the platform views benchmark ( #53676 )
2020-03-31 11:56:23 -07:00
Kate Lovett
560c72287b
TODO Audits - 1 ( #53604 )
2020-03-31 11:21:01 -07:00
Jonah Williams
8cb1d269f6
[versions] update EVERYTHING ( #53467 )
2020-03-30 14:09:38 -07:00
Mouad Debbar
45a8b3db81
complete text layout benchmark ( #53295 )
2020-03-27 14:56:02 -07:00
Mouad Debbar
af21e74fef
[web] Write benchmarks to measure canvas-based text layout ( #52434 )
2020-03-24 22:10:25 -07:00
Jonah Williams
10571920c0
[flutter_tools] update to latest dwds API ( #52936 )
...
Should fix issues introduced in web-server device and allow loading org-dartlang-app URIs
2020-03-23 18:47:50 -07:00
Emmanuel Garcia
bec7f84a57
Fix package name ( #52870 )
2020-03-19 09:31:02 -07:00
Emmanuel Garcia
a3c6e4a0b9
Reland: Add Platform View benchmark ( #52839 )
2020-03-18 13:24:52 -07:00
Emmanuel Garcia
dc8ffe0430
Revert "Add benchmark for platform views ( #52717 )" ( #52834 )
...
This reverts commit 1f1731842a
.
2020-03-18 11:16:38 -07:00
Emmanuel Garcia
1f1731842a
Add benchmark for platform views ( #52717 )
2020-03-18 10:55:50 -07:00
Jonah Williams
da0788a180
Update fuchsia remote debug protocol to use package:test shim instead of package:test_api ( #52706 )
...
This is necessary to ensure the tests can run in google3. Fixes https://b.corp.google.com/issues/151657461
2020-03-18 09:12:46 -07:00
Jonah Williams
6884086e5c
[flutter_tools] Update to latest dwds APIs ( #51004 )
...
Update to latest dwds APIs, moving back to dwds driven hot restart and enabling future work on expression evaluation.
2020-03-17 17:29:53 -07:00
Shi-Hao Hong
351457cdd0
[gen_l10n] Separate out AppLocalizations classes and subclasses by language code ( #52335 )
2020-03-17 08:46:02 -07:00
liyuqian
c80d1e8266
Perf test for color filter with saveLayer ( #52063 )
2020-03-13 10:31:02 -07:00
Shi-Hao Hong
96fd143cd7
[gen_l10n] Optional Headers ( #52125 )
...
* Expose --header and --header-file arguments for gen_l10n
2020-03-11 13:55:54 -07:00
Mouad Debbar
5bb552270d
[web] Add benchmarks for text layout ( #51663 )
2020-03-10 18:46:03 -07:00
Ben Konyi
66b978a197
Update pub dependencies to roll forward package:test ( #52273 )
2020-03-10 13:26:02 -07:00
Flutter GitHub Bot
9c5009b251
[gen_l10n] Escape quote characters in ARB files ( #51952 )
2020-03-04 20:41:03 -08:00
Jason Simmons
c971ba0db4
Increase the timeout for the cull_opacity_perf_test to 45 seconds ( #51962 )
...
Fixes https://github.com/flutter/flutter/issues/51795
2020-03-04 13:53:01 -08:00
Ben Konyi
3edd3eb4a2
Updated package:test, package:test_core, package:coverage, package:package_config ( #51946 )
...
This is required to roll forward package:vm_service to 3.0.0 and is
blocking a DevTools release.
2020-03-04 11:40:52 -08:00
Jenn Magder
e491544588
Move embedding and linking Flutter frameworks into the tool ( #51453 )
...
* Move embedding and linking Flutter frameworks into the tool
* Unused import
* Migrate
* Rename run, add comments, remove typedef
* Add status log to tell the user what we did
* Remove Podfile migration, create IOSMigration superclass
* word-smiting
Co-Authored-By: Jonah Williams <jonahwilliams@google.com>
* for space
Co-Authored-By: Jonah Williams <jonahwilliams@google.com>
Co-authored-by: Jonah Williams <jonahwilliams@google.com>
2020-03-03 12:11:28 -08:00
Shi-Hao Hong
c98500dea3
Update gen_l10n tool to require base locale; Stocks app refresh ( #51602 )
2020-02-28 22:21:01 -08:00
Mouad Debbar
03d6b58002
[web] Allow benchmarks to customize their score keys ( #51493 )
2020-02-28 13:54:45 -08:00
Yegor
bae79599c2
add docs about writing/running web benchmarks ( #50989 )
...
* add docs about writing/running web benchmarks
* explain how to run like devicelab
* add WidgetBuildRecorder docs
2020-02-28 10:16:35 -08:00
Yegor
cd0fbd3205
improve web benchmark error reporting ( #51490 )
2020-02-28 10:14:22 -08:00
Jason Simmons
d499d61efe
Update Android activities because plugin registration is now done by FlutterActivity.configureFlutterEngine ( #50841 )
2020-02-27 18:16:04 -08:00
Yegor
d95a1a70a2
add WidgetBuildRecorder for benchmarking building widgets ( #51088 )
2020-02-24 16:08:40 -08:00
Dan Field
7034bc57df
Reduce duration of benchmark to avoid timeout ( #51214 )
2020-02-21 09:59:23 -08:00
Harry Terkelsen
29306b0896
[Web] Add Material Card Infinite Scroll benchmark ( #51005 )
...
* [Web] Add Material Card Infinite Scroll benchmark
Adds a benchmark that makes an infinite list of Material cards
and scrolls it. This benchmark exercises more heavyweight rendering
like shadows and clipping and paths.
* Fix analyzer warnings. Respond to comments
2020-02-20 11:16:58 -08:00
Dan Field
d030296a97
Reland test ( #50987 )
2020-02-20 01:51:15 -08:00
Dan Field
2ce51aa284
add macos project to macrobenchmarks ( #50999 )
2020-02-20 01:50:51 -08:00
Jonah Williams
d0b7f0cd4e
Revert "Animated placeholder perf ( #50851 )" ( #50984 )
...
This reverts commit e4fbb1aba6
.
2020-02-18 12:32:46 -08:00
Dan Field
e4fbb1aba6
Animated placeholder perf ( #50851 )
2020-02-18 11:29:22 -08:00
Jonah Williams
dfcf9beb6b
[versions] update sync http dependency ( #50981 )
2020-02-18 11:26:17 -08:00
Jonah Williams
9b4cb4da72
[versions] reland update test to 1.12.0 ( #50879 )
2020-02-18 10:38:54 -08:00
Jonah Williams
e481fcae52
Revert "[version] update to package:test 1.12.0 ( #50818 )" ( #50853 )
...
This reverts commit d3387bc916
.
2020-02-14 22:34:30 -08:00
Jonah Williams
d3387bc916
[version] update to package:test 1.12.0 ( #50818 )
2020-02-14 21:51:47 -08:00
Dan Field
3d812c1b96
Reduce gradle deps ( #50691 )
...
* drop unnecessary test deps
* bump to junit 4.13
2020-02-12 21:14:54 -08:00
Dan Field
58a4122b97
update packages ( #50666 )
2020-02-12 14:51:38 -08:00
Jonah Williams
18f38cd45b
Switch flutter_tools to use frontend_server for web compilation ( #50365 )
2020-02-11 15:43:46 -08:00
Alexandre Ardhuin
f15c887c63
change quote to avoid escapes ( #50368 )
2020-02-11 20:58:27 +01:00
Jonah Williams
4896c85ede
[versions] update packages ( #50251 )
2020-02-06 08:44:00 -08:00
Kaushik Iska
acabf9d589
[fuchsia] Runs stocks driver test on Fuchsia NUCs in devicelab
...
Also pushes tiles which is needed to host the flutter application on Fuchsia.
2020-02-03 17:55:45 -08:00
Alexandre Ardhuin
b5f328e37e
remove unnecessary string interpolations ( #49622 )
2020-01-31 18:30:21 +01:00
Yegor
423459da18
Initial web benchmark harness and 3 benchmarks ( #49460 )
...
Initial web benchmark harness and 3 benchmarks
2020-01-30 14:19:17 -08:00
Greg Spencer
4b4cff94bf
Move stocks example app into dev/benchmarks/test_apps ( #49559 )
...
The stocks example app is outdated and deprecated, but we still use it for some benchmark tests. Moving it into the benchmarks directory to indicate its status.
2020-01-30 09:31:07 -08:00
Jonah Williams
3f5786bee9
[versions] update versions --force-upgrade ( #49590 )
2020-01-28 13:07:45 -08:00
Hans Muller
bc5c46438a
Migrate TextTheme to 2018 APIs ( #48547 )
2020-01-24 19:03:01 -08:00
Angjie Li
f0a175f41d
Use flutter_tools to start WebDriver browser. ( #49228 )
2020-01-21 16:48:02 -08:00
Alexandre Ardhuin
3800bb7b10
fix missing spaces in adjacent strings ( #49159 )
2020-01-21 16:43:03 -08:00
Jim Graham
ea28a9c34d
Increase iteration counts to help improve noise in benchmark results. ( #48845 )
2020-01-14 16:39:36 -08:00
David Iglesias
f65f7f0118
Change video_demo slightly so it works on web. ( #46719 )
2020-01-08 12:28:01 -08:00
Greg Spencer
8b132015bb
Add CatmullRomCurve and CatmullRomSpline ( #47547 )
...
This adds CatmullRomCurve animation curve, and a CatmullRomSpline, which is what it uses to do interpolation.
This allows us to create animation curves which can smoothly interpolate the values given to the curve.
Since I've introduced a 2D spline curve, I also created a Curve2D base class for such parametric curves.
2020-01-08 07:59:54 -08:00
Alexandre Ardhuin
4f9b6cf017
enable lint prefer_final_in_for_each ( #47724 )
2020-01-07 16:32:04 +01:00
Angjie Li
9df1790f24
Flutter Web Driver Support ( #47890 )
2020-01-02 19:48:01 -08:00
Dan Field
24f39d40a4
Revert "Revert "Add many more global analyses. ( #47875 )" ( #48080 )" ( #48081 )
...
This reverts commit 04ea3183ce
.
2020-01-02 11:47:28 -08:00
Francisco Magdaleno
04ea3183ce
Revert "Add many more global analyses. ( #47875 )" ( #48080 )
...
This reverts commit e768c92fbc
.
2020-01-02 09:25:59 -08:00
Ian Hickson
e768c92fbc
Add many more global analyses. ( #47875 )
...
* Update packages.
* Add many more global analyses.
* Catch trailing spaces and trailing newlines in all text files.
Before we were only checking newly added files, but that means we
missed some.
* Port the trailing spaces logic to work on Windows too.
* Correct all the files with trailing spaces and newlines.
* Refactor some of the dev/bots logic into a utils.dart library.
Notably, the "exit" and "print" shims for testing are now usable
from test.dart, analyze.dart, and run_command.dart.
* Add an "exitWithError" function that prints the red lines and
then exits. This is the preferred way to exit from test.dart,
analyze.dart, and run_command.dart.
* More consistency in the output of analyze.dart.
* Refactor analyze.dart to use the _allFiles file enumerating logic
more widely.
* Add some double-checking logic to the _allFiles logic to catch
cases where changes to that logic end up catching fewer files
than expected (helps prevent future false positives).
* Add a check to prevent new binary files from being added to
the repository. Grandfather in the binaries that we've already
added.
* Update all the dependencies (needed because we now import crypto in
dev/bots/analyze.dart).
2019-12-30 17:12:19 -08:00
Jim Graham
cf00b969a1
Fix semantics and transition-perf tests to parse new event format. ( #47899 )
2019-12-27 18:15:49 -08:00
Francisco Magdaleno
f2f9d0e4fd
Revert "Flutter Web Driver Support ( #47470 )" ( #47698 )
...
This reverts commit cc1c9649c4
.
2019-12-23 15:20:11 -08:00
Angjie Li
cc1c9649c4
Flutter Web Driver Support ( #47470 )
2019-12-19 19:53:01 -08:00
Gary Qian
b011ea5468
Pass _caretPrototype to prevent cache miss ( #46720 )
2019-12-20 06:46:49 +09:00
Lau Ching Jun
2df964581f
Revert "Flutter Web Driver Support ( #45951 )" ( #47389 )
...
This reverts commit 1ef0eadb45
.
2019-12-18 17:02:31 -08:00
Angjie Li
1ef0eadb45
Flutter Web Driver Support ( #45951 )
...
* Support Flutter Driver test for Flutter Web application.
* Support Flutter Driver test for Flutter Web application.
* Fix documentation issues.
* Support Flutter Driver test for Flutter Web application.
* Fix documentation.
* Remove unused file from dartdoc check.
* Sync to date.
* Revert change to dartdoc.
* Address comments.
* Apply suggestions from code review
Co-Authored-By: Jonah Williams <jonahwilliams@google.com>
* Update copyrights.
* Update allowed list for browsers.
* Verify command line arguments for Drive command is correctly parsed.
* Make waitUntilFirstFrameRasterized throw unimplementedError for Flutter Web Driver.
* Add comment for why sync WebDriver is used.
* Update documentations.
* Add more unit tests and update documentation.
* Configure test.dart so that web_extension_test will be executed with --platform=chrome.
* Revert unnecessary changes.
* Add new file path for Windows to blacklist.
* Reconstruct the structure of flutter_driver/test/src folder to remove filtering logic in dev/bots/test.dart/
* Fix path to web_extension_test.dart.
* Add instructions for how to use WebFlutterDriver.
* Update getLayerTree to use sendCommand instead of _sendCommand.
* Update pubspec files.
2019-12-18 10:45:39 -08:00
Jim Graham
fa190a8685
New benchmark to measure performance of animations after removing a BackdropFilter. ( #46924 )
2019-12-13 13:27:53 -08:00
liyuqian
69728097bd
Remove unused observer and raise the waiting time ( #46626 )
2019-12-09 15:18:02 -08:00
liyuqian
a2005eaf9a
Memory test on scrolling large images quickly ( #46184 )
2019-12-05 19:28:00 -08:00
Alexandre Ardhuin
ec1a015045
implicit-casts:false in dev ( #45787 )
2019-12-05 22:34:06 +01:00
Kate Lovett
2a5e528a18
Fixing SliverOverlapAbsorber & SliverOverlapInjector child property ( #44283 )
2019-12-02 17:08:02 -08:00
Ian Hickson
449f4a6673
License update ( #45373 )
...
* Update project.pbxproj files to say Flutter rather than Chromium
Also, the templates now have an empty organization so that we don't cause people to give their apps a Flutter copyright.
* Update the copyright notice checker to require a standard notice on all files
* Update copyrights on Dart files. (This was a mechanical commit.)
* Fix weird license headers on Dart files that deviate from our conventions; relicense Shrine.
Some were already marked "The Flutter Authors", not clear why. Their
dates have been normalized. Some were missing the blank line after the
license. Some were randomly different in trivial ways for no apparent
reason (e.g. missing the trailing period).
* Clean up the copyrights in non-Dart files. (Manual edits.)
Also, make sure templates don't have copyrights.
* Fix some more ORGANIZATIONNAMEs
2019-11-27 15:04:02 -08:00
Kaushik Iska
d1805aa22a
update-packages after dwds updates ( #45633 )
2019-11-26 18:34:06 -08:00
Alexandre Ardhuin
fcb40a05bb
make some BuildContext methods generics ( #44189 )
...
* make BuildContext.{ancestorStateOfType,ancestorRenderObjectOfType,rootAncestorStateOfType} generic
* make BuildContext.inheritFromWidgetOfExactType generic
* make BuildContext.ancestorInheritedElementForWidgetOfExactType generic
* make BuildContext.ancestorWidgetOfExactType generic
* fix snippet
* bump scoped_model on temp version
* update names
* Revert "bump scoped_model on temp version"
This reverts commit d1fcbba028cdb07f44738d1652391692d1ea5ec0.
* address review comments
* fix ci
* address review comments
* repeat the deprecation notice
* fix uppercase
* use of recommanded deprecation syntax
* address review comment
2019-11-22 17:35:20 +01:00
liyuqian
a32fc986f3
Add a perf test for picture raster cache ( #45050 )
...
This will catch issues like
https://github.com/flutter/flutter/issues/44252 , and this test is
inspired by the `list_demo` sample app in
https://github.com/flutter/flutter/issues/43083#issue-509586473
This is tested locally on a Moto G4 before and after the fix
https://github.com/flutter/engine/pull/13710
The `average_frame_rasterizer_time_millis` of this test drops from
~5.4ms to ~4.9ms after that fix.
2019-11-19 15:48:41 -08:00
Jonah Williams
e77c24ef91
Update package test ( #44882 )
2019-11-14 09:31:36 -08:00
Jonah Williams
a901b650b6
Update meta to 1.1.8 ( #44584 )
2019-11-12 13:48:42 -08:00
Ian Hickson
1ce4a4f36f
Make sure all our .dart files have license headers ( #44467 )
2019-11-08 16:53:21 -08:00
Emmanuel Garcia
0ccde797b0
Reland: Migrate examples to Android embedding v2 ( #44139 )
2019-11-04 17:25:25 -08:00
Emmanuel Garcia
694b2d89e0
Revert: Migrate examples to Android embedding v2 ( #43997 )
...
This reverts commit 99cd440384
.
2019-11-01 11:13:39 -07:00
Emmanuel Garcia
99cd440384
Revert "Revert "Reland: Migrate examples new embedding ( #43868 )" ( #43885 )" ( #43939 )
2019-10-31 16:17:31 -07:00
Dan Field
8e0799a657
Revert "Reland: Migrate examples new embedding ( #43868 )" ( #43885 )
...
This reverts commit 46edc80237
.
2019-10-30 23:33:38 -07:00
Emmanuel Garcia
46edc80237
Reland: Migrate examples new embedding ( #43868 )
2019-10-30 19:00:24 -07:00
Emmanuel Garcia
ea4da39fab
Revert: Migrate examples to the new embedding ( #43689 )
2019-10-28 19:11:09 -07:00
Emmanuel Garcia
20e015ffe6
Reland: Migrate examples new embedding ( #43643 )
...
* Fix device lab tests
* Migrate examples to the Android embedding v2 (#43221 )
2019-10-28 15:43:37 -07:00
Emmanuel Garcia
5bc7fb6835
Revert "Migrate examples to the Android embedding v2 ( #43221 )" ( #43611 )
...
This reverts commit b49ffa81c1
.
2019-10-27 21:25:13 -07:00
Emmanuel Garcia
b49ffa81c1
Migrate examples to the Android embedding v2 ( #43221 )
2019-10-25 22:03:49 -07:00
Jonah Williams
3c59e00c7a
update packages --force-upgrade ( #43366 )
2019-10-23 17:28:20 -07:00
Jonah Williams
daa7143c08
Unpin test and update packages ( #42699 )
2019-10-15 12:50:10 -07:00
Jenn Magder
649cf82018
use_modular_headers ( #42204 )
2019-10-15 12:36:50 -07:00
Ian Hickson
292519be98
Roll dart package dependencies ( #42496 )
2019-10-11 11:12:31 -07:00
Zachary Anderson
3b66db6bf7
Updates packages ( #41936 )
2019-10-07 09:46:57 -07:00
Jonah Williams
f25812bae5
Revert "replace package:vm_service_client with package:vm_service in the devicelab project ( #41646 )" ( #41960 )
2019-10-03 21:30:37 -07:00
Devon Carew
4de496a4e5
replace package:vm_service_client with package:vm_service in the devicelab project ( #41646 )
2019-10-03 20:43:34 -07:00
liyuqian
9cc29c61df
Reland "Measure iOS CPU/GPU percentage #41426 " ( #41578 )
...
This reverts commit baea9bf7cc
.
Additionally, we let the test run on mac8 with iphonexs because the test won't run on Xcode 10.1 (mac3-7). Hence we force it to run on mac8 which currently has Xcode 10.2.
2019-09-29 11:33:43 -07:00
liyuqian
baea9bf7cc
Revert "Reland "Measure iOS CPU/GPU percentage ( #41234 )" ( #41426 )" ( #41575 )
...
This reverts commit 67b5bdf99b
.
Reason: it broke device lab.
TBR: @goderbauer
2019-09-29 10:58:13 -07:00
liyuqian
67b5bdf99b
Reland "Measure iOS CPU/GPU percentage ( #41234 )" ( #41426 )
...
This reverts commit f1e7fe8142
.
This fix is in https://github.com/flutter/packages/pull/39
2019-09-28 14:24:46 -07:00
Jonah Williams
f1e7fe8142
Revert "Reland "Measure iOS CPU/GPU percentage ( #39439 )" ( #41234 )" ( #41400 )
2019-09-26 12:27:01 -07:00
liyuqian
406b44983a
Reland "Measure iOS CPU/GPU percentage ( #39439 )" ( #41234 )
...
This reverts commit 652be88ecd
.
This fix is in https://github.com/flutter/packages/pull/37
2019-09-26 10:39:24 -07:00
Emmanuel Garcia
61c6c29233
Migrate examples and tests to AndroidX ( #41251 )
2019-09-25 09:02:15 -07:00
Tong Wu
28bd51f998
Force upgrade packages again. ( #40997 )
2019-09-24 16:51:31 -07:00
Jonah Williams
57c319a9a0
Revert "Run flutter update-packages --force-upgrade
. ( #40766 )" ( #40979 )
2019-09-20 12:23:19 -04:00
Tong Wu
c238045a96
Run flutter update-packages --force-upgrade
. ( #40766 )
2019-09-20 07:58:53 -07:00
liyuqian
5aaac71f98
Wait for first frame in driver tests ( #40617 )
...
The transition_perf test is no longer flaky.
2019-09-18 10:25:14 -07:00
liyuqian
652be88ecd
Revert "Measure iOS CPU/GPU percentage ( #39439 )" ( #40624 )
...
This reverts commit af9f424d5d
.
Reverts flutter/flutter#39439
Reason: this passed the local device lab test on my Macbook but it failed in the actual device lab. Will investigate, fix, and reland.
TBR: @dnfield @goderbauer @tvolkert @Hixie
2019-09-16 15:00:27 -07:00
liyuqian
af9f424d5d
Measure iOS CPU/GPU percentage ( #39439 )
...
For https://github.com/flutter/flutter/issues/33899
Test added:
- simple_animation_perf_ios
Test modified:
- backdrop_filter_perf_ios__timeline_summary
We'll add the CPU/GPU measurement to more iOS tests
once it's proven to be non-flaky.
2019-09-16 13:14:38 -07:00
Emmanuel Garcia
4d404da6df
Update Kotlin and Gradle version ( #40181 )
2019-09-13 19:37:07 -07:00
Emmanuel Garcia
2c857b9370
Enable R8 ( #40453 )
2019-09-13 19:06:40 -07:00
Jonah Williams
91af071570
ensure dart2js does not compile unsupported packages ( #40368 )
2019-09-12 15:25:21 -07:00
Jonah Williams
0167f53101
update packages --force upgrade ( #39932 )
2019-09-05 19:35:59 -07:00
Devon Carew
57e6042f68
update to the latest package:dwds ( #39834 )
2019-09-05 09:50:10 -07:00
Harry Terkelsen
d33cf11556
Automatically generated registrants for web plugins ( #39628 )
...
* WIP on web plugin registry
* WIP on registering plugins
* WIP on web plugin registration
* Only generate `package:flutter_web_plugins` imports if plugins are
defined
* Add parsing test
* Add documentation
* Fix analyzer warnings
* add license headers
* Add tests for package:flutter_web_plugins
* Run `flutter update-packages --force-upgrade`
* Fix analyzer errors
* Fix analyzer error in test
* Update copyright and remove flutter SDK constraints
* Enable tests since engine has rolled
* add flutter_web_plugins tests to bots
* Create an empty .packages file for WebFs test
2019-09-03 10:37:34 -07:00
Jonah Williams
4984d1a33d
update packages ( #39429 )
2019-08-28 17:04:07 -07:00
Chris Bracken
ffa3785411
Update package versions to latest ( #39013 )
...
This fixes a breakage in fuchsia where package_config version 1.1.0 is
required but flutter_tools is currently locked to 1.05.
2019-08-21 19:15:33 -07:00
Jenn Magder
4d81b0c970
Remove xcconfigs from template Copy Bundle Resources build phases ( #38724 )
2019-08-19 16:23:45 -07:00
Kate Lovett
6ff212b328
Comparing pixels instead of bytes with GoldenFileComparator ( #38473 )
2019-08-19 09:06:22 -07:00
Emmanuel Garcia
83a8a575ee
Update dependencies ( #37971 )
2019-08-10 12:38:20 -07:00
Yegor
9bc298deb6
update dependencies; add a Web smoke test ( #37816 )
...
update dependencies; add a Web smoke test
2019-08-09 09:58:49 -07:00
Emmanuel Garcia
f3690d153b
Update packages
2019-08-06 06:19:42 -07:00
Jonah Williams
a785db78fb
Reland "Integrate dwds into flutter tool for web support ( #34252 )" ( #37649 )" ( #37650 )
2019-08-05 16:51:57 -07:00
Jonah Williams
433436e1ee
Revert "Integrate dwds into flutter tool for web support ( #34252 )" ( #37649 )
2019-08-05 15:58:04 -07:00
Jonah Williams
4ccd81199f
Integrate dwds into flutter tool for web support ( #34252 )
2019-08-05 12:41:58 -07:00
liyuqian
e77237d6d3
Reland "Fix the first frame logic in tracing and driver ( #35297 )" ( #37192 )
...
This relands https://github.com/flutter/flutter/pull/35297
The followings have been done to fix the broken tests:
1. Add `didSendFirstFrameRasterizedEvent` extension and its tests
2. Wait for `didSendFirstFrameRasterizedEvent` instead of
`didSendFirstFrameEvent` during start up tests
3. Mark missed (probably newly added) start up tests as flaky
2019-07-31 11:01:52 -07:00
Dan Field
47eeaac1a0
Update complex_layout.cmx ( #37207 )
...
These fields aren't needed - flutter_runner registers for these on behalf of the mod.
2019-07-30 08:30:12 -07:00
Dan Field
78c6dfd29d
add cmx for complex_layout ( #37205 )
2019-07-29 17:00:57 -07:00
Jonah Williams
3068fc4f7c
Revert "Fix the first frame logic in tracing and driver ( #35297 )" ( #37027 )
...
This reverts commit 68fc7231b3
.
2019-07-26 13:08:36 -07:00
liyuqian
68fc7231b3
Fix the first frame logic in tracing and driver ( #35297 )
...
This should fix https://github.com/flutter/flutter/issues/31442 and https://github.com/flutter/flutter/issues/34867
2019-07-26 09:38:12 -07:00
Matt Carroll
a7387b127d
Added demo projects for splash screen support on Android. ( #35728 )
2019-07-24 13:44:13 -07:00
Todd Volkert
1170105eae
flutter update-packages --force-upgrade ( #36510 )
2019-07-18 22:21:58 -07:00
Jonah Williams
f711308376
Add sync star benchmark cases ( #36303 )
2019-07-17 16:19:49 -07:00
Jim Graham
6372250995
add the transformPoint and transformRect benchmarks ( #36026 )
2019-07-17 13:39:13 -07:00
Anoop B
90326b6184
[ImgBot] Optimize images ( #35971 )
2019-07-11 21:16:48 -07:00
Ian Hickson
176ebfd53e
flutter/tests support ( #33140 )
...
This introduces a script that implements the conventions described in https://github.com/flutter/tests/pull/1 .
2019-07-10 12:10:28 -07:00
Jonah Williams
93edc014ae
update packages ( #35573 )
2019-07-04 11:26:19 -07:00
liyuqian
c73b35deb8
Update macrobenchmarks README and app name ( #35477 )
2019-07-02 17:10:52 -07:00
Tong Mu
03ed06f44d
New benchmark: Gesture semantics ( #35232 )
...
* Add semanticsEnabled to widgetBenchmark
* Add button_matrix_app and gesture benchmark
2019-06-28 00:37:01 -07:00
Todd Volkert
04e2f22650
Force-upgrade package deps ( #35206 )
2019-06-27 14:02:23 -07:00
Alexandre Ardhuin
919dcf53f3
enable lints prefer_spread_collections and prefer_inlined_adds ( #35189 )
2019-06-27 21:23:16 +02:00
Jim Graham
f83fd9d467
Add test case for Flutter Issue #27677 as a benchmark. ( #34870 )
...
* Add test case for Flutter Issue #27677 as a benchmark.
See https://github.com/flutter/flutter/issues/27677
I got the following results running the test on a Moto E2 which
will help us determine how much we can gain by analyzing the
operations and eliminating unnecessary repaints based on
dirty rectangles/regions.
no blurs - avg 216.0 fps over 3 samples
blur the group - avg 22.9 fps over 3 samples
blur each txt - avg 3.4 fps over 3 samples
* Added the new benchmark to be tracked on the dashboard.
2019-06-24 20:53:22 -07:00
Jonah Williams
5d3efbde80
unpin build daemon ( #34686 )
2019-06-19 11:43:38 -07:00
Ian Hickson
d310d31de3
Roll pub dependencies ( #33677 )
2019-06-13 18:07:16 -07:00
Jenn Magder
c40d701e96
Change Xcode project developmentRegion to 'en' and plist CFBundleDevelopmentRegion to DEVELOPMENT_LANGUAGE ( #34293 )
2019-06-12 11:31:17 -07:00
Gary Qian
c2eaf8359d
Reland "Text inline widgets, TextSpan rework ( #30069 )" with improved backwards compatibility ( #34051 )
2019-06-07 15:47:23 -07:00
Gary Qian
4e5cf5efb0
Revert "Reland "Text inline widgets, TextSpan rework" ( #33946 )" ( #34002 )
...
This reverts commit 14414f350a
.
2019-06-06 18:25:36 -07:00
Gary Qian
14414f350a
Reland "Text inline widgets, TextSpan rework" ( #33946 )
2019-06-05 18:14:17 -07:00
Gary Qian
2db7918eb5
Revert "Text inline widgets, TextSpan rework ( #33794 )" ( #33928 )
...
This reverts commit 86862c1e62
.
2019-06-05 11:35:46 -07:00
Gary Qian
86862c1e62
Text inline widgets, TextSpan rework ( #33794 )
...
* Merge in changes for inline widgets
* Make analyzer happy, fix tests
* Fix analyzer
* Add missing doc
* Docs on RichText
* Fix analyzer some more
* Remove whitespace at end of line
* Update goldens
* Text fixes
* Analyzer
2019-06-04 16:27:53 -07:00
Kaushik Iska
92bfc99132
Added a benchmark for ImageCache ( #33814 )
...
* Add an image cache benchmark for a monochrome image
2019-06-04 12:32:52 -07:00
Jonah Williams
83986acbdb
Add a real-er web restart, doctor, workflow ( #33786 )
2019-06-03 23:19:42 -07:00
Chris Bracken
98ea501995
Revert "Add real-er restart for web using webkit inspection protocol ( #33629 )" ( #33703 )
...
Revert "fix devicelab manfiest (#33698 )"
This reverts commit 5a6a00dc54
.
This reverts commit 0d79f0fc79
.
2019-05-31 21:53:30 -07:00
Jonah Williams
5a6a00dc54
Add real-er restart for web using webkit inspection protocol ( #33629 )
2019-05-31 17:37:01 -07:00
Jonah Williams
da600bacfe
Reland - Wire up hot restart and incremental rebuilds for web ( #33533 )
2019-05-29 22:46:28 -07:00
Jason Simmons
311cde98a6
Reland "Clean up some flutter_tools tests and roll dependencies" ( #33225 )
...
This relands flutter/flutter#33163 with a fix to the integration_ui test.
2019-05-29 19:04:35 -07:00
Jonah Williams
925f5f1c53
Revert "Wire up hot restart and incremental rebuilds for web ( #33197 )" ( #33529 )
...
This reverts commit 52ae99682e
.
2019-05-29 12:09:01 -07:00
Jonah Williams
52ae99682e
Wire up hot restart and incremental rebuilds for web ( #33197 )
2019-05-29 09:49:16 -07:00
Jonah Williams
a30ffb60ad
Revert "Clean up some flutter_tools tests and roll dependencies ( #33163 )" ( #33206 )
2019-05-22 12:20:02 -07:00
Ian Hickson
e5f81e1048
Clean up some flutter_tools tests and roll dependencies ( #33163 )
...
* Clean up some flutter_tools tests
* Remove arbitrary retry that happens even for fundamental errors, and generally clean up _DevFSHttpWriter.
* Update dependencies (requires fixes; see next commit)
* Fixes for new dependencies.
2019-05-22 09:31:37 -07:00
Emmanuel Garcia
cc7ec6d624
Bump multicast_dns version
2019-05-06 11:14:41 -07:00
Jonah Williams
6a250c8d65
update packages and unpin build ( #32066 )
2019-05-03 16:54:35 -07:00
Greg Spencer
11e0a725d4
Re-land: Add support for Tooltip hover ( #31699 )
...
This is a re-land of #31561 , after fixing performance regressions.
Added change listening to the MouseTracker so that the Listener and tooltip can react to whether or not a mouse is connected at all. Added a change check to make sure Listener only repaints when something changed.
Fixes #22817
2019-05-03 13:00:36 -07:00
Jonah Williams
c1c15dd702
Revert "update packages and unpin build ( #31736 )" ( #31795 )
2019-04-29 09:56:55 -07:00
Jonah Williams
41b18422df
update packages and unpin build ( #31736 )
2019-04-29 09:10:01 -07:00
Dan Field
1db5d66932
Capture JSON RPC errors that presently get swallowed ( #31584 )
...
* Update packages
* Capture JSON RPC errors that presently get swallowed
2019-04-25 08:27:00 -07:00
Dan Field
99bd2795b0
Add rrect contains microbenchmark ( #30985 )
2019-04-15 09:01:40 -07:00