Yegor
744a169387
Add a benchmark that focuses on Paint object performance ( #60939 )
...
* Add a benchmark the focuses on Paint object performance
2020-07-10 17:50:24 -07:00
Alexandre Ardhuin
f32a73711a
use nnbd deps ( #61177 )
2020-07-09 23:01:22 +02:00
Dan Field
d45ad057b4
Handle git dependencies, roll packages to get transitive deps of flutter_gallery ( #61064 )
2020-07-07 22:21:19 -07:00
Dan Field
5969eb60ec
benchmark memory usage for grid view of memory intensive widgets ( #61025 )
2020-07-07 19:34:03 -07:00
Dan Field
33aa457604
Roll packages ( #61034 )
...
Roll packages, update XML deprecations.
2020-07-07 16:40:33 -07:00
Ming Lyu (CareF)
c3217dac7f
await timelinesummary to file ( #60774 )
2020-07-06 13:19:19 -04:00
Tong Mu
28d2f0106c
Web macrobenchmark: bench_mouse_region_grid_hover now tests hitTestDuration ( #60554 )
2020-07-05 11:48:03 -07:00
Ming Lyu (CareF)
c639c93f11
Update platform files and gitignore ( #60407 )
2020-06-30 15:55:53 -04:00
Ming Lyu (CareF)
59aed97647
Simplify the animation control for macrobenchmarks test case ( #60412 )
...
* Simplify the animation control
* Using AnimatedBuilder
2020-06-29 20:20:32 -04:00
Daco Harkes
d55251cbab
Fix commit hash gallery ( #60507 )
...
0c5ec2f285
does not live on any branch.
This makes `pub get` in the macrobenchmarks folder.
```
$ git rev-list --max-count=100 0c5ec2f285c1ec30b2ed15194bc8de755654a590
fatal: bad object 0c5ec2f285c1ec30b2ed15194bc8de755654a590
```
Updated to the same commit on the master branch: d00362e6bd
.
2020-06-29 11:01:46 +02:00
Jim Graham
2962912d68
restore imagefiltered_transform_animation_perf__timeline_summary benchmark ( #60415 )
2020-06-27 00:59:50 -07:00
Ming Lyu (CareF)
025463f463
Heavy Widget construction and destruction performance test ( #60336 )
...
* Add widget construction benchmark
* Add to device lab
2020-06-26 17:38:26 -04:00
Tianguang
02f8e02880
Add Web Benchmarks for Flutter Gallery (Flutter Side) — 1/4 ( #57576 )
2020-06-24 10:28:03 -07:00
Jonah Williams
37db92beeb
[versions] update all versions and fix tool tests ( #60127 )
...
Update all versions, specifically file which fixes some bugs that caused tests to fail if run in different orders:
- systemTemp directories created by MemoryFileSystem will allot names based on the file system instance instead of globally.
- MemoryFile.readAsLines()/readAsLinesSync() no longer treat a final newline in the file as the start of a new, empty line.
- RecordingFile.readAsLine()/readAsLinesSync() now always record a final newline.
2020-06-23 15:48:37 -07:00
Jonah Williams
fbdc79e448
[versions] update all versions ( #59832 )
...
Fixes #59718
Update all versions, specifically dwds which has a hot restart fix
2020-06-19 14:48:57 -07:00
Tong Mu
65b1956005
Add benchmark for Mouse region (web) ( #59803 )
2020-06-19 13:48:04 -07:00
Justin McCandless
77859c682e
Characters package ( #59267 )
2020-06-15 09:50:02 -07:00
Jonah Williams
bf94520644
[versions] Update all the versions ( #59283 )
2020-06-11 16:40:22 -07:00
Jenn Magder
023532d991
Revert "Build iOS apps using Swift Packages ( #59009 )" ( #59025 )
...
This reverts commit 43e28084fc
.
2020-06-08 15:45:10 -07:00
Ming Lyu (CareF)
ef3b99225f
fix typo in macrobenchmarks/lib/main ( #58783 )
2020-06-08 17:40:57 -04:00
Jenn Magder
43e28084fc
Build iOS apps using Swift Packages ( #59009 )
2020-06-08 13:53:01 -07:00
Jenn Magder
2ece1c3a17
Revert "Build iOS apps using Swift Packages ( #58522 )" ( #58549 )
...
This reverts commit 2054f37aaf
.
2020-06-02 19:00:12 -07:00
Yegor
1a9530af8a
benchmark updating many child layers ( #58513 )
...
* benchmark updating many child layers
2020-06-02 17:59:41 -07:00
Jenn Magder
2054f37aaf
Build iOS apps using Swift Packages ( #58522 )
2020-06-02 17:57:11 -07:00
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
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
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
Jonah Williams
4896c85ede
[versions] update packages ( #50251 )
2020-02-06 08:44:00 -08: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
Jonah Williams
3f5786bee9
[versions] update versions --force-upgrade ( #49590 )
2020-01-28 13:07:45 -08:00
Angjie Li
f0a175f41d
Use flutter_tools to start WebDriver browser. ( #49228 )
2020-01-21 16:48:02 -08:00
David Iglesias
f65f7f0118
Change video_demo slightly so it works on web. ( #46719 )
2020-01-08 12:28:01 -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
Francisco Magdaleno
f2f9d0e4fd
Revert "Flutter Web Driver Support ( #47470 )" ( #47698 )
...
This reverts commit cc1c9649c4
.
2019-12-23 15:20:11 -08:00