diff --git a/packages/devtools_app/benchmark/devtools_benchmarks_test.dart b/packages/devtools_app/benchmark/devtools_benchmarks_test.dart index 987d06c5e81..96b93aa7958 100644 --- a/packages/devtools_app/benchmark/devtools_benchmarks_test.dart +++ b/packages/devtools_app/benchmark/devtools_benchmarks_test.dart @@ -75,12 +75,7 @@ Future _runBenchmarks({bool useWasm = false}) async { for (final devToolsBenchmark in DevToolsBenchmark.values) { final benchmarkName = devToolsBenchmark.id; - // Note: Due to https://github.com/flutter/flutter/pull/175392 there is no - // longer any difference in benchmark events for skwasm vs. canvaskit. - // - // TODO(https://github.com/flutter/flutter/issues/177057): Remove hardcoded - // useWasm: false param when package:web_benchmarks is updated. - final expectedMetrics = expectedBenchmarkMetrics(useWasm: false); + final expectedMetrics = expectedBenchmarkMetrics(); const expectedComputations = BenchmarkMetricComputation.values; final scores = taskResult.scores[benchmarkName] ?? []; expect( diff --git a/packages/devtools_app/pubspec.yaml b/packages/devtools_app/pubspec.yaml index 939f4a48a24..8378823198b 100644 --- a/packages/devtools_app/pubspec.yaml +++ b/packages/devtools_app/pubspec.yaml @@ -76,7 +76,7 @@ dev_dependencies: stager: ^1.3.0 stream_channel: ^2.1.1 test: ^1.21.0 - web_benchmarks: ^4.0.0 + web_benchmarks: ^4.1.0 webkit_inspection_protocol: ">=0.5.0 <2.0.0" flutter: