Skip to content

Commit

Permalink
doc microbenchmark (dart-lang#1839)
Browse files Browse the repository at this point in the history
* doc microbenchmark

* - lib.
  • Loading branch information
pq authored Nov 14, 2019
1 parent 827a5f6 commit d998626
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tool/benchmark.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ import 'package:linter/src/utils.dart';

import '../test/ascii_utils_test.dart' as utils_test;

/// Micro-benchmarks.
///
/// More comprehensive benchmarks are run like so:
///
/// dart bin/linter.dart --benchmark -q -c example/all.yaml .
main() {
FileNameRegexpTestBenchmarkGood().report();
FileNameCharLoopTestBenchmarkGood().report();
Expand Down

0 comments on commit d998626

Please sign in to comment.