def METHOD_NAME(hostname=('h', hostname), port=('p', port),
           threaded=threaded, processes=processes):
    """Start a new development server."""
    from werkzeug.serving import run_simple
    app = ProfilerMiddleware(app_factory(), stream, sort_by, restrictions)
    run_simple(hostname, port, app, False, None, threaded, processes)