anchor.diff:      // ignore errors.
     }
   }
  -
  -/// Report that metric [name] took [time] micro-seconds to process
  -/// [scanTotalChars] characters.
  -void report(String name, int time) {
  -  var sb = new StringBuffer();
  -  sb.write('$name: $time us, ${time ~/ 1000} ms');
  -  sb.write(', ${scanTotalChars * 1000 ~/ time} chars/ms');
  -  print('$sb');
  -}
  -
  -Future<Program> generateKernel(Uri entryUri,
  -    {bool useSdkSummary: false, bool compileSdk: true}) async {
  -  var dartkTimer = new Stopwatch()..start();
  -  // TODO(sigmund): add a constructor with named args to compiler options.
  -  var options = new CompilerOptions()
  -    ..strongMode = false
  -    ..compileSdk = compileSdk
  -    ..packagesFilePath = '.packages'
  -    ..onError = ((e) => print('${e.message}'));
  -  if (useSdkSummary) {
  -    // TODO(sigmund): adjust path based on the benchmark runner architecture.
  -    // Possibly let the runner make the file available at an architecture
  -    // independent location.
  -    options.sdkSummary = 'out/ReleaseX64/dart-sdk/lib/_internal/spec.sum';
  -  } else {
  -    options.sdkPath = 'sdk';
  -  }
  -  Program program = await kernelForProgram(entryUri, options);
  -  dartkTimer.stop();
  -  var suffix = useSdkSummary ? "_sum" : "";
  -  report("kernel_gen_e2e${suffix}", dartkTimer.elapsedMicroseconds);
  -  return program;
  -}
  
positive.code:   report('link', linkTimer.elapsedMicroseconds);
  }
  
  /// Prelinks all the summaries for [files], using [unlinkedSummaries] to obtain
  /// their unlinked summaries.
  ///
  
negative.code: import 'package:analyzer/src/summary/idl.dart';
  import 'package:analyzer/src/summary/link.dart';
  import 'package:analyzer/src/summary/summarize_ast.dart';
  import 'package:front_end/compiler_options.dart';
  import 'package:front_end/kernel_generator.dart';
  import 'package:front_end/src/scanner/reader.dart';
  import 'package:front_end/src/scanner/scanner.dart';
  import 'package:front_end/src/scanner/token.dart';
  import 'package:kernel/kernel.dart';
  import 'package:package_config/discovery.dart';
  
  main(List<String> args) async {
    // TODO(sigmund): provide sdk folder as well.
  