1. 09 Aug, 2023 1 commit
  2. 08 Aug, 2023 1 commit
  3. 07 Aug, 2023 1 commit
    • Matej Knopp's avatar
      Add static_path_tessellation macrobenchmark (#131837) · 1c7e2afc
      Matej Knopp authored
      This adds a macrobenchmark representative of a real world application that uses SVG icons. The scenario of rasterizing complex paths that don't change over time does not seem to be covered by any other macrobenchmark and shows a significantly slower impeller performance compared to skia.
      
      It's actually bit problematic to measure this because on A15 the CPU load with impeller is high enough to trigger CPU frequency change. So in order to get consistent reading I had to add a spinning background thread that would keep the CPU at highest frequency.
      
      ```objc
        [NSThread detachNewThreadWithBlock:^{
          while (true) {
            pthread_yield_np();
          }
        }];
      ```
      
      ```bash
      flutter drive --profile --local-engine=ios_profile -t test_driver/run_app.dart --driver test_driver/path_tessellation_static_perf_test.dart
      ```
      
      | average_frame_build_time_millis |Time|
      |--|--|
      | Impeller | 0.46686524822695047 |
      | Skia | 0.4625749999999999 |
      | Skia - No RasterCache | 0.47173750000000086|
      
      | average_frame_rasterizer_time_millis | Time |
      |--|--|
      | Impeller | 6.654328519855595 |
      | Skia - Raster Cache |  0.2534123711340209 * |
      | Skia - No RasterCache |  0.53424375 |
      
      * Adding the `GeometryPainter` seems to have triggered the complexity threshold for raster cache.
      
      <img alt="screenshot" width="320" src="https://github.com/flutter/flutter/assets/96958/7a2f9384-b512-477b-bffa-058d4d284a41"/>
      1c7e2afc
  4. 04 Aug, 2023 1 commit
  5. 15 May, 2023 2 commits
  6. 24 Apr, 2023 1 commit
  7. 31 Mar, 2023 1 commit
  8. 22 Mar, 2023 1 commit
  9. 11 Aug, 2022 1 commit
  10. 14 Jul, 2022 1 commit
  11. 26 May, 2022 1 commit
  12. 28 Apr, 2022 1 commit
  13. 08 Feb, 2022 1 commit
  14. 24 Aug, 2021 1 commit
  15. 29 Jun, 2021 1 commit
  16. 23 Jun, 2021 3 commits
  17. 15 May, 2021 1 commit
  18. 14 May, 2021 1 commit
  19. 07 May, 2021 3 commits
  20. 06 May, 2021 1 commit
  21. 03 May, 2021 2 commits
  22. 27 Apr, 2021 1 commit
  23. 21 Apr, 2021 1 commit
  24. 31 Mar, 2021 1 commit
  25. 30 Mar, 2021 1 commit
  26. 04 Mar, 2021 1 commit
  27. 02 Mar, 2021 1 commit
  28. 04 Feb, 2021 2 commits
  29. 03 Feb, 2021 1 commit
  30. 12 Jan, 2021 1 commit
  31. 18 Oct, 2020 1 commit
  32. 23 Sep, 2020 1 commit
  33. 16 Sep, 2020 1 commit