Enable prefer_relative_imports and fix files. (#91573)

This commit is contained in:
Ian Hickson
2021-10-11 10:28:07 -07:00
committed by GitHub
parent 7b01346c5c
commit f90b019c68
39 changed files with 105 additions and 91 deletions

View File

@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:macrobenchmarks/src/web/bench_paths_recording.dart' as recording;
import 'package:macrobenchmarks/src/web/recorder.dart';
import 'bench_paths_recording.dart' as recording;
import 'recorder.dart';
/// Measure the performance of path construction.
///

View File

@@ -4,7 +4,7 @@
import 'dart:ui';
import 'package:macrobenchmarks/src/web/recorder.dart';
import 'recorder.dart';
/// Measure the performance of paint bounds estimation by recording a picture
/// without actually rendering it.

View File

@@ -7,9 +7,6 @@ import 'dart:convert' show json;
import 'dart:html' as html;
import 'dart:math' as math;
import 'package:macrobenchmarks/src/web/bench_text_layout.dart';
import 'package:macrobenchmarks/src/web/bench_text_out_of_picture_bounds.dart';
import 'src/web/bench_build_image.dart';
import 'src/web/bench_build_material_checkbox.dart';
import 'src/web/bench_card_infinite_scroll.dart';
@@ -25,6 +22,7 @@ import 'src/web/bench_pageview_scroll_linethrough.dart';
import 'src/web/bench_paths.dart';
import 'src/web/bench_picture_recording.dart';
import 'src/web/bench_simple_lazy_text_scroll.dart';
import 'src/web/bench_text_layout.dart';
import 'src/web/bench_text_out_of_picture_bounds.dart';
import 'src/web/bench_wrapbox_scroll.dart';
import 'src/web/recorder.dart';