Alexandre Ardhuin
34059eec2c
enable lint prefer_interpolation_to_compose_strings ( #83407 )
2021-06-01 11:14:06 -07:00
Jim Graham
ae12bf6bcb
Add a bitmap operation property to transform widgets to enable/control bitmap transforms ( #76742 )
2021-05-25 12:57:07 -07:00
Alexandre Ardhuin
157bc92d4a
end of sort_child_properties_last ( #82457 )
2021-05-13 13:39:04 -07:00
Michael Goderbauer
b8a2456737
Enable library_private_types_in_public_api lint ( #81578 )
2021-05-10 16:26:16 -07:00
Dan Field
0866005f70
Add benchmark for number of GCs in animated GIF ( #81240 )
2021-04-27 10:39:02 -07:00
Phil Quitslund
61c30c41b2
fix sort_directives violations ( #80817 )
2021-04-21 13:49: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
Michael Goderbauer
ed755fba5e
Enable avoid_unnecessary_containers lint ( #77294 )
2021-03-04 15:29:03 -08:00
Greg Spencer
c6ef4c75d9
Turn on sized_box_for_whitespace lint, fix instances. ( #77099 )
2021-03-03 17:29:02 -08:00
Michael Goderbauer
7e017d318e
Enable file_names and package_names lints ( #77087 )
2021-03-02 15:24:04 -08:00
Michael Goderbauer
0f568298d8
enable use_key_in_widget_constructors lint ( #77032 )
2021-03-02 10:14:02 -08:00
Michael Goderbauer
fc99e7c0d7
Enable missing_whitespace_between_adjacent_strings ( #77027 )
2021-03-01 18:30:17 -08:00
chunhtai
815976a8e4
change stack size test to test arm device ( #75814 )
2021-02-17 12:46:03 -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
Yegor
5b6444f317
[web] benchmark and optimize defaultTargetPlatform ( #75037 )
2021-02-02 09:34:01 -08:00
Alexandre Ardhuin
d546e1d311
fix for upcoming lint use_named_constants ( #74788 )
2021-01-27 20:20:44 +01:00
Sam Rawlins
6ea2806b71
Remove unnecessary imports ( #74382 )
2021-01-27 10:59:05 -08:00
LongCatIsLooong
cbe72db135
macrobenchmark: TextField with complex paragraph ( #73374 )
2021-01-12 15:44:01 -08:00
George Wright
a109fe68b0
Stop using the List constructor ( #71957 )
2020-12-08 17:03:03 -08:00
Ferhat
ebd794a137
[web] Add wrapbox scroll benchmark ( #70966 )
2020-12-02 08:30:42 -08:00
Ian Hickson
6cff33832e
More lints ( #70500 )
2020-11-16 11:07:37 -08:00
Greg Spencer
bbc0161669
Remove references to Window
, and switch usages to PlatformDispatcher
or SingletonFlutterWindow
( #69617 )
...
* Remove references to dart:ui.Window, and point usages to PlatformDispatcher or SingletonFlutterWindow, as appropriate
* remove new test platform dispatchers
* Amend documentation
2020-11-09 15:26:29 -08:00
Ferhat
40b4d2badc
Add PageView benchmark (representative of full screen CustomPainter) ( #69990 )
2020-11-06 18:49:03 -08:00
xster
3302a12b20
Let Flutter SDK use cupertino_icons 1.0.0 ( #65087 )
2020-10-16 22:36:01 -07:00
Alexandre Ardhuin
c0176c9ee5
use_is_even_rather_than_modulo ( #68301 )
2020-10-16 20:20:00 +02:00
Dan Field
33fb35e951
Add benchmark/test for drawing images across frames ( #67176 )
2020-10-02 16:41:49 -07:00
Michael R Fairhurst
7f3c9b6bda
Remove unused 'dart:async' imports. ( #65568 )
2020-09-16 14:14:06 -07:00
Hans Muller
82706d730b
Updated references to obsolete Material button classes in benchmarks/macrobenchmarks ( #65900 )
2020-09-16 07:57:04 -07:00
Tong Mu
a48e14308e
Expose GestureBinding.handlePointerEvent, replacing dispatchEvent as the preferred way to dispatch events ( #64846 )
2020-09-15 22:17:06 -07:00
Tong Mu
87617e4cc3
New benchmark: bench_mouse_region_mixed_grid_hover ( #63808 )
...
* Adds a new web benchmark bench_mouse_region_mixed_grid_hover
2020-09-11 18:05:15 -07:00
Dan Field
b5ed913ecc
Memory/cpu/gpu benchmark for showing large images in succession ( #64762 )
2020-08-31 10:03:57 -07:00
Tianguang
ce1cfbe71d
Add remaining benchmarks ( #62906 )
2020-08-05 09:31:08 -07:00
Jason Simmons
e5de16a247
Make the text field macrobenchmark work in debug mode ( #62523 )
2020-07-31 09:51:05 -07:00
Ming Lyu (CareF)
98264a4709
Simplify macrobencharks/picture_cache ( #62219 )
2020-07-28 10:51: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
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
Dan Field
5969eb60ec
benchmark memory usage for grid view of memory intensive widgets ( #61025 )
2020-07-07 19:34:03 -07:00
Tong Mu
28d2f0106c
Web macrobenchmark: bench_mouse_region_grid_hover now tests hitTestDuration ( #60554 )
2020-07-05 11:48:03 -07:00
Ming Lyu (CareF)
59aed97647
Simplify the animation control for macrobenchmarks test case ( #60412 )
...
* Simplify the animation control
* Using AnimatedBuilder
2020-06-29 20:20:32 -04: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
Tong Mu
65b1956005
Add benchmark for Mouse region (web) ( #59803 )
2020-06-19 13:48:04 -07:00
Ming Lyu (CareF)
ef3b99225f
fix typo in macrobenchmarks/lib/main ( #58783 )
2020-06-08 17:40:57 -04:00
Yegor
1a9530af8a
benchmark updating many child layers ( #58513 )
...
* benchmark updating many child layers
2020-06-02 17:59:41 -07:00
Jim Graham
7261b98e81
Enabling the ImageFiltered(ImageFilter.matrix) page of macrobenchmark ( #58277 )
2020-05-30 18:53:01 -07:00
Yegor
be5b5c898c
add a backward variant of BenchCardInfiniteScroll ( #58140 )
2020-05-28 12:28:17 -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
Yegor
874b2e58b8
add web benchmark that measures efficiency of clipped out pictures ( #56596 )
2020-05-08 09:51:52 -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
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
Mouad Debbar
b0610be3b4
[web] Don't collect trace info in the color grid benchmark ( #54396 )
2020-04-10 13:30:15 -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
Konstantin Scheglov
b0492cc976
Fix newly reported prefer_const_constructors lints. ( #54176 )
2020-04-07 08:59:01 -07:00
Mouad Debbar
e3e189219b
[web] Fix race condition in widget benchmarks ( #53952 )
2020-04-06 14:31:38 -07:00
Yegor
29c88081b9
Collect chrome://tracing data in Web benchmarks ( #53879 )
...
Collect chrome://tracing data in Web benchmarks
2020-04-03 15:10:39 -07:00
Yegor
0d07788069
Add benchmark reproducing large static scrolling content ( #53686 )
2020-04-01 00:41:02 -07:00
Mouad Debbar
45a8b3db81
complete text layout benchmark ( #53295 )
2020-03-27 14:56:02 -07:00
Mouad Debbar
af21e74fef
[web] Write benchmarks to measure canvas-based text layout ( #52434 )
2020-03-24 22:10:25 -07:00
liyuqian
c80d1e8266
Perf test for color filter with saveLayer ( #52063 )
2020-03-13 10:31:02 -07:00
Mouad Debbar
5bb552270d
[web] Add benchmarks for text layout ( #51663 )
2020-03-10 18:46:03 -07:00
Mouad Debbar
03d6b58002
[web] Allow benchmarks to customize their score keys ( #51493 )
2020-02-28 13:54:45 -08:00
Yegor
bae79599c2
add docs about writing/running web benchmarks ( #50989 )
...
* add docs about writing/running web benchmarks
* explain how to run like devicelab
* add WidgetBuildRecorder docs
2020-02-28 10:16:35 -08:00
Yegor
cd0fbd3205
improve web benchmark error reporting ( #51490 )
2020-02-28 10:14:22 -08:00
Yegor
d95a1a70a2
add WidgetBuildRecorder for benchmarking building widgets ( #51088 )
2020-02-24 16:08:40 -08:00
Harry Terkelsen
29306b0896
[Web] Add Material Card Infinite Scroll benchmark ( #51005 )
...
* [Web] Add Material Card Infinite Scroll benchmark
Adds a benchmark that makes an infinite list of Material cards
and scrolls it. This benchmark exercises more heavyweight rendering
like shadows and clipping and paths.
* Fix analyzer warnings. Respond to comments
2020-02-20 11:16:58 -08:00
Dan Field
d030296a97
Reland test ( #50987 )
2020-02-20 01:51:15 -08:00
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
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
Alexandre Ardhuin
4f9b6cf017
enable lint prefer_final_in_for_each ( #47724 )
2020-01-07 16:32:04 +01:00
Gary Qian
b011ea5468
Pass _caretPrototype to prevent cache miss ( #46720 )
2019-12-20 06:46:49 +09:00
Jim Graham
fa190a8685
New benchmark to measure performance of animations after removing a BackdropFilter. ( #46924 )
2019-12-13 13:27:53 -08:00
liyuqian
a2005eaf9a
Memory test on scrolling large images quickly ( #46184 )
2019-12-05 19:28:00 -08:00
Alexandre Ardhuin
ec1a015045
implicit-casts:false in dev ( #45787 )
2019-12-05 22:34:06 +01:00
Kate Lovett
2a5e528a18
Fixing SliverOverlapAbsorber & SliverOverlapInjector child property ( #44283 )
2019-12-02 17:08:02 -08:00
Ian Hickson
449f4a6673
License update ( #45373 )
...
* Update project.pbxproj files to say Flutter rather than Chromium
Also, the templates now have an empty organization so that we don't cause people to give their apps a Flutter copyright.
* Update the copyright notice checker to require a standard notice on all files
* Update copyrights on Dart files. (This was a mechanical commit.)
* Fix weird license headers on Dart files that deviate from our conventions; relicense Shrine.
Some were already marked "The Flutter Authors", not clear why. Their
dates have been normalized. Some were missing the blank line after the
license. Some were randomly different in trivial ways for no apparent
reason (e.g. missing the trailing period).
* Clean up the copyrights in non-Dart files. (Manual edits.)
Also, make sure templates don't have copyrights.
* Fix some more ORGANIZATIONNAMEs
2019-11-27 15:04:02 -08:00
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
Ian Hickson
1ce4a4f36f
Make sure all our .dart files have license headers ( #44467 )
2019-11-08 16:53:21 -08: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
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
Alexandre Ardhuin
919dcf53f3
enable lints prefer_spread_collections and prefer_inlined_adds ( #35189 )
2019-06-27 21:23:16 +02:00
Jim Graham
f83fd9d467
Add test case for Flutter Issue #27677 as a benchmark. ( #34870 )
...
* Add test case for Flutter Issue #27677 as a benchmark.
See https://github.com/flutter/flutter/issues/27677
I got the following results running the test on a Moto E2 which
will help us determine how much we can gain by analyzing the
operations and eliminating unnecessary repaints based on
dirty rectangles/regions.
no blurs - avg 216.0 fps over 3 samples
blur the group - avg 22.9 fps over 3 samples
blur each txt - avg 3.4 fps over 3 samples
* Added the new benchmark to be tracked on the dashboard.
2019-06-24 20:53:22 -07:00
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
Amir Hardon
0220412c53
Fix analyzer "prefer const" warning. ( #25854 )
2018-12-28 14:05:19 -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