Jenn Magder
1f19fd7108
Take screenshot when startup perf test fails to run ( #79514 )
2021-03-31 21:32:49 -07:00
Jonah Williams
4d54b8966a
roll gallery version to fix build ( #79456 )
2021-03-31 08:14:38 -07:00
Jia Hao
8158b478d7
Add tests for integration tests to devicelab ( #79258 )
2021-03-30 22:29:03 -07:00
Jenn Magder
12880f7751
Point gallery test data to FLUTTER_TEST_OUTPUTS_DIR ( #79332 )
2021-03-29 21:39:03 -07:00
Kaushik Iska
e6920662ad
Add a test to exercise multiple async microtasks in frame workload ( #79163 )
2021-03-29 20:49:05 -07:00
Dan Field
374993ce88
fix tree ( #79329 )
2021-03-29 18:52:36 -07:00
Dan Field
750fd1d536
Avoid hard coding "build" for test output files ( #79322 )
2021-03-29 17:36:34 -07:00
Zachary Anderson
5efc7169eb
Reverts "Implement dartPluginClass support for plugins #74469 " ( #78623 )
...
* Revert "Enable dart_plugin_registry_test (#76645 )"
This reverts commit 109e0bb9f5
.
* Revert "Apply changes caused by https://github.com/flutter/flutter/pull/76662 (#77093 )"
This reverts commit cdca6485f0
.
* Revert "Disable clang format in the plugin registrants (#76662 )"
This reverts commit dadbd47d09
.
* Revert "Disable warnings for the dart plugin registrant (#76561 )"
This reverts commit 098ece522d
.
* Revert "Remove dart_plugin_registry_test timeouts (#76838 )"
This reverts commit 1610a27476
.
* Revert "Implement dartPluginClass support for plugins (#74469 )"
This reverts commit b7d4806243
.
Kick.
2021-03-23 14:28:11 -07:00
Jenn Magder
3463946448
Take screenshot when drive fails ( #78822 )
2021-03-22 19:06:28 -07:00
Jonah Williams
4851bd51f9
[devicelab] remove vm_service_client from devicelab ( #78559 )
2021-03-18 11:51:07 -07:00
Casey Hillers
c30fdfbe82
Revert "[devicelab] Migrate Gallery to BuildTestTask ( #77956 )" ( #78355 )
...
This reverts commit 93fb258602
.
2021-03-16 12:20:36 -07:00
Casey Hillers
93fb258602
[devicelab] Migrate Gallery to BuildTestTask ( #77956 )
2021-03-16 11:58:03 -07:00
omerlevran46
c94648f9cc
[fuchsia] remove no devices found from ffx parsing ( #77651 )
2021-03-15 10:58:05 -07:00
Zachary Anderson
9167083d09
Explain why devtools in pinned ( #77657 )
2021-03-09 08:34:03 -08:00
Jenn Magder
85e2c52b39
Increase activated devtools version to 2.0 ( #77637 )
2021-03-08 13:17:21 -08:00
Michael Goderbauer
cb867bbedc
Enable unnecessary_await_in_return lint ( #77434 )
2021-03-05 18:38:15 -08:00
Jenn Magder
e9e8ca7640
Add debug_second_compile_millis benchmark metric ( #77420 )
2021-03-05 15:33:28 -08:00
Jenn Magder
7e02cc34f9
Bitcode strip Flutter.framework in assemble build target ( #77329 )
2021-03-05 10:38:57 -08:00
Casey Hillers
b0afe3464e
Create BuildTestTask ( #77307 )
2021-03-04 18:49:03 -08:00
Casey Hillers
c8c681f68e
[devicelab] Create test command to pass task args ( #77110 )
2021-03-04 11:59:02 -08:00
Michael Goderbauer
7b251f5f37
Enable use_function_type_syntax_for_parameters lint ( #77163 )
2021-03-04 08:59:17 -08:00
Casey Hillers
7ed797b053
Revert "[devicelab] Separate build and test from Flutter gallery tests ( #76415 )" ( #77086 )
...
This reverts commit 297c7b5cf2
.
2021-03-02 12:17:18 -08:00
Casey Hillers
297c7b5cf2
[devicelab] Separate build and test from Flutter gallery tests ( #76415 )
2021-03-02 11:49:02 -08:00
Michael Goderbauer
fc99e7c0d7
Enable missing_whitespace_between_adjacent_strings ( #77027 )
2021-03-01 18:30:17 -08:00
omerlevran46
f996033fcc
[fuchsia] - migrate devicer discovery workflows to use ffx ( #76241 )
2021-03-01 13:16:13 -08:00
Jenn Magder
1610a27476
Remove dart_plugin_registry_test timeouts ( #76838 )
2021-02-25 20:26:02 -08:00
Casey Hillers
5cac7c3b15
Add expectation test for upload metrics ( #76642 )
2021-02-23 16:11:03 -08:00
Jason Simmons
de35aef679
Check for a closed output stream in the devicelab ADB log reader ( #76633 )
2021-02-23 16:01:04 -08:00
Jenn Magder
d69e2f10d8
Remove unused android_splash_screens integration test ( #76429 )
2021-02-22 14:46:04 -08:00
Jenn Magder
7cd99db0e4
Remove unused image_loading integration test ( #76430 )
2021-02-22 10:51:53 -08:00
Jason Simmons
5c004eaf65
Roll Gallery (required by the latest engine update and Dart SDK) ( #76409 )
2021-02-19 14:45:54 -08:00
George Wright
3f4544611c
Revert "Reland "Roll Engine from 6993cb229b99 to c217d9d06e4f (60 revisions) ( #76352 )" ( #76394 )" ( #76403 )
...
This reverts commit 562f53bf52
.
2021-02-19 12:39:59 -08:00
Jason Simmons
562f53bf52
Reland "Roll Engine from 6993cb229b99 to c217d9d06e4f (60 revisions) ( #76352 )" ( #76394 )
...
This reverts commit c310717af2
.
Also update Gallery to a version that is compatible with this roll.
2021-02-19 11:32:59 -08:00
Emmanuel Garcia
b7d4806243
Implement dartPluginClass support for plugins ( #74469 )
2021-02-19 09:22:45 -08:00
chunhtai
815976a8e4
change stack size test to test arm device ( #75814 )
2021-02-17 12:46:03 -08:00
Jenn Magder
d35058f5b8
Do not fail if 9xth_percentile_memory_usage is not recorded ( #76153 )
2021-02-16 15:56:02 -08:00
godofredoc
4597b51cbc
Fix problem causing tasks to timeout. ( #76028 )
...
This is because the command was actually collecting logs continuously
from the device. Additionally idevicesyslog does not have a reboot
option.
Bug: https://github.com/flutter/flutter/issues/76027
2021-02-14 17:28:27 -08:00
godofredoc
a0e8681452
Add flutter update packages to some tests. ( #75530 )
...
* Add flutter update packages to some tests.
Analyzer_benchmark and flutter_test_performance require to pub get
multiple directories. Rather than delegating the recipes to run flutter
update-packages we explicitly running on tests that need it.
Bug: https://github.com/flutter/flutter/issues/75524
* Add pub get directly on the analyis classes.
* Run flutter get in dev/tools.
* Fix directory path.
* Add more dependency directories.
* Fix typo.
* Add more dependencies.
* Add stocks dependency.
* Fix paths to some apps.
* Add more dependencies.
* Complete dependencies definition.
* More analysis dependencies.
* Add examples dependencies.
* Dev tool dependencies.
* Use update-packages for analyzer benchmark.
2021-02-11 15:30:55 -08:00
Yegor
e7953b3be4
[web] new service worker loading mechanism ( #75535 )
2021-02-11 09:16:21 -08:00
chunhtai
713fa8e360
Reland "add a benchmark test for stack size ( #75039 )" ( #75434 )
...
* Reland "add a benchmark test for stack size (#75039 )"
This reverts commit de683de9d5
.
* fix typo
2021-02-04 12:16:31 -08:00
Shi-Hao Hong
de683de9d5
Revert "add a benchmark test for stack size ( #75039 )" ( #75383 )
...
This reverts commit 9d9109aa6f
.
2021-02-04 10:26:04 +08:00
chunhtai
9d9109aa6f
add a benchmark test for stack size ( #75039 )
2021-02-03 15:16:03 -08:00
Jenn Magder
f4f33fd108
Dump logs on failing devicelab test to recipe artifact location ( #74378 )
2021-02-01 15:00:38 -08:00
Jenn Magder
91aad2bb06
Avoid iOS local networking dialog in integration tests ( #75163 )
2021-02-01 13:33:25 -08:00
Nate Bosch
dcc4fdd558
Pass only Uri to package:http APIs ( #74285 )
2021-01-20 09:59:03 -08:00
Jonah Williams
7ee910b0a8
[flutter_tools] ensure --dart-define can parse args with commas ( #73798 )
2021-01-15 13:51:32 -08:00
Yuqian Li
c4114a7527
Remove more flaky non-e2e tests ( #74062 )
...
Fixes https://github.com/flutter/flutter/issues/73873
2021-01-15 13:22:26 -08:00
Emmanuel Garcia
da90156f8c
Fix plugin java class desugar ( #73758 )
2021-01-13 14:09:04 -08:00
LongCatIsLooong
cbe72db135
macrobenchmark: TextField with complex paragraph ( #73374 )
2021-01-12 15:44:01 -08:00
Jenn Magder
66145fe652
Force plugins to inherit minimum macOS version from Flutter app ( #72764 )
2021-01-11 11:16:12 -08:00
Jenn Magder
062022b950
Move ios_content_validation_test to pre-submit tools test ( #73577 )
2021-01-11 10:29:06 -08:00
Yegor
1f8501f0a4
web benchmark choose renderer explicitly ( #73582 )
2021-01-08 12:04:03 -08:00
jensjoha
5bc725bea8
[dev] Don't use await for on stdout and stdin; pass local engine argument ( #72136 )
...
* [dev] Don't use await for on stdout and stdin; pass local engine argument
1) Don't use await for on stdout followd by await for on stderr.
This can cause nothing to happen. E.g. if one didn't do something
like `flutter pub upgrade` dev/automated_tests and the version in the
old one was pre-nnbd (but flutter itself use lots of nnbd stuff) lots
of errors would be emitted, but because we basically only listen to
stdout nothing will happen (deadlock once stderr buffer runs out).
Note that it still awaits the exit-code below.
2) Pass --local-engine (if given) so there won't be any crashes because
of that.
2021-01-08 08:12:36 +01:00
Jenn Magder
3082a2806e
build ios-framework simulator slices for profile/release ( #73378 )
2021-01-06 12:12:23 -08:00
nturgut
272b23cabd
[web] make sure tests and benchmarks use correct backend - add autodetect false ( #73047 )
...
* add autodetect false
* fix typo
2020-12-28 10:55:53 -08:00
Casey Hillers
849784e262
[devicelab] Add results path flag to test runner ( #72765 )
2020-12-22 16:45:38 -08:00
nturgut
14206399c3
make sure tests and becnhmarks use correct backend ( #72628 )
2020-12-21 09:55:23 -08:00
xster
ca82c572b7
Revert "let NOTICES be double gzip wrapped to reduce on-disk installed space ( #71899 )" ( #72438 )
2020-12-16 10:58:19 -08:00
xster
4ed3432e8f
let NOTICES be double gzip wrapped to reduce on-disk installed space ( #71899 )
2020-12-15 13:29:14 -08:00
Michael Goderbauer
78cbfbff42
Revert "Migrate devicelab to package:vm_service ( #71882 )" ( #72092 )
...
This reverts commit 9d1d0cfeb5
.
2020-12-10 12:56:02 -08:00
Dan Field
9d1d0cfeb5
Migrate devicelab to package:vm_service ( #71882 )
2020-12-10 12:43:04 -08:00
Casey Hillers
2565062df3
git branch flag ( #71886 )
2020-12-08 15:53:05 -08:00
Emmanuel Garcia
d35dd9f8a6
Allow flavors and build types when using plugins ( #71738 )
2020-12-07 09:23:04 -08:00
Jenn Magder
d4150d3f6d
Adopt Flutter.xcframework in tool ( #71495 )
2020-12-04 13:57:11 -08:00
Yegor
7efd7afdf8
Handle the glibc bug that Chrome occasionally hits ( #71705 )
2020-12-04 12:21:37 -08:00
Kate Lovett
1c244da28d
Add verbose flag to hot mode tests ( #71610 )
2020-12-02 16:47:35 -06:00
Jonah Williams
1e0628001e
[devicelab] dont use set modified for hot reload bench ( #70965 )
2020-11-20 13:02:28 -08:00
Jonah Williams
9424474793
[devicelab] update hot reload benchmark to be more representative ( #70643 )
...
update hot reload benchmark to be more representative
2020-11-18 14:54:01 -08:00
Jim Graham
61460d255a
preserve detailFiles entry in TaskResult JSON ( #70668 )
...
* preserve detailFiles entry in TaskResult JSON
2020-11-17 16:05:54 -08:00
Casey Hillers
a228a17c57
[devicelab] LUCI builder flag ( #70702 )
2020-11-17 11:28:03 -08:00
Yuqian Li
f7811ea541
e2e perf tests don't have CPU/GPU/memory metrics ( #70439 )
...
Address comment in https://github.com/flutter/flutter/pull/66386/files#r522671103
2020-11-13 11:16:50 -08:00
Emmanuel Garcia
b18e2a1cc4
Bump Gallery version ( #70130 )
2020-11-09 13:05:56 -08:00
Jonah Williams
c985fd35cd
[devicelab] re-land cocoon auto-restart ( #69710 )
...
Due to #69707 the SkSL tests need the process killing logic still.
2020-11-03 13:20:40 -08:00
Jonah Williams
ea3551b058
Revert "[devicelab] reboot attached devices after 30 test runs ( #69447 )" ( #69703 )
...
This reverts commit 406ca0bc59
.
2020-11-03 11:13:19 -08:00
Yegor
9e5d22d101
Say [APP] instead of [Gallery] in web benchmarks ( #69624 )
2020-11-03 10:13:07 -08:00
Jonah Williams
406ca0bc59
[devicelab] reboot attached devices after 30 test runs ( #69447 )
2020-11-03 10:10:55 -08:00
Greg Spencer
c0ef94780c
Fix spelling errors ( #69451 )
...
My yearly pass to fix spelling errors in the API dartdocs.
2020-10-31 03:12:27 -07:00
Jenn Magder
bb495ba90c
Do not fail if average_memory_usage is not recorded ( #69339 )
2020-10-29 16:09:50 -07:00
Jonah Williams
31c96b5d83
[devicelab] do not fail test if CPU measurement is not recorded ( #69268 )
2020-10-29 09:32:34 -07:00
Jonah Williams
18341efa2f
[devicelab] retry startup of start up test ( #69272 )
2020-10-29 09:19:07 -07:00
Jonah Williams
83d4351e0c
[devicelab] work around occasional null values for devtools ( #69273 )
...
* [devicelab] work around occasional null values for devtools
* Update perf_tests.dart
2020-10-29 09:18:38 -07:00
Jenn Magder
13896b3bd1
Decrease device discovery timeout from 10 to 5 seconds ( #69266 )
2020-10-28 19:43:19 -07:00
Jenn Magder
135aab9cf5
Increase device run perf test timeout ( #69260 )
2020-10-28 18:29:04 -07:00
Jonah Williams
2c12a8d917
[devicelab] remove twc enabled test and uncaught image test ( #68518 )
2020-10-24 13:19:51 -07:00
Casey Hillers
ce3ce20b14
[devicelab] Upload git branch ( #68541 )
2020-10-23 08:02:02 -07:00
Jonah Williams
37042fdb08
[flutter_tools] remove iOS screenshot on failure functionality ( #68650 )
...
* [flutter_tools] remove iOS screenshot on failure functionality
* remove all screenshot code
2020-10-22 13:34:07 -07:00
Jonah Williams
ab20ae782a
[devicelab] uinstall during memory test ( #68548 )
2020-10-20 09:49:50 -07:00
Jonah Williams
938fae9c99
remove --machine flag ( #68538 )
2020-10-19 17:06:28 -07:00
Jonah Williams
a152c0f429
[devicelab] reland: reduce iterations of startup test, use application binary ( #68532 )
...
These devicelab tests are incredibly flaky. Currently they will build & install the same application 15 times. This causes the temp storage to fill up on android, and has a good chance of flaking on iOS due to install issues.
The change from 3 to 15 increased total test time for 2 -> 12 minutes on iOS, or roughly 5 more test equivalents for every single iOS test. Reduce the iteration count back to 5
Uninstall the app after each run so temp storage does not fill up.
2020-10-19 16:51:28 -07:00
Jonah Williams
4a3e2a1af5
Revert "[devicelab] reduce iterations, uninstall at end, and use --application-binary in all startup tests ( #68516 )" ( #68531 )
...
This reverts commit a4c2075a45
.
2020-10-19 15:05:46 -07:00
Jonah Williams
8262f808ba
Revert "[devicelab] fix flutter gallery app name ( #68528 )" ( #68530 )
...
This reverts commit 0f69f8e53b
.
2020-10-19 15:05:10 -07:00
Jonah Williams
0f69f8e53b
[devicelab] fix flutter gallery app name ( #68528 )
2020-10-19 14:48:05 -07:00
Jonah Williams
a4c2075a45
[devicelab] reduce iterations, uninstall at end, and use --application-binary in all startup tests ( #68516 )
...
These devicelab tests are incredibly flaky. Currently they will build & install the same application 15 times. This causes the temp storage to fill up on android, and has a good chance of flaking on iOS due to install issues.
The change from 3 to 15 increased total test time for 2 -> 12 minutes on iOS, or roughly 5 more test equivalents for every single iOS test. Reduce the iteration count back to 5
Uninstall the app after each run so temp storage does not fill up.
2020-10-19 14:16:04 -07:00
Casey Hillers
1c35091a13
[devicelab] Cocoon client ( #68333 )
2020-10-19 13:12:04 -07:00
Jonah Williams
e8dc7a2e17
[devicelab] update hostonly tests to use flutter directly or precache deps ( #68487 )
...
Fixes #67370
By running most of these executions through flutter, we get the benefit of the flutter error handling and precaching. IN the test where this is not feasible, call pre-cache directly.
2020-10-19 13:01:50 -07:00
Jonah Williams
03db9bf918
[devicelab] migrate defines test to DriverTest ( #68407 )
...
Removes one-off handling for defines test and forces it to run through the DriverTest interface
2020-10-19 12:28:43 -07:00
Jonah Williams
223df0c351
[devicelab] split end to end tests into driver targets ( #68410 )
...
Split the integration_ui target into individual driver tests. Remove disabled screenshot tests
2020-10-19 12:28:13 -07:00
Jonah Williams
e422d5c724
[flutter_tools] reland: --no-android-gradle-daemon in devicelab ( #68491 )
...
Remove devicelab specific code for shutting down gradle daemon, add --android-gradle-daemon option to build/run/drive`. Avoids need for un-tested devicelab specific handler. There are also some feature requests for this, so 2 birds one stone.
Example:
flutter build apk --no-android-gradle-daemon will pass --no-daemon on to gradle
2020-10-19 10:27:58 -07:00
Jonah Williams
ed5482de19
Revert "[flutter_tools] add --android-gradle-daemon option, use in devicelab ( #68409 )" ( #68489 )
...
This reverts commit ddab72e79f
.
2020-10-19 09:33:52 -07:00
Jonah Williams
ddab72e79f
[flutter_tools] add --android-gradle-daemon option, use in devicelab ( #68409 )
...
Remove devicelab specific code for shutting down gradle daemon, add --android-gradle-daemon option to build/run/drive`. Avoids need for un-tested devicelab specific handler. There are also some feature requests for this, so 2 birds one stone.
Example:
flutter build apk --no-android-gradle-daemon will pass --no-daemon on to gradle
2020-10-19 09:12:21 -07:00
Alexandre Ardhuin
c0176c9ee5
use_is_even_rather_than_modulo ( #68301 )
2020-10-16 20:20:00 +02:00
Jonah Williams
35c364053b
Fix screenshotting code ( #68261 )
2020-10-15 19:03:28 -07:00
Jonah Williams
d7f80fcdd3
[flutter_tools] configure screenshot on failure for all tasks ( #68260 )
2020-10-15 18:53:00 -07:00
Jonah Williams
ef205f7ebf
[devicelab] mark catalina not flaky and list iproxy processes before tet ( #68239 )
2020-10-15 14:21:40 -07:00
Dan Field
12f54e17f4
reland List queue search optimization ( #68214 )
...
* Revert "Revert "Improve performance of collectAllElements (#68065 )" (#68207 )"
This reverts commit 46ff57d6f1
.
* use fewer elements for benchmark
2020-10-15 13:46:50 -07:00
Jonah Williams
0f88644883
[devicelab] allow the devicelab to take a screenshot if the iOS connection fails with FLUTTER_IOS_SCREENSHOT_ON_CONNECTION_FAILURE ( #68156 )
...
More attempts to remote diagnose the issues in the iOS devicelab
2020-10-15 13:13:28 -07:00
Jenn Magder
25857ce513
Use --device-timeout instead of deprecated --timeout in devicelab ( #68230 )
2020-10-15 12:45:59 -07:00
Jonah Williams
f5608f2b33
[devicelab] track any leaked processes ( #68218 )
2020-10-15 10:54:31 -07:00
Jonah Williams
2321b72dfb
[flutter_tools] move gradle download failure handling into tool ( #68140 )
...
This crash affects anyone using flutter, so move it into the tool where it can be tested and documented. Ensure it works on windows devicelab too.
2020-10-15 09:20:52 -07:00
Jonah Williams
46ff57d6f1
Revert "Improve performance of collectAllElements ( #68065 )" ( #68207 )
...
This reverts commit 8ba5732c4c
.
2020-10-15 08:04:59 -07:00
Dan Field
8ba5732c4c
Improve performance of collectAllElements ( #68065 )
2020-10-14 21:32:04 -07:00
Jonah Williams
33903c17e1
[devicelab] delete disabled or not useful benchmarks ( #68107 )
...
- run_without_leak_tests: have been disabled for months
- build_benchmark: the tooling work here is mostly done and we're not tracking further improvements, free up more devicelab capacity
- system_debug_ios: does not work post iOS13
- mac_enable_twc: not adding more mac tests to devicelab
- hello_world_start_up: disabled
Any tests that we think will be valuable in the future can be resurrected from the git history.
2020-10-14 10:30:10 -07:00
Jonah Williams
751459df24
[flutter_tool] support --use-application-binary in flutter drive ( #68060 )
...
--use-application-binary allows running with an already built APK. This can be useful for speeding up CI test cases, or in our case eventually supporting some sort of build server. Demonstrate that this works by updating the old gallery test to use it. Fixes #56604
Co-authored-by: Jenn Magder <magder@google.com>
2020-10-13 19:27:30 -07:00
Jonah Williams
eb24393efe
remove missing argument ( #67974 )
2020-10-12 17:18:09 -07:00
Jonah Williams
5dfe7e6d51
[flutter_tools] attempt to stabilize hot restart benchmark the old fashioned way ( #67971 )
...
A change which sped up hot restart locally caused many of the devicelab measures to regress. I think this is because we do not measure when the isolate is actually "ready", so starting a reload or restart prematurely can cause time spent doing initialization to be registered as part of the reload operation.
A fix for this would be to have the framework include some sort of "initialization complete" event ... but it is not clear what the correct trigger would be. Perhaps after the first frame is successfully registered?
(9a3a0dc
caused the benchmark regression - possibly since we spend less time syncing files now so we start the restart earlier)
2020-10-12 17:00:26 -07:00
Yuqian Li
98d1ad0195
Purge persistent cache for perf test runs ( #67697 )
2020-10-08 19:17:02 -07:00
Yuqian Li
684449a841
Remove measureIosCpuGpu ( #67363 )
2020-10-08 12:02:03 -07:00
Casey Hillers
9e206a0c93
Refactor devicelab logic to use TaskResult instead of JSON ( #67550 )
2020-10-07 16:37:09 -07:00
Jenn Magder
e5131fa31b
Increase device discovery timeout in devicelab health check ( #67337 )
2020-10-06 12:23:02 -07:00
Ming Lyu (CareF)
76c0d69b14
migrate textfield_perf to e2e ( #64503 )
2020-10-02 14:47:03 -07:00
Yuqian Li
e45157fc08
5x startup test repitition to reduce noise ( #67147 )
2020-10-02 12:22:05 -07:00
Ming Lyu (CareF)
db2532a949
migrate color_filter_and_fade_perf ( #64484 )
2020-10-01 17:32:02 -07:00
Yuqian Li
b92d250116
Let perf tests measure memory by default ( #66570 )
...
Fixes https://github.com/flutter/flutter/issues/66569
2020-10-01 15:20:17 -07:00
Chris Yang
2d26bafec2
remove --trace-startup ( #66568 )
2020-09-29 17:22:04 -07:00
Yuqian Li
4728892753
Roll gallery to the newest version ( #66693 )
...
The previously broken test should be fixed by
https://github.com/flutter/gallery/pull/331
2020-09-28 22:45:54 -07:00
Yuqian Li
54ac7bc936
Reland "Default measureCpuGpu to true ( #66386 )" ( #66604 )
...
This reverts commit 2d9e500523
.
In addition, this fixes broken Android tests of the original PR.
2020-09-28 10:26:35 -07:00
Jenn Magder
65159afb55
Force plugins to inherit minimum iOS version from Flutter app ( #66590 )
2020-09-28 10:14:47 -07:00
Yuqian Li
3e8fb33c08
Revert "Roll gallery to the newest version ( #66584 )" ( #66666 )
...
This reverts commit 2ae09caace
.
2020-09-25 12:18:28 -07:00
Yuqian Li
2ae09caace
Roll gallery to the newest version ( #66584 )
...
This shouldn't break our tests as
https://github.com/flutter/gallery/issues/275 is closed.
2020-09-25 11:05:33 -07:00
Jenn Magder
a6a8a14d02
Do not cleanup Gradle in non-Android integration tests ( #66487 )
2020-09-24 18:34:07 -07:00
Yuqian Li
2d9e500523
Revert "Default measureCpuGpu to true ( #66386 )" ( #66594 )
...
This reverts commit 48ce83a833
.
2020-09-24 15:17:57 -07:00
Yuqian Li
48ce83a833
Default measureCpuGpu to true ( #66386 )
2020-09-24 13:42:03 -07:00
godofredoc
57cda51f7e
Fix gradle_plugin_light_apk test. ( #66496 )
2020-09-23 16:52:02 -07:00
Ming Lyu (CareF)
f681fcf32b
migrate backdrop_filter_perf ( #64482 )
2020-09-22 19:52:02 -07:00
Michael R Fairhurst
7f3c9b6bda
Remove unused 'dart:async' imports. ( #65568 )
2020-09-16 14:14:06 -07:00
Ming Lyu (CareF)
b3f19a3e1a
migrate animated_placeholder_perf ( #64478 )
2020-09-16 07:47:03 -07:00
Yuqian Li
b8a39c15f8
Collect memory metrics ( #65798 )
2020-09-15 12:47:05 -07:00
Jonah Williams
4e20f00053
[ci] remove create offline tests ( #65791 )
...
Currently these tests are taking CI time without providing any value, because there is no verification that network connectivity is avoided. This is better covered by a unit test that verifies that --offline is passed to pub.
2020-09-14 17:54:59 -07:00
Ming Lyu (CareF)
51f1c98490
migrate cubic_bezier_perf to e2e ( #64487 )
2020-09-11 20:02:03 -07:00
Yuqian Li
e1eddb401d
Revert the revert ( #65602 )
2020-09-11 16:20:03 -07:00
xster
65ae30c8cc
Update create templates to 1.0.0 ( #65234 )
2020-09-10 12:57:56 -07:00
Tong Wu
abeaf11829
[devicelab] Remove ~/.gradle after each devicelab task run ( #65434 )
2020-09-09 01:50:03 -07:00
Jenn Magder
ace54425e0
Add observatory Bonjour service to built iOS Info.plist bundle ( #65138 )
2020-09-02 18:47:56 -07:00
Jenn Magder
259deec221
Revert "Add observatory Bonjour service to built iOS Info.plist bundle ( #65138 )" ( #65141 )
...
This reverts commit 5e0aa8b9fc
.
2020-09-02 18:31:45 -07:00
Jenn Magder
5e0aa8b9fc
Add observatory Bonjour service to built iOS Info.plist bundle ( #65138 )
2020-09-02 17:57:43 -07:00
gaaclarke
37de94d7d2
devicelab: started averaging startup time for ios test ( #64978 )
2020-09-02 16:35:03 -07:00
Jenn Magder
cb819504f3
Revert "Add observatory Bonjour service to built iOS Info.plist bundle ( #64988 )" ( #65109 )
...
This reverts commit 4fde217dea
.
2020-09-02 12:31:17 -07:00
Christopher Fujino
237c0ab424
Delete catalog generator android/ios tests ( #64977 )
2020-09-02 11:25:04 -07:00
Jenn Magder
4fde217dea
Add observatory Bonjour service to built iOS Info.plist bundle ( #64988 )
2020-09-02 11:11:07 -07:00
Ming Lyu (CareF)
28de49e358
Revert "Reland #61998 and update complex_layout ios files ( #64885 )" ( #64990 )
...
This reverts commit df83398687
.
2020-08-31 18:47:08 -07:00
Ming Lyu (CareF)
df83398687
Reland #61998 and update complex_layout ios files ( #64885 )
2020-08-31 17:23:06 -07:00
Dan Field
b5ed913ecc
Memory/cpu/gpu benchmark for showing large images in succession ( #64762 )
2020-08-31 10:03:57 -07:00
Shi-Hao Hong
34541c3073
Revert "A benchmark test case for measuring scroll smoothness ( #61998 )" ( #64883 )
...
This reverts commit 12b7355da1
.
2020-08-30 18:42:10 +08:00
Ming Lyu (CareF)
12b7355da1
A benchmark test case for measuring scroll smoothness ( #61998 )
2020-08-29 04:28:03 -07:00
Zachary Anderson
6f02c0b231
Revert "Roll new gallery to help flaky Crane test ( #64676 )" ( #64824 )
...
This reverts commit e825281745
.
2020-08-28 13:54:51 -07:00
Yuqian Li
e825281745
Roll new gallery to help flaky Crane test ( #64676 )
2020-08-28 10:48:03 -07:00
Ming Lyu (CareF)
d30e36ba8c
migrate flutter_gallery_sksl_warmup__transition_perf to e2e ( #64275 )
2020-08-21 19:36:03 -07:00
Jim Graham
9e86e9fb1e
report list of detail files so devicelab can save them ( #64009 )
2020-08-20 10:58:25 -07:00
Yuqian Li
6eb45d35da
Rename needsMeasureCpuGpu to measureCpuGpu ( #64000 )
2020-08-19 13:26:07 -07:00
Remi Rousselet
2b25e29192
add benchmark for ChangeNotifier.notifyListeners ( #62715 )
2020-08-14 17:06:03 -07:00
Ming Lyu (CareF)
6f26e806ab
bug fix for flutter_gallery__transition_perf(_with_semantics) ( #63799 )
...
* report failure for semantics test
* bug fix
2020-08-14 19:37:08 -04:00
Ming Lyu (CareF)
360023e2bc
Clean up flutter_gallery__transition_perf ( #63609 )
2020-08-13 14:41:04 -07:00
Ming Lyu (CareF)
0629030a05
WidgetTester.drag with time duration ( #63410 )
2020-08-12 21:01:03 -07:00
Emmanuel Garcia
febcbcb885
Print dex when analyzing the APK ( #63538 )
2020-08-12 17:56:04 -07:00
Ming Lyu (CareF)
2384376f64
Migrate gallery/transitions_perf test to e2e ( #62064 )
2020-08-12 13:36:07 -07:00
Yuqian Li
2296bb154b
Measure CPU/GPU with the simple animation test ( #63124 )
2020-08-07 20:41:07 -07:00
Yuqian Li
6d487355a3
Remove cubic_bezier_perf.dart ( #63028 )
2020-08-05 20:21:02 -07:00
Tianguang
504963b4d1
Pin gallery version ( #62986 )
2020-08-05 15:11:18 -07:00
Ming Lyu (CareF)
1d329d2cc9
migrate macrobenchmark/multi_widget_construction test to e2e ( #62539 )
2020-08-04 18:56:03 -07:00
Yuqian Li
e6bc56f25a
Reland "Add Crane test to the new Gallery app ( #62162 )" ( #62544 )
2020-07-31 09:56:04 -07:00
Michael Goderbauer
e4b6754155
Bump new gallery version ( #62439 )
2020-07-28 15:25:03 -07:00
Jonah Williams
27e13dd53e
Revert "Add Crane test to the new Gallery app ( #62162 )" ( #62430 )
...
This reverts commit 1ffdfa81d6
.
2020-07-28 11:32:34 -07:00
Yuqian Li
1ffdfa81d6
Add Crane test to the new Gallery app ( #62162 )
2020-07-28 10:56:05 -07:00
Jenn Magder
e8e5de44ec
Parse .flutter-plugins-dependencies for add-to-app iOS modules ( #61269 )
2020-07-28 10:16:09 -07:00
Todd Volkert
901ccbe65b
Add timeout to the devicelab runner logs ( #62418 )
2020-07-28 09:40:11 -07:00
Will Larche
7782845edd
[Material] Updated icons and fonts ( #61778 )
2020-07-24 15:41:13 -07:00
Zachary Anderson
5e0ba2290f
Pass --disable-dart-dev in more places ( #62217 )
2020-07-24 13:37:08 -07:00
Jason Simmons
fc72a5f105
Disable DartDev when running device lab tests ( #62154 )
...
This is a workaround for https://github.com/flutter/flutter/issues/62139
so that the engine roll pipeline can proceed.
2020-07-23 14:17:27 -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
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
Emmanuel Garcia
293a2bf8e8
Android views using hybrid composition e2e driver test ( #61507 )
2020-07-16 16:19:49 -07:00
Chris Yang
6a525b9aa5
Revert "Reland "Branch out android platform view perf testing ( #60238 )" ( #61554 )" ( #61642 )
2020-07-16 13:14:52 -07:00
Chris Yang
63ceeb8f15
Reland "Branch out android platform view perf testing ( #60238 )" ( #61554 )
2020-07-16 11:23:52 -07:00
Sam Rawlins
54f99d642d
Remove unused optional parameters of private functions. ( #60446 )
2020-07-15 09:41:02 -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
Tong Wu
aa0125387c
[devicelab] This no-op change marks 3 tests to run on LUCI builders. ( #61257 )
2020-07-10 21:49:40 -07:00
Jenn Magder
1e510ff636
Turn on add-to-app iOS platform unit tests ( #61007 )
2020-07-09 15:52:49 -07:00
Pierre-Louis
49cf97c35b
Update new gallery HEAD commit ( #60504 )
...
The gallery repository history has been rewritten (see flutter/gallery#87 ), so updating to HEAD commit
2020-06-29 10:49:29 +02: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
Ming Lyu (CareF)
99f5eebc6b
Add --device-id option for devicelab/bin/run.dart ( #59276 )
...
* Implement device selection for devicelab/run.dart
* Add test to --device-id option for devicelab/run
* Update dev/devicelab/bin/run.dart by jonahwilliam
* Rename deviceOperatingSystem enum mock -> fake
Co-authored-by: Jonah Williams <jonahwilliams@google.com>
2020-06-26 09:29:46 -04:00
Tianguang
02f8e02880
Add Web Benchmarks for Flutter Gallery (Flutter Side) — 1/4 ( #57576 )
2020-06-24 10:28:03 -07:00
liyuqian
850ea6d29d
Add SkSL shader warm-up tests to Flutter gallery ( #59932 )
2020-06-23 17:48:02 -07:00
Chris Yang
2e63b7d4f8
Add --platforms
to flutter create -t plugin
command ( #59507 )
2020-06-23 17:38:03 -07:00
Christopher Fujino
ca32668b0b
port devicelab from idevice_id -> xcdevices ( #59907 )
2020-06-23 14:37:14 -07:00
Jenn Magder
6a2bc2617e
Replace ANDROID_HOME user messages with ANDROID_SDK_ROOT ( #59867 )
2020-06-22 18:43:04 -07:00
Chris Bracken
e0f60918d4
Roll the engine from 965fbbe to b5f5e63 ( #59804 )
...
This rolls the engine from:
965fbbed1776545ee681cb57f3fb1d0c2000bbcb to
b5f5e6332cb4987e9e38ffaa267733ec0a8705ba. A Dart SDK roll in this range
changed the format of the compileExpression RPC VMService endpoint,
necessitating a tool patch.
2020-06-18 16:12:54 -07:00
Jenn Magder
3744b82d8c
Support .flutter-plugins-dependencies ( #59209 )
2020-06-11 13:25:01 -07:00
Ming Lyu (CareF)
b5d0b9122f
Cleanup devicelab framework duplicate ( #59046 )
...
* combine forwardStandardStreams
* combine exec and eval
2020-06-10 19:30:12 -04:00
liyuqian
9dad2d98df
Perf test with SkSL warm-up ( #56638 )
2020-06-06 14:43:02 -07:00
Greg Spencer
ab68721a5d
Add Android device build/OS/API Level information to logs. ( #58747 )
...
This adds some information about the chosen device to the output log so that we can tell what type of device/OS Level/API Level the test is running on when doing a postmortem on a failed test.
2020-06-05 14:02:07 -07:00
liyuqian
08225fad28
Add iOS new gallery perf test ( #58648 )
2020-06-04 10:23:01 -07:00
Jim Graham
7261b98e81
Enabling the ImageFiltered(ImageFilter.matrix) page of macrobenchmark ( #58277 )
2020-05-30 18:53:01 -07:00
Jonah Williams
d9144bf8fc
[flutter_tools] rename output LICENSE file to NOTICES and support loading either ( #57871 )
...
Work towards #16723
This is only safe to land after #58131 lands in google3. Only build NOTICES in asset manfiest, and load either LICENSE or NOTICES from pubspec dependencies.
2020-05-29 11:55:02 -07:00
Jenn Magder
d9adfe3f7e
Allow FLUTTER_APPLICATION_PATH to be null for misconfigured Xcode projects ( #57701 )
2020-05-27 10:08:09 -07:00
liyuqian
721927efd3
Use pub inside the Flutter directory ( #57704 )
2020-05-21 17:52:02 -07:00
liyuqian
a635765116
Reland "Add DevTools memory test ( #55486 )" ( #57340 )
2020-05-19 18:02:03 -07:00
Jonah Williams
631087d83b
[flutter_tools] cache-bust in service worker ( #56786 )
2020-05-16 14:57:04 -07:00
Nate Bosch
59a8ef3a21
Remove direct uses of LocalPlatform ( #56605 )
...
When `const LocalPlatform` is used immediately and not passed as a
dependency it does not have utility over the static properties from
`dart:io`. Remove these uses to reduce the noise around how the
instantiable `Platform` class is used.
2020-05-11 12:59:29 -07:00
Jonah Williams
231a055069
[devicelab] fix web twc task missing display ( #56623 )
2020-05-08 09:50:46 -07:00
Jim Graham
3519bec6c4
Save results of A/B test runs in a JSON file for future processing ( #56416 )
2020-05-08 00:34:02 -07:00
liyuqian
a849daf283
Roll new gallery version in the perf test ( #56575 )
2020-05-07 18:59:02 -07:00
Jenn Magder
0a4f6cdef0
Add split-debug and obfuscation to build aar ( #56342 )
2020-05-07 18:14:02 -07:00
Zachary Anderson
19967e2463
Revert "Add DevTools memory test ( #55486 )" ( #56445 )
...
This reverts commit 9ee6763a66
.
2020-05-06 07:53:26 -07:00
liyuqian
9ee6763a66
Add DevTools memory test ( #55486 )
2020-05-05 15:12:01 -07:00
Jonah Williams
c6a83af54a
[devicelab] add verification print ( #56398 )
2020-05-05 13:33:16 -07:00
Jonah Williams
f04d61944a
[devicelab] enable macOS, windows, linux, and web on devicelab bots ( #56336 )
...
* enable macOS desktop
* enable all configs on CI
* Update track_widget_creation_enabled_task.dart
* Update framework.dart
* remove FLUTTER_WEB
* remove config environment variables
* configure in correct spot
2020-05-04 18:49:28 -07:00
Jenn Magder
c8c55b4098
Check Xcode build setting FULL_PRODUCT_NAME for bundle name ( #55799 )
2020-05-04 11:31:08 -07:00
Jonah Williams
6dc1e83f12
[flutter_tools] ensure track-widget-creation can be disabled on Android/macOS ( #56203 )
...
Ensure --no-track-widget-creation is piped through android/macOS. Adds integration testing for iOS/android/macOS
2020-05-04 11:22:15 -07:00
Emmanuel Garcia
9d106bdead
Read correct file for android view benchmark ( #55935 )
2020-04-28 23:09:50 -07:00
Emmanuel Garcia
b176042c1a
Add benchmark for hybrid composition on Android ( #55609 )
2020-04-28 19:24:15 -07:00
liyuqian
a091206ed1
Add performance tests for the new gallery ( #55181 )
2020-04-22 20:03:01 -07:00
Tianguang
fbf4fa0a05
Devicelab tests (Chrome run, Web compile) for New Flutter Gallery ( #53096 )
2020-04-21 11:48:03 -07:00
liyuqian
f57197ad23
Remove the unused getFlutter function ( #55225 )
2020-04-20 12:30:02 -07:00
Jim Graham
77ea2da746
benchmark animation performance of Opacity widget ( #54903 )
2020-04-17 18:34:10 -07:00
Yegor
20803507fd
print intermediate and raw A/B results when not silent ( #54676 )
...
* print intermediate A/B results when not silent
* print raw A/B results when in loud mode
* add tests; handle missing metrics more gracefully
* use less fancy section header on Windows
2020-04-16 14:36:42 -07:00
Jonah Williams
e092dcfa22
[flutter_tools] Reland: fix multiple dart defines ( #54973 )
2020-04-16 10:56:49 -07:00
Jonah Williams
11ab2fa35c
Revert "[flutter_tools] fix multiple defines in flutter tooling, web ( #54909 )" ( #54967 )
...
This reverts commit b8bd09db21
.
2020-04-16 08:33:16 -07:00
Jonah Williams
b8bd09db21
[flutter_tools] fix multiple defines in flutter tooling, web ( #54909 )
2020-04-15 22:25:32 -07:00
Jonah Williams
6cb74eeac8
fix apk location for devicelab ( #54697 )
2020-04-13 16:56:27 -07:00
Jonah Williams
e21266294f
Revert "Do not wait for connections after process has exited ( #54497 )" ( #54618 )
...
This reverts commit 283ec9e2a1
.
2020-04-13 11:04:31 -07:00
Kaushik Iska
7b9aeb2ff2
[flutter_driver] Reland add SceneDisplayLag stats to timeline summary ( #54490 )
2020-04-11 15:30:01 -07:00
Yegor
283ec9e2a1
Do not wait for connections after process has exited ( #54497 )
2020-04-10 16:54:10 -07:00
Yegor
d119e5f1e4
Add A/B test mode to local devicelab runner ( #54494 )
...
* Add A/B test mode to local devicelab runner
2020-04-10 16:53:52 -07:00
Kaushik Iska
50b4c39c5d
Revert "[flutter_driver] Add SceneDisplayLag stats to timeline summary ( #54218 )" ( #54480 )
...
This reverts commit ce92333bf7
.
2020-04-10 12:48:48 -07:00
Kaushik Iska
ce92333bf7
[flutter_driver] Add SceneDisplayLag stats to timeline summary ( #54218 )
2020-04-10 12:20:01 -07:00
Yegor
4e3cf198e8
disable tracing for non-frame based benchmarks ( #54236 )
2020-04-08 09:17:03 -07:00
Jonah Williams
981afe39ae
[flutter_tools] ensure build fails if asset files are missing ( #54233 )
...
Ensure build fails if asset files are missing and that stderr messages are forwarded through Gradle
2020-04-07 19:42:57 -07:00
Yegor
de27d7131c
disable the "gpu" tracing category ( #54122 )
2020-04-06 13:44:02 -07:00
Yegor
4b92c16755
Use "measured_frame" instead of "CrRendererMain" to detect process ID ( #53969 )
2020-04-03 16:51:44 -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
Emmanuel Garcia
e61ab4a832
Copy APK into a known location, so it can be easily discovered ( #53718 )
2020-04-01 10:03:56 -07:00
Kate Lovett
560c72287b
TODO Audits - 1 ( #53604 )
2020-03-31 11:21:01 -07:00
Mouad Debbar
45a8b3db81
complete text layout benchmark ( #53295 )
2020-03-27 14:56:02 -07:00
xster
1376746237
Reland #53153 to attach to existing modules and apps for Android ( #53289 )
2020-03-25 16:45:49 -07:00
Erik Ernst
d99ab6aa2c
Update utils.dart to work with the breaking change of SDK issue 40678 ( #53093 )
2020-03-24 14:21:01 -07:00
Chris Yang
b05210c707
Move ios screenshot test to flutter gold. ( #52553 )
2020-03-19 16:27:41 -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
Michael Thomsen
e167181444
Move flutter_gallery to the testing folder ( #52532 )
...
Move Flutter Gallery to dev/integration_tests/ as it is an older copy used only for testing. The current version of the Flutter Gallery now lives in https://github.com/flutter/gallery .
2020-03-16 10:31:42 +01:00
liyuqian
8bff33e497
Remove missed frame budget count ( #52560 )
2020-03-13 17:26:02 -07:00
liyuqian
c80d1e8266
Perf test for color filter with saveLayer ( #52063 )
2020-03-13 10:31:02 -07:00
Chris Yang
7fb7ea63b3
Reland "Add ios platform view integration test ( #51882 )" ( #52440 )
2020-03-11 16:32:47 -07:00
Mouad Debbar
5bb552270d
[web] Add benchmarks for text layout ( #51663 )
2020-03-10 18:46:03 -07:00
Chris Yang
fc5350ed04
Revert "Add ios platform view integration test ( #51882 )" ( #52373 )
...
This reverts commit 357fd2db38
.
2020-03-10 18:42:15 -07:00
Chris Yang
357fd2db38
Add ios platform view integration test ( #51882 )
2020-03-10 17:33:01 -07:00
Jonah Williams
4ce34f2516
[benchmarks] remove archived build aot benchmarks ( #52283 )
2020-03-09 20:15:59 -07:00
Jonah Williams
c1112d3f7e
[flutter_tools] Reland: Allow providing dart-defines to Android, iOS, macOS builds ( #52044 )
2020-03-06 14:53:36 -08:00
Jonah Williams
ee476a7bd1
Revert "[flutter_tools] Allow providing dart-defines to Android, iOS, macOS builds ( #51714 )" ( #52041 )
...
This reverts commit ee60eeea3e
.
2020-03-05 12:51:42 -08:00
Jonah Williams
ee60eeea3e
[flutter_tools] Allow providing dart-defines to Android, iOS, macOS builds ( #51714 )
2020-03-05 12:38:40 -08:00
Mouad Debbar
03d6b58002
[web] Allow benchmarks to customize their score keys ( #51493 )
2020-02-28 13:54:45 -08:00
Yegor
cd0fbd3205
improve web benchmark error reporting ( #51490 )
2020-02-28 10:14:22 -08:00
Christopher Fujino
704fb4cbc7
Remove usage of ideviceinstaller in favor of ios-deploy ( #50772 )
2020-02-25 09:09:40 -08:00
Dan Field
d030296a97
Reland test ( #50987 )
2020-02-20 01:51:15 -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
Alexandre Ardhuin
0bd45bc222
update lint list + enable unnecessary_string_interpolations ( #50593 )
2020-02-14 09:43:52 +01:00
Yegor
b34046903b
Fix stack trace parsing on non-debug builds; add e2e tests ( #50652 )
...
* Fix stack trace parsing on non-debug builds; add e2e tests
2020-02-13 18:34:08 -08:00
Alexandre Ardhuin
f15c887c63
change quote to avoid escapes ( #50368 )
2020-02-11 20:58:27 +01:00
Jenn Magder
082ae838bd
Fall back to global cache and platform if null when injected into constructor ( #50370 )
2020-02-07 15:28:45 -08:00
Alexandre Ardhuin
b953c3e5a8
use raw strings to avoid escaping ( #50322 )
2020-02-07 16:35:55 +01:00
Jonah Williams
7b074468a4
Update compile size benchmarks to include --split-debug-info and --tree-shake-icons ( #50313 )
2020-02-06 23:28:41 -08:00
Alexandre Ardhuin
5c28e3eeea
unnecessary escapes fixes ( #50178 )
...
* unnecessary escapes fixes
* replace some strings with raw strings
* update regexp
* address review comments
2020-02-07 06:35:50 +01:00
Emmanuel Garcia
8c398a8ddd
Reland: Skia gold driver test ( #50160 )
2020-02-06 17:14:50 -08:00
Yegor
e4014a55c8
Web benchmarks: make headless mode opt-out ( #50166 )
2020-02-05 13:21:33 -08:00
Alexandre Ardhuin
94c7e823be
remove unnecessary string escapes ( #50096 )
2020-02-05 08:00:32 +01:00
Dan Field
4b8efad99b
Font subset in the tool ( #49737 )
2020-02-04 20:34:24 -08:00
Emmanuel Garcia
9b3e1639db
Revert "Reland: Skia gold driver test ( #49905 )" ( #50127 )
...
This reverts commit e03f439145
.
2020-02-04 13:28:55 -08:00
Yegor
ff7eb778f6
Respect CHROME_EXECUTABLE in web benchmarks ( #49911 )
2020-01-31 18:31:08 -08:00
Emmanuel Garcia
e03f439145
Reland: Skia gold driver test ( #49905 )
2020-01-31 14:50:50 -08:00
Emmanuel Garcia
1eb5bb653c
Revert "Use skia golden files in driver test ( #49750 )" ( #49900 )
2020-01-31 12:14:08 -08:00
Emmanuel Garcia
a50743f658
Use skia golden files in driver test ( #49750 )
2020-01-31 11:05:29 -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
2f59919496
[flutter_tools] Reland fast start by default for Android ( #49315 )
2020-01-24 19:18:01 -08:00
Jenn Magder
2a7d57791d
Generate bitcode for plugin frameworks for flutter build ios-framework ( #49102 )
2020-01-21 16:38:03 -08:00
Jonah Williams
2ebe9da454
Revert "[flutter_tools] Reland enable fast-start by default for Android ( #48851 )" ( #49227 )
2020-01-21 09:51:08 -08:00
Jonah Williams
1ac01b30ca
[flutter_tools] Reland enable fast-start by default for Android ( #48851 )
2020-01-21 08:59:26 -08:00
Andrew Davies
52e0d980cb
[tools] Rename dev_finder to device-finder. ( #48610 )
...
dev_finder name is deprecated. device-finder is preferred.
Functionality remains identical, this is an aesthetic change.
This change was generated via:
$ find . -not -path '*/\.*' -type f -exec sed -i 's/(^import.*)!dev_finder/device-finder/g' {} \;
2020-01-14 09:41:16 -08:00
Emmanuel Garcia
fca5917519
Test hot reload targeting a Fuchsia device ( #48472 )
2020-01-10 14:38:01 -08:00
Alexandre Ardhuin
82262d8896
format operator== according to flutter style guide ( #48449 )
2020-01-09 08:23:02 -08:00
Alexandre Ardhuin
4f9b6cf017
enable lint prefer_final_in_for_each ( #47724 )
2020-01-07 16:32:04 +01:00
Jenn Magder
85e9be36bf
Revert "Check Xcode build setting FULL_PRODUCT_NAME for the name of the built app during flutter run ( #47266 )" ( #47568 )
...
This reverts commit 648a5d8a1e
.
2019-12-20 17:45:16 -08:00
Jenn Magder
648a5d8a1e
Check Xcode build setting FULL_PRODUCT_NAME for the name of the built app during flutter run ( #47266 )
2019-12-19 14:18:10 -08:00
Gary Qian
b011ea5468
Pass _caretPrototype to prevent cache miss ( #46720 )
2019-12-20 06:46:49 +09:00
Jenn Magder
65ad8d805a
Revert "Check Xcode build setting FULL_PRODUCT_NAME for the name of the built app during flutter run ( #46928 )" ( #47264 )
...
This reverts commit e54e301d50
.
2019-12-17 17:20:57 -08:00
Jenn Magder
e54e301d50
Check Xcode build setting FULL_PRODUCT_NAME for the name of the built app during flutter run ( #46928 )
2019-12-17 16:13:01 -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
Sean Freiburg
418b814555
Add buildNumber param to "flutter build aar" command ( #46291 )
2019-12-12 10:28:01 -08:00
Chris Yang
4a0049627f
Reland "Add a FlutterDriver screenshot test to device lab. #45411 " ( #46620 )
2019-12-10 12:43:36 -08:00
Jenn Magder
e58dc16d7b
Revert "Add a FlutterDriver screenshot test to device lab. ( #45411 )" ( #46281 )
...
This reverts commit adec6977be
.
2019-12-06 18:21:52 -08:00
Chris Yang
adec6977be
Add a FlutterDriver screenshot test to device lab. ( #45411 )
2019-12-06 14:17:02 -08:00
Alexandre Ardhuin
ec1a015045
implicit-casts:false in dev ( #45787 )
2019-12-05 22:34:06 +01:00
Jenn Magder
fb69a393b8
Add bitcode and architectures to App.framework build ios framework command ( #46130 )
2019-12-05 12:16:54 -08:00
Jonah Williams
0b2bf99491
Reland: Update macOS configuration settings ( #45966 )
2019-12-03 08:13:08 -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
Greg Spencer
a60bf8e23a
Spell check of Flutter docs ( #45200 )
...
No code changes, just comments: I spell-checked all the comments in the repo.
2019-11-22 08:43:55 -08:00
liyuqian
c61ef90f94
Upgrade gauge for debugging ( #45212 )
...
For https://github.com/flutter/flutter/issues/45194
and see also https://github.com/flutter/packages/pull/47 .
2019-11-21 13:03:02 -08:00
sjindel-google
43a8a1902e
Fix erroneous comments referring to blobs snapshots. ( #41378 )
2019-11-21 12:09:43 +01:00
Jonah Williams
0e36a91d18
Add macOS hot reload test ( #45264 )
2019-11-20 12:35:53 -08: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
df3505c1f3
Improve performance of build APK (~50%) by running gen_snapshot concurrently ( #44534 )
2019-11-19 11:26:07 -08:00
Jenn Magder
6e5769d425
Remove FLUTTER_DEVICELAB_XCODE_PROVISIONING_CONFIG code paths ( #45136 )
2019-11-19 11:19:44 -08:00
Ian Hickson
1ce4a4f36f
Make sure all our .dart files have license headers ( #44467 )
2019-11-08 16:53:21 -08:00
Jonah Williams
978fada33c
Refactor flutter.gradle to use assemble directly ( #43876 )
...
Removes multiple re-entrant calls of bundle and aot and replaces them with a single call to assemble. This restores full caching and will allow follow-up performance improvements when building multiple ABIs
2019-11-08 12:41:24 -08:00
Jonah Williams
cc51ad5d08
Reland: enable usage of experimental web compiler ( #44400 )
2019-11-07 20:13:02 -08:00
Jonah Williams
7535ef735f
Revert "Enable usage of experimental incremental compiler for web ( #43576 )" ( #44396 )
...
This reverts commit e5d6d92498
.
2019-11-07 16:32:20 -08:00
Jonah Williams
e5d6d92498
Enable usage of experimental incremental compiler for web ( #43576 )
2019-11-07 16:29:51 -08:00
xster
604f176194
Add more flutter build ios-framework tests before the impending jonahpocalypse ( #44308 )
2019-11-07 13:12:56 -08:00
xster
d2e87a5d2c
Build ios framework ( #44065 )
2019-11-06 14:54:15 -08:00
xster
cf95cd4394
Add v1 plugin register function into v2 plugin template ( #44166 )
2019-11-05 20:03:50 -08:00
Christopher Fujino
261594e785
add libzip cache artifact ( #43677 )
2019-10-29 14:29:00 -07:00
Jonah Williams
e778686e72
Re-enable chrome dev mode tests ( #43691 )
2019-10-29 13:23:27 -07:00
Emmanuel Garcia
30493a35b6
Test Gradle on Windows ( #42709 )
2019-10-21 16:42:46 -07:00
Emmanuel Garcia
1d2eaaf204
Ensure that flutter assets are copied in the AAR ( #42306 )
2019-10-09 16:29:20 -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
Jonah Williams
9bd02a1787
Re-Re-Re-land implement flutter build bundle with assemble ( #41302 )
2019-09-25 13:55:29 -07:00
Emmanuel Garcia
c81c78f828
Test that flutter assets are contained in the APK ( #41254 )
2019-09-25 11:07:17 -07:00
Jonah Williams
cc3ca9a916
Revert "Re-Re-land Implement flutter build bundle with assemble ( #41230 )" ( #41295 )
2019-09-25 10:57:58 -04:00
Jonah Williams
84a476a4db
Re-Re-land Implement flutter build bundle with assemble ( #41230 )
2019-09-25 10:17:04 -04:00
Jonah Williams
39eecd5226
give benchmark output dill path ( #40857 )
2019-09-24 19:10:34 -04:00
Jonah Williams
f8ba6756c3
Revert "Reland: implement build bundle with assemble ( #40470 )" ( #40862 )
2019-09-19 09:04:07 -07:00
Jonah Williams
ea7876ae82
Reland: implement build bundle with assemble ( #40470 )
2019-09-19 07:46:50 -07:00
Alexandre Ardhuin
a36f809e27
add missing trailing commas (in dev/) ( #40704 )
2019-09-19 07:54:46 +02:00
Alexandre Ardhuin
df4bf453ab
more UI-as-code ( #35516 )
2019-09-17 16:23:44 +02: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
Jonah Williams
609a78fdca
Revert "build bundle with assemble ( #37508 )" ( #40204 )
2019-09-10 20:03:52 -07:00
Jonah Williams
a7aff56741
build bundle with assemble ( #37508 )
2019-09-10 19:28:38 -07:00
Todd Volkert
d02a3fe661
Lower the iterations on flutter_gallery__back_button_memory ( #40102 )
...
It was hitting the global devicelab 15 minute timeout.
2019-09-09 13:13:05 -07:00
Christopher Fujino
413475acd6
Revert "Revert "fix recursiveCopy to preserve executable bit ( #39505 )" ( #39588 )" ( #39594 )
...
This reverts commit 61eab16c37
.
2019-08-30 16:56:13 -07:00
Christopher Fujino
61eab16c37
Revert "fix recursiveCopy to preserve executable bit ( #39505 )" ( #39588 )
...
This reverts commit 8ec2c5828d
.
2019-08-30 15:03:12 -07:00
Christopher Fujino
8ec2c5828d
fix recursiveCopy to preserve executable bit ( #39505 )
2019-08-30 14:13:36 -07:00
Phil Quitslund
37846b032f
migrate from slow async io calls ( #39515 )
...
* migrate from slow async io calls
2019-08-29 16:47:10 -07:00
Jonah Williams
d2f70a6d20
kill leaked chrome processes ( #39514 )
2019-08-29 14:28:37 -07:00
Collin Jackson
a1c185f37a
Fix plugin template app's tests ( #39080 )
...
* Fix plugin template
* Add test of plugin template working
2019-08-26 14:57:16 -07:00
Christopher Fujino
65f8f9c0b8
add --exit and --match-host-platform defaults to devicelab runner ( #37832 )
2019-08-20 14:37:42 -07:00
Emmanuel Garcia
c08a3c7a0a
Add metadata to indicate if the host app contains a Flutter module ( #37731 )
2019-08-06 22:38:09 -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
Emmanuel Garcia
bd02e4f573
Test that modules built as AAR contain the right assets and artifacts ( #37206 )
2019-07-30 13:38:06 -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
Jason Simmons
a3a350df1c
devicelab: replace the FLUTTER_ENGINE environment variable with the new local engine flags ( #36969 )
2019-07-26 10:06:56 -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
Emmanuel Garcia
242a4225a1
Flutter build aar ( #36732 )
...
`flutter build aar`
This new build command works just like `flutter build apk` or `flutter build appbundle`, but for plugin and module projects.
This PR also refactors how plugins are included in app or module projects. By building the plugins as AARs, the Android Gradle plugin is able to use Jetifier to translate support libraries into AndroidX libraries for all the plugin's native code. Thus, reducing the error rate when using AndroidX in apps.
This change also allows to build modules as AARs, so developers can take these artifacts and distribute them along with the native host app without the need of the Flutter tool. This is a requirement for add to app.
`flutter build aar` generates POM artifacts (XML files) which contain metadata about the native dependencies used by the plugin. This allows Gradle to resolve dependencies at the app level. The result of this new build command is a single build/outputs/repo, the local repository that contains all the generated AARs and POM files.
In a Flutter app project, this local repo is used by the Flutter Gradle plugin to resolve the plugin dependencies. In add to app case, the developer needs to configure the local repo and the dependency manually in `build.gradle`:
repositories {
maven {
url "<path-to-flutter-module>build/host/outputs/repo"
}
}
dependencies {
implementation("<package-name>:flutter_<build-mode>:1.0@aar") {
transitive = true
}
}
2019-07-23 09:27:42 -07:00
Emmanuel Garcia
c9b466f9e2
Revert "Add flutter build aar ( #35217 )" ( #36731 )
...
This reverts commit 11460b8378
.
2019-07-22 22:07:59 -07:00
Emmanuel Garcia
11460b8378
Add flutter build aar ( #35217 )
...
`flutter build aar`
This new build command works just like `flutter build apk` or `flutter build appbundle`, but for plugin and module projects.
This PR also refactors how plugins are included in app or module projects. By building the plugins as AARs, the Android Gradle plugin is able to use Jetifier to translate support libraries into AndroidX libraries for all the plugin's native code. Thus, reducing the error rate when using AndroidX in apps.
This change also allows to build modules as AARs, so developers can take these artifacts and distribute them along with the native host app without the need of the Flutter tool. This is a requirement for add to app.
`flutter build aar` generates POM artifacts (XML files) which contain metadata about the native dependencies used by the plugin. This allows Gradle to resolve dependencies at the app level. The result of this new build command is a single build/outputs/repo, the local repository that contains all the generated AARs and POM files.
In a Flutter app project, this local repo is used by the Flutter Gradle plugin to resolve the plugin dependencies. In add to app case, the developer needs to configure the local repo and the dependency manually in `build.gradle`:
repositories {
maven {
url "<path-to-flutter-module>build/host/outputs/repo"
}
}
dependencies {
implementation("<package-name>:flutter_<build-mode>:1.0@aar") {
transitive = true
}
}
2019-07-22 20:46:01 -07:00
Jonah Williams
c4cab5dc92
add missing config to create ( #36727 )
2019-07-22 19:48:55 -07:00
Jonah Williams
819538704a
fix devicelab tests ( #36717 )
2019-07-22 17:08:42 -07:00
Ian Hickson
295530dcaf
Some minor cleanup in devicelab ( #36571 )
2019-07-22 14:13:33 -07:00
Todd Volkert
0f625196cc
Add plumbing for hello world startup test in devicelab ( #36410 )
...
This is the first step in getting esoteric devices wired
up to device lab to ensure that we can at least start Flutter
apps in profile mode on such devices.
https://github.com/flutter/flutter/issues/35838
2019-07-18 11:13:14 -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
Christopher Fujino
102ab1e6d9
Reland bundle ios deps ( #36093 )
...
This updates the flutter tool cache to download binary files for ideviceinstaller, ios-deploy, libimobiledevice, and dynamically linked dependencies from Flutter's GCP bucket.
2019-07-15 09:22:29 -07:00
Christopher Fujino
e91822da24
Revert "Bundle ios dependencies ( #34669 )" ( #36071 )
...
This reverts commit 14d489adc5
.
2019-07-12 09:03:34 -07:00
Christopher Fujino
14d489adc5
Bundle ios dependencies ( #34669 )
...
This updates the flutter tool to cache binary files for ideviceinstaller, ios-deploy, libimobiledevice, and dynamically linked dependencies from Flutter's GCP bucket.
2019-07-12 08:36:18 -07:00
Jenn Magder
b5c1b61c73
Add platform_interaction_test_swift to devicelab ( #35775 )
2019-07-10 14:13:01 -07:00
Jonah Williams
91e3b2d671
add iOS build benchmarks ( #35749 )
2019-07-08 18:09:00 -07:00
Alexander Aprelev
9f285aa9d9
Introduce image_list performance benchmark that runs on jit(debug) build. ( #35424 )
...
* Introduce image_list performance benchmark that runs on jit(debug) build.
We want to track performance of debug build because ongoing work on reducing the cost of spanwing new isolate will impact jit(debug) more than it will aot(release) configurations.
* Newlines and spaces
2019-07-08 08:23:06 -07:00
Jonah Williams
05b4c67550
add APK build time benchmarks ( #35481 )
2019-07-03 10:54:04 -07:00
Alexandre Ardhuin
758009ba70
more ui-as-code ( #35393 )
...
* more ui-as-code
* address review comments
2019-07-02 21:11:56 +02:00
Alexander Aprelev
3badcf51a4
Introduce image loading performance test. ( #34823 )
...
* Introduce image loading performance test.
This example reports how long it takes to load images over the network(locally spawned server).
2019-06-28 15:14:03 -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
Alexandre Ardhuin
919dcf53f3
enable lints prefer_spread_collections and prefer_inlined_adds ( #35189 )
2019-06-27 21:23:16 +02:00
Josh Burton
577c2fc48c
Ensures flutter jar is added to all build types on plugin projects ( #34573 )
2019-06-25 10:40:55 -07: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
25b5656969
Reland: rename web device ( #34885 )
2019-06-24 11:09:07 -07:00
Emmanuel Garcia
c50fa3d2bd
Re-land config lib dependencies for flavors ( #34668 )
2019-06-18 22:37:42 -07:00
Emmanuel Garcia
9dbc66979a
Revert "Config lib dependencies when using flavors ( #34592 )" ( #34655 )
...
This reverts commit 358b9bd381
.
2019-06-18 15:30:59 -07:00
Emmanuel Garcia
358b9bd381
Config lib dependencies when using flavors ( #34592 )
2019-06-17 15:05:16 -07:00
Todd Volkert
fb2f18e7e8
Prepare for Uint8List SDK breaking changes ( #34295 )
...
https://github.com/dart-lang/sdk/issues/36900
2019-06-12 10:22:50 -07:00
Emmanuel Garcia
21a532698f
Split gradle_plugin_test.dart ( #34282 )
...
Fixes timeout when running gradle_plugin_test
2019-06-11 16:24:03 -07:00
Emmanuel Garcia
8627ff433b
Allow multi-abi shared libraries in APKs and App bundles ( #34123 )
...
* Gradle generates ELF shared libraries instead of AOT snapshots.
* `flutter build apk/appbundle` supports multiple `--target-platform` and defaults to `android-arm` and `android-arm64`.
* `flutter build apk` now has a flag called `--split-per-abi`.
2019-06-10 13:16:09 -07:00
Jonah Williams
4c0145d97b
Fix web size test for new world ( #34063 )
2019-06-07 13:52:04 -07:00
Dan Field
bc3ca10e71
Make it easier to pass local engine flags when running devicelab tests ( #34054 )
2019-06-07 12:49:09 -07:00
Jonah Williams
227ffb58d7
fix devicelab test for chrome reload worklow ( #34056 )
2019-06-07 12:44:17 -07:00
Jonah Williams
50ea6f32d3
add benchmarks to track web size ( #33892 )
2019-06-05 12:40:21 -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
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
Chris Bracken
156b4220b4
Americanise spellings ( #33323 )
...
Updates documentation and non-public API to use American spellings for
consistency with the rest of the codebase.
No changes to behaviour... other than how it's spelt.
2019-05-24 19:13:02 -07:00
Chris Bracken
4d9923201b
Correct typos ( #33322 )
...
Corects a bnuch of typeos throuhgout teh Fluter codebsae.
Made use of the `misspell` tool:
https://github.com/client9/misspell
2019-05-24 19:12:45 -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
Alexandre Ardhuin
4fa32df141
use null aware operators ( #32711 )
...
* use null aware operators
* rollback changes about null-aware operator
* disable lint prefer_is_not_empty
2019-05-16 22:25:51 +02:00
Ben Konyi
1459b1e91f
Fixed failing tests caused by introduction of authentication codes ( #31315 )
2019-04-19 11:45:53 -07:00
Ben Konyi
3764cb8515
Added support for authentication codes for the VM service. ( #30857 )
...
* Added support for authentication codes for the VM service.
Previously, a valid web socket connection would use the following URI:
`ws://127.0.0.1/ws`
Now, by default, the VM service requires a connection to be made with a
URI similar to the following:
`ws://127.0.0.1:8181/Ug_U0QVsqFs=/ws`
where `Ug_U0QVsqFs` is an authentication code generated and shared by
the
service.
This behavior can be disabled with the `--disable-service-auth-codes`
flag.
2019-04-18 21:01:50 -07:00
liyuqian
b0937a1e89
Fix the warning test by checking stderr ( #30997 )
...
Previously, I used the Android emulator for testing and everything
seemed to work fine with stdout (if I remember correctly). But our
devicelab uses real Android devices and the warnings are routed to
stderr. Hence change stdout to stderr in the test.
2019-04-15 10:19:36 -07:00
Dan Field
99bd2795b0
Add rrect contains microbenchmark ( #30985 )
2019-04-15 09:01:40 -07:00
Jonah Williams
b4edfb1511
Revert "Manual engine roll with disabled service authentication codes ( #30919 )" ( #30930 )
...
This reverts commit 19d6e7b613
.
2019-04-11 12:18:39 -07:00
Ben Konyi
19d6e7b613
Manual engine roll with disabled service authentication codes ( #30919 )
2019-04-11 12:08:13 -07:00
Tim Sneath
529189791c
Replace flutter.io with flutter.dev ( #30562 )
2019-04-05 11:39:30 -07:00
Jonah Williams
1bfa2f2311
Intercept errors thrown by synchronous Completers in image resolution. ( #30139 )
2019-03-29 10:05:18 -07:00
Dan Field
820b0e029e
Avoid overwriting task result for non-leak checkers ( #29989 )
2019-03-26 11:40:05 -07:00
Dan Field
ecfdd7e1ea
Detect and cleanup leaky processes ( #29196 )
...
* Detect and cleanup leaky processes
* Add flaky tests for detecting leaked processes
2019-03-22 14:32:36 -07:00
Alexandre Ardhuin
387f885481
Add missing trailing commas ( #28673 )
...
* add trailing commas on list/map/parameters
* add trailing commas on Invocation with nb of arg>1
* add commas for widget containing widgets
* add trailing commas if instantiation contains trailing comma
* revert bad change
2019-03-01 08:17:55 +01:00
liyuqian
19a6a6f431
Reland "Shader warm up ( #27660 )" ( #28537 )
...
This reverts commit adc8e159a5
.
This should be safe to land once https://github.com/flutter/flutter/pull/28530 gets merged
Merge on yellow doc test because the doc test is actually green.
2019-02-27 09:33:08 -08:00
liyuqian
adc8e159a5
Revert "Shader warm up ( #27660 )" ( #28376 )
...
This reverts commit a44f174efc
.
Reason: start_up tests become flaky.
See https://github.com/flutter/flutter/issues/28374
TBR: xster
Merge on red to fix the tree
2019-02-22 17:32:37 -08:00
liyuqian
a44f174efc
Shader warm up ( #27660 )
...
This patch adds a default shader warm up process which moves shader compilation from the animation time to the startup time. This also provides an extension for `runApp` so developers can customize the warm up process.
This should reduce our worst_frame_rasterizer_time_millis from ~100ms to ~20-30ms for both flutter_gallery and complex_layout benchmarks. Besides, this should also have a significant improvement on 90th and 99th percentile time (50%-100% speedup in some cases, but I haven't tested them thoroughly; I'll let our device lab collect the data afterwards).
The tradeoff the is the startup time (time to first frame). Our `flutter run --profile --trace-startup` seems to be a little noisy and I see about 100ms-200ms increase in that measurement for complex_layout and flutter_gallery. Note that this only happens on the first run after install or data wipe. Later the Skia persistent cache will remove the overhead.
This also adds a cubic_bezier benchmark to test the custom shader warm up process.
This should fix https://github.com/flutter/flutter/issues/813 (either by `defaultShaderWarmUp`, or a `customShaderWarmUp`).
2019-02-22 15:37:02 -08:00
Dan Field
04b7a5b366
Reduce memory benchmark perf tests outer loop to 10. ( #28281 )
...
* reduce iterations to avoid test timing out
2019-02-21 14:46:24 -08:00
Dan Field
3ce0c27fd9
Make logcat less chatty on perf tests ( #28272 )
2019-02-21 10:59:20 -08:00
Jonah Williams
67cf21577f
Add basic codegen app to be used for integration testing and benchmarks ( #27257 )
2019-02-14 23:17:16 -08:00
liyuqian
de321b9cc1
Add scroll performance test for flutter_gallery ( #27513 )
...
Previously, we had a scroll_perf drive test but we were not exercising
it on our device lab. This helps us tracking issues like:
https://github.com/flutter/flutter/issues/24782
2019-02-04 22:54:11 -08:00
Jason Simmons
b5ca595d61
Remove icudtl.dat from APK asset size checks ( #27505 )
2019-02-04 12:40:43 -08:00
Michael Goderbauer
6d20ff2446
Remove all obsolete "// ignore:" ( #27271 )
2019-01-30 08:56:12 -08:00
liyuqian
8ad4cbe06e
Add cull opacity perf test to device lab ( #25381 )
...
For https://github.com/flutter/flutter/issues/24712
This test verifies that https://github.com/flutter/engine/pull/6923 will speedup the average rasterize time of this test from ~150ms to ~10ms
Please see non-auto-generated files in 37b21d9fb4
2018-12-17 22:01:07 -08:00
Danny Tuppeny
c19142d8b7
Support ANDROID_SDK_ROOT in addition to ANDROID_HOME ( #25221 )
...
* Fall back to ANDROID_SDK_ROOT if ANDROID_HOME is not set
And update descriptions to use the non-deprecated ANDROID_SDK_ROOT.
Fixes #15114 .
* Remove trailing whitespace
* Update dev/devicelab/lib/framework/adb.dart
Co-Authored-By: DanTup <danny@tuppeny.com>
* Reformat long line
2018-12-17 17:29:09 +00:00
Jonah Williams
938dd5a4aa
Revert "Update driver script to execute test through test_core" ( #24401 )
...
* Revert "Add dashing config file for generating docset from flutter docs (#24374 )"
This reverts commit ec8ca8606c
.
* Revert "Update driver script to execute test through test_core (#24168 )"
This reverts commit 6c62cf337f
.
2018-11-15 11:17:00 -08:00
Jonah Williams
6c62cf337f
Update driver script to execute test through test_core ( #24168 )
2018-11-15 10:50:25 -08:00
Michael Goderbauer
b8c29a1490
Add benchmark for LICENSE file size ( #23948 )
2018-11-05 13:57:40 -08:00
Alexandre Ardhuin
344ebe02ff
avoid returning null for Future ( #23784 )
2018-11-05 16:38:23 +01:00
Michael Klimushyn
43c99404c5
Test flutter create --offline
( #23278 )
...
Verifies that flutter tools isn't rebuilt. Doesn't truly check that the
created output is runnable.
2018-10-22 16:39:28 -07:00
Alexandre Ardhuin
8b0de38ef8
fix upcoming lint avoid_returning_null_for_void ( #23190 )
2018-10-17 11:01:37 +02:00
Greg Spencer
abb1758edf
Fix places in devicelab tests where it expects the app template. ( #22696 )
...
I missed some create template conversions in the devicelab directory.
2018-10-04 15:30:08 -07:00
Greg Spencer
3246a66374
Make devicelab tests use 'app' template ( #22694 )
...
Fixes the build after my module rename broke the Windows tests.
2018-10-04 14:30:59 -07:00
Greg Spencer
9f23866a0a
Rename module --> application in flutter create command. ( #22565 )
...
This renames the "module" template to the "application" template, and makes "application" the default. The existing "app" template is now deprecated.
flutter create also now recognizes the type of project in an existing directory, and is able to recreate it without having the template type explicitly specified (although you can still do that). It does this now by first looking in the .metadata file for the new project_type field, and if it doesn't find that, then it looks at the directory structure. Also, the .metadata file is now overwritten even on an existing directory so that 1) the project_type can be added to legacy projects, and 2) the version of Flutter that updated the project last is updated.
I also cleaned up a bunch of things in create_test.dart, added many more tests, and added an example test to the test/ directory in the generated output of the application template.
Fixes #22530
Fixes #22344
2018-10-04 13:03:20 -07:00
Alexandre Ardhuin
d340e2f229
apply lint prefer_void_to_null in dev/ ( #22661 )
2018-10-04 18:44:23 +02:00
Alexandre Ardhuin
2ea1d81cdc
sort_constructors_first ( #22575 )
2018-10-04 07:28:07 +02:00
Alexandre Ardhuin
5de96bb734
unnecessary this in field initializers ( #22522 )
2018-10-02 17:14:59 +02:00
Alexandre Ardhuin
f62afdcf57
add missing type parameter on methods ( #22096 )
2018-10-01 21:29:08 +02:00
liyuqian
872eba2d4c
Track 90th, 99th percentile instead of missed_frame_build_budget_count ( #21754 )
...
See https://github.com/flutter/flutter/pull/19121#issuecomment-419520765
2018-09-14 13:24:13 -07:00
Alexandre Ardhuin
a07d3719a1
enable lint prefer_generic_function_type_aliases ( #21680 )
2018-09-14 21:06:19 +02:00
Alexandre Ardhuin
d927c93310
Unnecessary new ( #20138 )
...
* enable lint unnecessary_new
* fix tests
* fix tests
* fix tests
2018-09-12 08:29:29 +02:00
Jonah Williams
c6e8a513f0
Add android semantics integration test to device lab ( #20971 )
2018-09-06 12:31:18 -07:00
Chris Bracken
9f9676c4c6
Eliminate Dart 1 support in devicelab tests ( #21240 )
...
Flutter commands all default to --preview-dart-2. Eliminate support for
the use of this option and the previewDart2 parameter in dev/devicelab
tests.
2018-08-30 17:17:37 -07:00
Ian Hickson
1c2d3f324d
Shut down gradle at the end of each task ( #20968 )
...
Apparently Gradle leaks memory and it's causing failures.
2018-08-28 11:28:25 -07:00
Ian Hickson
53b635817c
Re-enable missing_return ( #20844 )
2018-08-28 11:22:57 -07:00
amirh
1f31c3b354
Run the embedded Android views integration test on the device lab. ( #20841 )
2018-08-23 10:26:00 -07:00
Ian Hickson
22f376418f
Track number of package dependencies in Flutter ( #20831 )
...
* Track number of package dependencies in Flutter
Relands #20774 .
* Use evalFlutter instead of startProcess.
That way we don't need `flutter` on the PATH.
2018-08-21 14:02:33 -07:00