Commit Graph

187 Commits

Author SHA1 Message Date
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
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
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
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
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
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
liyuqian
c80d1e8266 Perf test for color filter with saveLayer (#52063) 2020-03-13 10:31:02 -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
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
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