Unverified Commit 0fa15e04 authored by Mouad Debbar's avatar Mouad Debbar Committed by GitHub

[web] Add benchmarks for the Material3 Components screen (#124354)

[web] Add benchmarks for the Material3 Components screen
parent 1f04b75f
...@@ -17,6 +17,7 @@ import 'src/web/bench_draw_rect.dart'; ...@@ -17,6 +17,7 @@ import 'src/web/bench_draw_rect.dart';
import 'src/web/bench_dynamic_clip_on_static_picture.dart'; import 'src/web/bench_dynamic_clip_on_static_picture.dart';
import 'src/web/bench_image_decoding.dart'; import 'src/web/bench_image_decoding.dart';
import 'src/web/bench_link_infinite_scroll.dart'; import 'src/web/bench_link_infinite_scroll.dart';
import 'src/web/bench_material_3.dart';
import 'src/web/bench_mouse_region_grid_hover.dart'; import 'src/web/bench_mouse_region_grid_hover.dart';
import 'src/web/bench_mouse_region_grid_scroll.dart'; import 'src/web/bench_mouse_region_grid_scroll.dart';
import 'src/web/bench_mouse_region_mixed_grid_hover.dart'; import 'src/web/bench_mouse_region_mixed_grid_hover.dart';
...@@ -60,6 +61,7 @@ final Map<String, RecorderFactory> benchmarks = <String, RecorderFactory>{ ...@@ -60,6 +61,7 @@ final Map<String, RecorderFactory> benchmarks = <String, RecorderFactory>{
BenchWrapBoxScroll.benchmarkName: () => BenchWrapBoxScroll(), BenchWrapBoxScroll.benchmarkName: () => BenchWrapBoxScroll(),
BenchLinkInfiniteScroll.benchmarkName: () => BenchLinkInfiniteScroll.forward(), BenchLinkInfiniteScroll.benchmarkName: () => BenchLinkInfiniteScroll.forward(),
BenchLinkInfiniteScroll.benchmarkNameBackward: () => BenchLinkInfiniteScroll.backward(), BenchLinkInfiniteScroll.benchmarkNameBackward: () => BenchLinkInfiniteScroll.backward(),
BenchMaterial3Components.benchmarkName: () => BenchMaterial3Components(),
// CanvasKit-only benchmarks // CanvasKit-only benchmarks
if (isCanvasKit) ...<String, RecorderFactory>{ if (isCanvasKit) ...<String, RecorderFactory>{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment