1. 21 Jun, 2023 1 commit
    • Yegor's avatar
      [framework,web] add FlutterTimeline and semantics benchmarks that use it (#128366) · 07772a3d
      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.
      07772a3d
  2. 14 Jun, 2023 1 commit
  3. 12 Jun, 2023 1 commit
  4. 07 Jun, 2023 1 commit
    • fzyzcjy's avatar
      Super tiny fix of dead link (#128160) · 02e9d515
      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?
      02e9d515
  5. 26 May, 2023 1 commit
  6. 16 May, 2023 1 commit
  7. 08 May, 2023 1 commit
  8. 04 May, 2023 1 commit
  9. 02 May, 2023 1 commit
  10. 18 Apr, 2023 1 commit
  11. 12 Apr, 2023 1 commit
  12. 04 Apr, 2023 2 commits
  13. 03 Apr, 2023 1 commit
  14. 30 Mar, 2023 1 commit
  15. 29 Mar, 2023 1 commit
  16. 28 Mar, 2023 1 commit
  17. 22 Mar, 2023 1 commit
  18. 20 Mar, 2023 1 commit
  19. 17 Mar, 2023 2 commits
  20. 16 Mar, 2023 3 commits
  21. 01 Mar, 2023 1 commit
  22. 23 Feb, 2023 1 commit
  23. 13 Feb, 2023 1 commit
  24. 03 Feb, 2023 1 commit
  25. 21 Dec, 2022 1 commit
  26. 13 Dec, 2022 1 commit
  27. 29 Nov, 2022 1 commit
  28. 18 Nov, 2022 1 commit
  29. 14 Nov, 2022 1 commit
  30. 28 Oct, 2022 1 commit
  31. 25 Oct, 2022 1 commit
  32. 15 Sep, 2022 1 commit
  33. 12 Sep, 2022 1 commit
  34. 10 Sep, 2022 1 commit
  35. 09 Sep, 2022 1 commit
  36. 08 Sep, 2022 1 commit