diff --git a/packages/devtools_app/benchmark/devtools_benchmarks_test.dart b/packages/devtools_app/benchmark/devtools_benchmarks_test.dart index 60819df5198..6a92121ad9b 100644 --- a/packages/devtools_app/benchmark/devtools_benchmarks_test.dart +++ b/packages/devtools_app/benchmark/devtools_benchmarks_test.dart @@ -176,7 +176,7 @@ void _verifyScoresAgainstThresholds( } } -const _frameTimeFor60FPSInMicros = 16666.6; +const _frameTimeFor60FPSInMicros = 16666.6 / 4; // const _frameTimeFor30FPSInMicros = 33333.3; /// Creates the expected [DevToolsBenchmark]s for the specified compiler. diff --git a/tool/ci/benchmark_performance.sh b/tool/ci/benchmark_performance.sh index 8bde95a478a..a2301c8c900 100755 --- a/tool/ci/benchmark_performance.sh +++ b/tool/ci/benchmark_performance.sh @@ -4,11 +4,11 @@ # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd. +source ./tool/ci/setup.sh + # Fast fail the script on failures. set -ex -source ./tool/ci/setup.sh - pushd $DEVTOOLS_DIR/packages/devtools_app flutter test -j, --concurrency=1 benchmark/devtools_benchmarks_test.dart popd