Commit graph

595 commits

Author SHA1 Message Date
LongCatIsLooong db705b81e3
Restore the original name of the velocity tracker microbenchmark (#64060) 2020-08-19 00:41:06 -07:00
Ming Lyu (CareF) 48287750d0
remove duplicate e2e driver (#64015) 2020-08-18 17:06:05 -07:00
Ming Lyu (CareF) 3313df9b13
ensureVisible => scrollUntilVisible (#63983) 2020-08-17 14:11:02 -07:00
Remi Rousselet 2b25e29192
add benchmark for ChangeNotifier.notifyListeners (#62715) 2020-08-14 17:06:03 -07:00
Ming Lyu (CareF) 0629030a05
WidgetTester.drag with time duration (#63410) 2020-08-12 21:01:03 -07:00
Ming Lyu (CareF) 2384376f64
Migrate gallery/transitions_perf test to e2e (#62064) 2020-08-12 13:36:07 -07:00
LongCatIsLooong cea055ef00
Make Scrollable's free scroll initial velocity matches that of iOS (#60501) 2020-08-12 13:31:05 -07:00
Jonah Williams 9225d8d5b7
[flutter_tools] move to fake_async, skip failing tests (#63536) 2020-08-11 19:36:05 -07:00
xster df8e537f96
move compile/target sdk versions to 29 (#62799) (#63008) 2020-08-11 14:51:02 -07:00
Greg Spencer a344fb1e2c
Update prepare_package.dart to use the process_runner package instead having duplicate code. (#62710)
Updates the prepare_package.dart script to use the process_runner package (which is where the ProcessRunner implementation was moved to).
2020-08-11 14:44:57 -07:00
Ming Lyu (CareF) 65d9faa1b4
Prepare macrobenchmarks' e2e tests for firebase test lab (#63197) 2020-08-10 11:01:02 -07:00
Ming Lyu (CareF) 99ea866247
update packages (#63017) 2020-08-06 16:21:05 -07:00
Yuqian Li 6d487355a3
Remove cubic_bezier_perf.dart (#63028) 2020-08-05 20:21:02 -07:00
Tianguang ce1cfbe71d
Add remaining benchmarks (#62906) 2020-08-05 09:31:08 -07:00
Ming Lyu (CareF) 1d329d2cc9
migrate macrobenchmark/multi_widget_construction test to e2e (#62539) 2020-08-04 18:56:03 -07:00
Jonah Williams e8ad863a08
Revert "move compile/target sdk versions to 29 (#62799)" (#62884)
This reverts commit 5b3dc5251b.
2020-08-04 11:20:16 -07:00
xster 5b3dc5251b
move compile/target sdk versions to 29 (#62799) 2020-08-04 08:26:08 -07:00
Jonah Williams c24772e8fb
[versions] update to the latest sdk versions (#62687) 2020-08-03 10:31:06 -07:00
Jason Simmons e5de16a247
Make the text field macrobenchmark work in debug mode (#62523) 2020-07-31 09:51:05 -07:00
Ben Konyi 3a5a3eaf68
Reland "Add support for Dart Development Service (DDS) in Flutter Tools (#61276)" (#62147)
This reverts commit adc9dde3ba.

- Fixed issue where `FallbackDiscovery` would hold on to a `VmService` when launching on iOS devices, causing DDS to fail to start
- Fixed `flutter drive` case where DDS is already running in another flutter_tools instance
2020-07-29 10:05:40 -07:00
Ming Lyu (CareF) 50828a1318
bug fix (#62349) 2020-07-28 18:31:04 -07:00
Ming Lyu (CareF) 98264a4709
Simplify macrobencharks/picture_cache (#62219) 2020-07-28 10:51:11 -07:00
Jonah Williams d834673033
roll dart/engine to f27729e97b5a00c3a8d8d49edc7b998fa755b97a (#62368) 2020-07-27 17:51:31 -07:00
Zachary Anderson ab3a4b0e69
Revert "bump nullsafety deps (#61978)" (#62234)
This reverts commit c46aa360b0.
2020-07-24 16:31:42 -07:00
Alexandre Ardhuin c46aa360b0
bump nullsafety deps (#61978) 2020-07-24 16:17:08 -07:00
Ming Lyu (CareF) 056e455e94
Add a E2E based performance test case (#61509) 2020-07-23 08:31:04 -07:00
Chris Yang c5a69b9b8a
Reland "Branch out android platform view perf testing #60238" 2nd time (#61748) 2020-07-22 18:36:11 -07:00
Yazeed Al-Khalaf d41b1fbb50
✒ Spell Check All .md Files Related to Flutter 💙 (#61564)
* 🐛 Fix Spelling Issues in Main README.md

* 🐛 Fix spelling issues in dev README.md

* 🐛 Fix spelling issues in complex_layout README.md

* 🐛 Fix spelling issues in macrobenchmarks README.md

* 🐛 Fix spelling issues in platform_views_layout README.md

* 🐛 Fix spelling issues in test_Apps/stocks README.md

* 🐛 Fix spelling issues in bots README.md

* ✒ Spell Check dev/ci README.md

* ✒ Spell Check dev/ci/docker_linux README.md

* ✒ Spell Check dev/devicelab README.md

* ✒ Spell Check dev/docs README.md

* ✒ Spell Check dev/snippets README.md

* ✒ Spell Check dev/snippets/config/templates README.md

* ✒ Spell Check dev/tools/gen_keycodes README.md

* ✒ Spell Check dev/tools/vitool README.md

* ✒ Spell Check examples/catalog README.md

* ✒ Spell Check examples/flutter_view README.md

* ✒ Spell Check examples/image_list README.md

* ✒ Spell Check examples/layers README.md

* ✒ Spell Check examples/platform_channel README.md

* ✒ Spell Check examples/platform_channel_swift README.md

* ✒ Spell Check examples/platform_view README.md

* ✒ Spell Check packages/_flutter_web_build_script README.md

* ✒ Spell Check packages/flutter_localizations README.md

* ✒ Spell Check packages/flutter_tools README.md

* ✒ Spell Check CODE_OF_CONDUCT.md

* ✒ Spell Check dev/integration_test/android_splash_screens/splash_Screen_load_rotate README.md

* ✒ Spell Check dev/integration_test/android_views README.md

* ✒ Spell Check dev/integration_tests/flutter_driver_screenshot_test README.md

* ✒ Spell Check dev/integration_tests/flutter_gallery README.md

* ✒ Spell Check dev/integration_tests/gradle_deprecated_settings README.md

* ✒ Spell Check dev/integration_tests/ios_add2app_life_cycle README.md

* ✒ Spell Check dev/integration_tests/ios_host_app README.md

* ✒ Spell Check dev/integration_tests/ios_platform_view_tests README.md

* ✒ Spell Check dev/automated_tests/flutter_test README.md

* ✒ Spell Check .github/PULL_REQUEST_TEMPLATE.md

* ✒ Spell Check .hithub/ISSUE_TEMPLATE/ACTIVATION.md

* ✒ Spell Check .github/ISSUE_TEMPLATE/BUG.md

* ✒ Spell Check .github/ISSUE_TEMPLATE/feature_request.md

* ✒ Spell Check .github/ISSUE_TEMPLATE/performance_others.md

* ✒ Spell Check .github/ISSUE_TEMPLATE/performance_speed.md

* ✒ Spell Check packages/flutter_tools/doc/daemon.md

* ✒ Spell Check packages/flutter_tools/fuchsia_enrtypoint_shim/README.md

* ✒ Minimize line to 80 columns

* ✒ Minimize line to 80 columns

* ✒ Fix Typo

* ✒ Chnaged numbers to 1 for testing purposes

* ✒ Changed numbers to 1 for testing purposes

*  Remove 'a' which is a typo

* ✒ Change a sentence to be better

* ✒ Remove 'a' which is a typo

* ✒ Fix small issue

* ✒ Fix small typo

* ✒ Fix some typos

*  Remove trailing space

*  Remove trailing space

* 🐛 Fix small typo

* ✒ Fix Typo

* 🐛 Fix small bug
2020-07-22 18:23:47 -07:00
Ben Konyi adc9dde3ba
Revert "Reland "Add support for Dart Development Service (DDS) in Flutter Tools (#61276)" (#61975)" (#61993)
This reverts commit f7a1c87ffd.
2020-07-21 16:17:23 -07:00
Ben Konyi f7a1c87ffd
Reland "Add support for Dart Development Service (DDS) in Flutter Tools (#61276)" (#61975)
This reverts commit 4867f5931f.
2020-07-21 15:44:38 -07:00
Ben Konyi 4867f5931f
Revert "Reland "Add support for Dart Development Service (DDS) in Flutter Tools (#61276)" (#61882)" (#61909)
This reverts commit 895b7ef6fa.
2020-07-20 16:41:01 -07:00
Ben Konyi 895b7ef6fa
Reland "Add support for Dart Development Service (DDS) in Flutter Tools (#61276)" (#61882)
This reverts commit 38fe887342.
2020-07-20 16:01:58 -07:00
Ming Lyu (CareF) 54c9441723
benchmarkLive: a new LiveTestWidgetsFlutterBindingFramePolicy for benchmark on device (#61388)
* add benchmarkLive flag and tests

* update handlePointerEventRecord doc

* using e2e 0.6.1
2020-07-17 18:56:12 -04:00
Ming Lyu (CareF) 7bef51acc9
cleanup macrobenchmark duplicate files (#61621)
* cleanup macrobenchmark duplicate files
2020-07-17 14:34:33 -04:00
Christopher Fujino df542b6831
update packages and update template (#61678) 2020-07-16 18:32:46 -07:00
Ming Lyu (CareF) 8badf93609
Revert "update packages (#61647)" (#61674)
This reverts commit b7b60a2d2c.
2020-07-16 20:13:18 -04:00
Ming Lyu (CareF) b7b60a2d2c
update packages (#61647) 2020-07-16 18:55:42 -04:00
Chris Yang 6a525b9aa5
Revert "Reland "Branch out android platform view perf testing (#60238)" (#61554)" (#61642) 2020-07-16 13:14:52 -07:00
Ben Konyi 38fe887342
Revert "Reland "Add support for Dart Development Service (DDS) in Flutter Tools (#61276)" (#61633)" (#61641)
This reverts commit 594c3541aa.
2020-07-16 11:43:54 -07:00
Ben Konyi 594c3541aa
Reland "Add support for Dart Development Service (DDS) in Flutter Tools (#61276)" (#61633)
This reverts commit a1a5a8f635.
2020-07-16 11:38:17 -07:00
Chris Yang 63ceeb8f15
Reland "Branch out android platform view perf testing (#60238)" (#61554) 2020-07-16 11:23:52 -07:00
Chris Yang 77efc00af0
Revert "Branch out android platform view perf testing (#60238)" (#61482)
This reverts commit 9f4499f431.
2020-07-14 15:10:21 -07:00
Chris Yang 9f4499f431
Branch out android platform view perf testing (#60238) 2020-07-14 13:07:41 -07:00
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
Maurice Parrish dcbc694b58
Have AndroidViewController extend PlatformViewController and add support for hybrid platform views (#60320) 2020-07-05 11:43:02 -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
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