- 29 Jun, 2023 1 commit
-
-
Jackson Gardner authored
This enables benchmarks for the Skwasm renderer, compiled with dart2wasm. Platform views aren't supported in Skwasm yet, so we are skipping those benchmarks for now.
-
- 21 Jun, 2023 1 commit
-
-
Yegor authored
## FlutterTimeline Add a new class `FlutterTimeline` that's a drop-in replacement for `Timeline` from `dart:developer`. In addition to forwarding invocations of `startSync`, `finishSync`, `timeSync`, and `instantSync` to `dart:developer`, provides the following extra methods that make is easy to collect timings for code blocks on a frame-by-frame basis: * `debugCollect()` - aggregates timings since the last reset, or since the app launched. * `debugReset()` - forgets all data collected since the previous reset, or since the app launched. This allows clearing data from previous frames so timings can be attributed to the current frame. * `now` - this was enhanced so that it works on the web by calling `window.performance.now` (in `Timeline` this is a noop in Dart web compilers). * `collectionEnabled` - a field that controls whether `FlutterTimeline` stores timings in memory. By default this is disabled to avoid unexpected overhead (although the class is designed for minimal and predictable overhead). Specific benchmarks can enable collection to report to Skia Perf. ## Semantics benchmarks Add `BenchMaterial3Semantics` that benchmarks the cost of semantics when constructing a screen full of Material 3 widgets from nothing. It is expected that semantics will have non-trivial cost in this case, but we should strive to keep it much lower than the rendering cost. This is the case already. This benchmark shows that the cost of semantics is <10%. Add `BenchMaterial3ScrollSemantics` that benchmarks the cost of scrolling a previously constructed screen full of Material 3 widgets. The expectation should be that semantics will have trivial cost, since we're just shifting some widgets around. As of today, the numbers are not great, with semantics taking >50% of frame time, which is what prompted this PR in the first place. As we optimize this, we want to see this number improve.
-
- 15 Jun, 2023 1 commit
-
-
Mouad Debbar authored
- Bumps `vm_service` from `11.6.0` to `11.7.1` - Bumps `web` from `0.1.3-beta` to `0.1.4-beta` and adds it everywhere. - Moves `js` from `dependencies` to `dev_dependencies`
-
- 08 Jun, 2023 1 commit
-
-
Jackson Gardner authored
This attempts to reland https://github.com/flutter/flutter/pull/126848 This was reverted because it made some unexpected changes to our perf measurements. After landing https://github.com/flutter/flutter/pull/127900, we have much less noise in our benchmarks, so I'd like to reland this and see if there is still a significant measurement difference.
-
- 31 May, 2023 1 commit
-
-
Jackson Gardner authored
By default, the browser fuzzes the timer APIs such that they have a granularity of approximately 100 microseconds (this is due to Spectre mitigation techniques). However, many of the thing we are trying to measure actually have a much finer granularity than 100 microseconds. As a result, many of our benchmarks are extremely noisy and don't provide accurate data. By serving the initial script files with the `Cross-Origin-Opener-Policy: same-origin` and `Cross-Origin-Embedder-Policy: require-corp` HTTP headers, the browser runs the benchmarks in a `crossOriginIsolated` context, which restores the fine granularity of APIs such as `performance.now()` to microsecond precision. Also, we were considering anything an outlier that was more than one standard deviation away from the mean. In a normal distribution, that means we are only capturing 68% of the data and the rest are considered outliers. This is not ideal. Doing two standard deviations away captures 95% of the data, and the outliers are in the remaining 5%, which seems much more reasonable.
-
- 26 May, 2023 1 commit
-
-
Phil Quitslund authored
The newly updated lint will soon flag for-each in collections. See discussion: https://github.com/dart-lang/linter/pull/4383 /cc @goderbauer
-
- 24 May, 2023 1 commit
-
-
Mouad Debbar authored
Now that `platformViewRegistry` is [exposed](https://github.com/flutter/engine/pull/41877) through `dart:ui_web`, we can do some cleanup here. Part of https://github.com/flutter/flutter/issues/126831
-
- 19 May, 2023 2 commits
-
-
Phil Quitslund authored
The upcoming linter release notices null literals as unnecessary argument values and flags more `type_literal_in_constant_pattern` cases. See breakages: https://logs.chromium.org/logs/dart/buildbucket/cr-buildbucket/8780744067138629361/+/u/analyze_flutter_flutter/stdout
-
joshualitt authored
Reverts flutter/flutter#126848 Triggered some kind of measuring discrepancy / performance regression.
-
- 18 May, 2023 1 commit
-
-
joshualitt authored
-
- 15 May, 2023 1 commit
-
-
Jonah Williams authored
Add a benchmark that measures the improvements from https://github.com/flutter/engine/pull/41803
-
- 05 May, 2023 1 commit
-
-
Mouad Debbar authored
Removing the dependency between web benchmarks and `url_launcher`'s `Link` widget.
-
- 24 Apr, 2023 1 commit
-
-
Taha Tesser authored
This adds a performance test for `Slider` and `RangeSlider` to run on Android. This is to measure upcoming changes to these widgets and compare their performance. https://user-images.githubusercontent.com/48603081/233633349-0bcad3c3-04a9-42dd-acd0-46b76ce51178.mp4
-
- 11 Apr, 2023 1 commit
-
-
Mouad Debbar authored
[web] Add benchmarks for the Material3 Components screen
-
- 31 Mar, 2023 1 commit
-
-
Jonah Williams authored
[devicelab] add regular old blur benchmark
-
- 23 Mar, 2023 1 commit
-
-
Michael Goderbauer authored
-
- 22 Mar, 2023 1 commit
-
-
Michael Goderbauer authored
Remove 1745 decorative breaks
-
- 23 Feb, 2023 1 commit
-
-
Lioness100 authored
* Fix typos * lowercase animated & opacity * Undo typo fix --------- Co-authored-by:
Michael Goderbauer <goderbauer@google.com>
-
- 18 Feb, 2023 1 commit
-
-
Michael Goderbauer authored
* Remove more references to dart:ui.window * two more doc referenes * revert icon_color_test.dart
-
- 02 Feb, 2023 1 commit
-
-
Michael Goderbauer authored
* Make Flex,Row,Column const for real * dart fix --apply * fix snippets * fix integration test * add comment
-
- 27 Jan, 2023 1 commit
-
-
Michael Goderbauer authored
-
- 26 Jan, 2023 1 commit
-
-
Todd Volkert authored
This updates the framework to provide higher level wrappers around ui.instantiateImageCodecWithSize(). Functionally, this doesn't change anything (other than deprecating the older loadBuffer() method in favor of loadImage()), but it sets the stage for a simpler change that will allow us to provide a more flexible way to load sized images. #118543
-
- 20 Jan, 2023 1 commit
-
-
Michael Goderbauer authored
* Remove unnecessary null checks in dev/benchmarks * empty
-
- 20 Dec, 2022 1 commit
-
-
Michael Goderbauer authored
-
- 11 Dec, 2022 1 commit
-
-
Ian Hickson authored
-
- 29 Nov, 2022 1 commit
-
-
Jonah Williams authored
* [devicelab] track performance of animated image filter * ++ * make animations repeat and add dispose * make duration more consistently 10sec
-
- 06 Sep, 2022 1 commit
-
-
Dan Field authored
-
- 22 Aug, 2022 1 commit
-
-
Kate Lovett authored
-
- 28 Jul, 2022 1 commit
-
-
Michael Goderbauer authored
-
- 20 Jul, 2022 1 commit
-
-
ColdPaleLight authored
-
- 14 Jul, 2022 1 commit
-
-
Jim Graham authored
-
- 29 Jun, 2022 1 commit
-
-
JsouLiang authored
-
- 27 May, 2022 1 commit
-
-
Jonah Williams authored
-
- 26 May, 2022 1 commit
-
-
Dan Field authored
-
- 13 May, 2022 1 commit
-
-
wangying authored
* Add clipper raster cache benchmarks * fix ci test error * Add PhysicalModel widget to test * Set top margin adaptive screen height * Remove PhysicalModel
-
- 27 Apr, 2022 1 commit
-
-
Alexandre Ardhuin authored
-
- 26 Apr, 2022 1 commit
-
-
Jonah Williams authored
-
- 14 Apr, 2022 1 commit
-
-
Michael Goderbauer authored
-
- 09 Apr, 2022 1 commit
-
-
Jim Graham authored
-
- 08 Apr, 2022 1 commit
-
-
Michael Goderbauer authored
-