anchor.diff:  import 'package:analyzer/src/generated/constant.dart';
   import 'package:analyzer/src/generated/element.dart';
   import 'package:analyzer/src/generated/engine.dart';
  -import 'package:analyzer/src/generated/java_core.dart' show JavaSystem;
   import 'package:analyzer/src/generated/java_io.dart';
   import 'package:analyzer/src/generated/sdk.dart';
   import 'package:analyzer/src/generated/sdk_io.dart';
  
positive.code:     if (printMode == 1) {
        _printErrorsAndPerf();
      } else if (printMode == 2) {
        _printColdPerf();
      }
  
      // compute max severity and set exitCode
  
negative.code:         new ErrorFormatter(sink, new _OptionsWrapper(_options), isDesiredError);
      formatter.formatErrors(errorInfos);
  
      //_printWarmPerf();
    }
  
  //  _printColdPerf() {
  //    // print cold VM performance numbers
  //    int totalTime = JavaSystem.currentTimeMillis() - _startTime;
  //    int ioTime = PerformanceStatistics.io.result;
  //    int scanTime = PerformanceStatistics.scan.result;
  //    int parseTime = PerformanceStatistics.parse.result;
  //    int resolveTime = PerformanceStatistics.resolve.result;
  //    int errorsTime = PerformanceStatistics.errors.result;
  //    int hintsTime = PerformanceStatistics.hints.result;
  //    stdout.writeln("io-cold:$ioTime");
  //    stdout.writeln("scan-cold:$scanTime");
  //    stdout.writeln("parse-cold:$parseTime");
  //    stdout.writeln("resolve-cold:$resolveTime");
  //    stdout.writeln("errors-cold:$errorsTime");
  //    stdout.writeln("hints-cold:$hintsTime");
  //    stdout.writeln("other-cold:${totalTime
  //        - (ioTime + scanTime + parseTime + resolveTime + errorsTime + hintsTime)}");
  //    stdout.writeln("total-cold:$totalTime");
  //  }
  
  //  _printWarmPerf() {
  //    // print performance numbers
  //    if (_options.perf || _options.warmPerf) {
  //      int totalTime = JavaSystem.currentTimeMillis() - _startTime;
  //      int ioTime = PerformanceStatistics.io.result;
  //      int scanTime = PerformanceStatistics.scan.result;
  //      int parseTime = PerformanceStatistics.parse.result;
  //      int resolveTime = PerformanceStatistics.resolve.result;
  //      int errorsTime = PerformanceStatistics.errors.result;
  //      int hintsTime = PerformanceStatistics.hints.result;
  //      stdout.writeln("io:$ioTime");
  //      stdout.writeln("scan:$scanTime");
  //      stdout.writeln("parse:$parseTime");
  //      stdout.writeln("resolve:$resolveTime");
  //      stdout.writeln("errors:$errorsTime");
  //      stdout.writeln("hints:$hintsTime");
  //      stdout.writeln("other:${totalTime
  //      - (ioTime + scanTime + parseTime + resolveTime + errorsTime + hintsTime)}");
  //      stdout.writeln("total:$totalTime");
  //    }
  //  }
  
    void _setOptions(AnalysisOptionsImpl analysisOptions) {
      analysisOptions.cacheSize = _options.cacheSize;
  