Remove errant double spaces (#110758)
This commit is contained in:
@@ -181,7 +181,7 @@ Future<void> main() async {
|
||||
|
||||
/// Calculates the smoothness measure from `scrollOffset` and `delays` list.
|
||||
///
|
||||
/// Smoothness (`abs_jerk`) is measured by the absolute value of the discrete
|
||||
/// Smoothness (`abs_jerk`) is measured by the absolute value of the discrete
|
||||
/// 2nd derivative of the scroll offset.
|
||||
///
|
||||
/// It was experimented that jerk (3rd derivative of the position) is a good
|
||||
|
||||
@@ -24,7 +24,7 @@ void main() async {
|
||||
watch.reset();
|
||||
watch.start();
|
||||
for (int i = 0; i < _kBatchSize; i += 1) {
|
||||
// Note: We don't load images like this. PlatformAssetBundle is used for
|
||||
// Note: We don't load images like this. PlatformAssetBundle is used for
|
||||
// other assets (like Rive animations). We are using an image because it's
|
||||
// conveniently sized and available for the test.
|
||||
tally += (await bundle.load('packages/flutter_gallery_assets/places/india_pondicherry_salt_farm.png')).lengthInBytes;
|
||||
|
||||
@@ -8,7 +8,6 @@ import 'dart:math' as math;
|
||||
import 'package:flutter/foundation.dart' show kDebugMode;
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
|
||||
import 'package:microbenchmarks/common.dart';
|
||||
|
||||
List<Object?> _makeTestBuffer(int size) {
|
||||
@@ -195,7 +194,7 @@ Future<void> _runTests() async {
|
||||
);
|
||||
|
||||
/// WARNING: Don't change the following line of code, it will invalidate
|
||||
/// `Large` tests. Instead make a different test. The size of largeBuffer
|
||||
/// `Large` tests. Instead make a different test. The size of largeBuffer
|
||||
/// serialized is 14214 bytes.
|
||||
final List<Object?> largeBuffer = _makeTestBuffer(1000);
|
||||
final ByteData largeBufferBytes =
|
||||
|
||||
Reference in New Issue
Block a user