anchor.diff:      })
     ]).then((_) {
       HttpServer.bind(address, port).then((server) {
  +      server.serverHeader = 'dart';
         server.listen((request) {
           switch (request.uri.path) {
  -          case '/':
  +          case '/json':
               _jsonTest(request);
               break;
             case '/db':
               _dbTest(request);
               break;
  +          case '/queries':
  +            _queriesTest(request);
  +            break;
             case '/fortunes':
               _fortunesTest(request);
               break;
  -          case '/update':
  -            _updateTest(request);
  +          case '/updates':
  +            _updatesTest(request);
               break;
             case '/plaintext':
               _plaintextTest(request);
  
positive.code:   _sendJson(request, { 'message': 'Hello, World!' });
  }
  
  /// Responds with the database query test to the [request].
  _dbTest(request) {
    var queries = _parseInt(request.uri.queryParameters['queries']).clamp(1, 500);
    var worlds = new List<World>(queries);
    Future.wait(new List.generate(queries, (index) {
      return _connectionPool.connect().then((connection) {
        return connection.query(
                'SELECT id, randomNumber FROM world WHERE id = @id;',
                { 'id': _RANDOM.nextInt(_WORLD_TABLE_SIZE) + 1 })
            .toList()
            .then((rows) {
              //
              // The benchmark's constraints tell us there is exactly one row.
              //
              var row = rows[0];
              worlds[index] = new World(row[0], row[1]);
            })
            .whenComplete(() { connection.close(); });
      });
    }, growable: false)).then((_) { _sendJson(request, worlds); });
  }
  
  /// Responds with the fortunes test to the [request].
  _fortunesTest(request) {
    var fortunes = [];
    _connectionPool.connect().then((connection) {
      return connection.query('SELECT id, message FROM fortune;')
          .toList()
          .then((rows) {
            for (var row in rows) {
              fortunes.add(new Fortune(row[0], row[1]));
            }
          })
          .whenComplete(() { connection.close(); });
    }).then((_) {
      fortunes.add(new Fortune(0, 'Additional fortune added at request time.'));
      fortunes.sort();
      _sendHtml(request, _fortunesTemplate.renderString({
  
negative.code: import 'dart:async' show Future;
  import 'dart:io';
  import 'dart:utf';
  import 'dart:json' as json;
  import 'dart:math' show Random;
  import 'package:args/args.dart' show ArgParser;
  