- 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.
-
- 14 Jun, 2023 1 commit
-
-
Polina Cherkasova authored
Contributes to https://github.com/dart-lang/leak_tracker/issues/59
-
- 12 Jun, 2023 1 commit
-
-
Polina Cherkasova authored
-
- 07 Jun, 2023 1 commit
-
-
fzyzcjy authored
... found when looking at leak tracker today. By the way, shall we add some kind of automatic link linter, which goes through all links and see whether they are alive?
-
- 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
-
- 16 May, 2023 1 commit
-
- 08 May, 2023 1 commit
-
-
Michael Goderbauer authored
Fixes https://github.com/flutter/flutter/issues/126096. Fixes https://github.com/flutter/flutter/issues/126097. Fixes https://github.com/flutter/flutter/issues/126102. Fixes https://github.com/flutter/flutter/issues/126098. Fixes https://github.com/flutter/flutter/issues/126147. Work towards https://github.com/flutter/flutter/issues/126100. Does not fix the OverlyEntry/ModalRoute leak (https://github.com/flutter/flutter/issues/126100).
-
- 04 May, 2023 1 commit
-
-
Polina Cherkasova authored
-
- 02 May, 2023 1 commit
-
-
Polina Cherkasova authored
-
- 18 Apr, 2023 1 commit
-
-
Michael Goderbauer authored
These are currently unused and will not work in a multi-view environment where we will have multiple render trees. Work towards https://github.com/flutter/flutter/issues/121573.
-
- 12 Apr, 2023 1 commit
-
-
Nabeel Parkar authored
Bug report 2 issue template
-
- 04 Apr, 2023 2 commits
-
-
Christopher Fujino authored
Re-land of https://github.com/flutter/flutter/pull/123297 without any of the commits at the end attempting to fix customer-testing. Fixes https://github.com/flutter/flutter/issues/118810
-
Michael Goderbauer authored
-
- 03 Apr, 2023 1 commit
-
-
Casey Hillers authored
Revert "[flutter_tools] Remove --no-sound-null-safety #3"
-
- 30 Mar, 2023 1 commit
-
-
Greg Price authored
Remove no-shuffle from framework tests, part 1: easy cases
-
- 29 Mar, 2023 1 commit
-
-
Christopher Fujino authored
[flutter_tools] Remove --no-sound-null-safety #3
-
- 28 Mar, 2023 1 commit
-
-
Loïc Sharma authored
[Focus] Add run key command to dump the focus tree
-
- 22 Mar, 2023 1 commit
-
-
Christopher Fujino authored
Revert "[flutter_tools] Remove sound null safety flag (#123031)"
-
- 20 Mar, 2023 1 commit
-
-
Christopher Fujino authored
[flutter_tools] Remove sound null safety flag #2
-
- 17 Mar, 2023 2 commits
-
-
Christopher Fujino authored
This reverts commit 7c3088cf.
-
Christopher Fujino authored
[flutter_tools] Remove sound null safety flag
-
- 16 Mar, 2023 3 commits
-
-
Ian Hickson authored
Assert that runApp is called in the same zone as binding.ensureInitialized
-
yaakovschectman authored
Revert "Assert that runApp is called in the same zone as binding.ensureInitialized (#117113)" (#122830) Revert "Assert that runApp is called in the same zone as binding.ensureInitialized"
-
Ian Hickson authored
Assert that runApp is called in the same zone as binding.ensureInitialized
-
- 01 Mar, 2023 1 commit
-
-
Daniel Austin authored
implement override of toString() in order to print useful message in release mode as well as debug mode (#118263) Added `_ErrorDescription.toString()`
-
- 23 Feb, 2023 1 commit
-
-
Lioness100 authored
* Fix typos * lowercase animated & opacity * Undo typo fix --------- Co-authored-by: Michael Goderbauer <goderbauer@google.com>
-
- 13 Feb, 2023 1 commit
-
-
Ian Hickson authored
-
- 03 Feb, 2023 1 commit
-
-
Polina Cherkasova authored
-
- 21 Dec, 2022 1 commit
-
-
Michael Goderbauer authored
-
- 13 Dec, 2022 1 commit
-
-
Michael Thomsen authored
-
- 29 Nov, 2022 1 commit
-
-
Michael Thomsen authored
* Ignore NullThrownError deprecation * Fix whitespace
-
- 18 Nov, 2022 1 commit
-
-
chunhtai authored
* Disallow dispose during listener callback * addressing comment * add comments to code * Addressing comments * fix test
-
- 14 Nov, 2022 1 commit
-
-
Siva authored
* Fix test in preparation of the Dart VM switching to being null safe by default. * Fix analyze error. * Format. * Remove print. * Fix analyzer lint. * Fix warnings.
-
- 28 Oct, 2022 1 commit
-
-
Kenzie Davisson authored
-
- 25 Oct, 2022 1 commit
-
-
Jason Simmons authored
-
- 15 Sep, 2022 1 commit
-
-
Polina Cherkasova authored
-
- 12 Sep, 2022 1 commit
-
-
Kenzie Davisson authored
-
- 10 Sep, 2022 1 commit
-
-
Polina Cherkasova authored
-
- 09 Sep, 2022 1 commit
-
-
Kenzie Davisson authored
* Create enum for scheduler service extension names so they can be accessed from tooling * fix two more strings
-
- 08 Sep, 2022 1 commit
-
-
Kenzie Davisson authored
-