Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:82498 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 85091 invoked from network); 11 Feb 2015 22:16:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Feb 2015 22:16:17 -0000 Authentication-Results: pb1.pair.com header.from=mike.php.net@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=mike.php.net@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.47 as permitted sender) X-PHP-List-Original-Sender: mike.php.net@gmail.com X-Host-Fingerprint: 74.125.82.47 mail-wg0-f47.google.com Received: from [74.125.82.47] ([74.125.82.47:59638] helo=mail-wg0-f47.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C5/03-02515-EA4DBD45 for ; Wed, 11 Feb 2015 17:16:15 -0500 Received: by mail-wg0-f47.google.com with SMTP id n12so6408423wgh.6 for ; Wed, 11 Feb 2015 14:16:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=bl4xKCvmFjRkiursCXiwgJa3Vamg2f/EzJlWV9cRjH4=; b=W6l00aeOvxMcv2z392lj8c6AS1fr17yYbNfxnIfTDjqERw9GJ9yAXhhErrThieIlOP msNC63wfTKYQvzUiRmWIFcKE+N3yD4ZuqHOC824Eu4PvciZeDkyBoVxrhN1C6YoMMpaP EWlwD9zzRlitCN7lWg1OBdXHSRV54dU3z5+4HC60cMUEWF+8+NNNhLv1gVEO+uBqX1Bu 3J74S5WcO/2sa7pw1pjEA6ARAFCwWiq9roZikiGZKPO2nUXzrDJVDu3N3q/dO/qH2lyc fg1HJUxv35CbUPby82NTOfQ1Jf50ChBETL5SCw12TFAMDWbu7JBvV8ihdWaiZJycoa4K v6PA== X-Received: by 10.194.77.133 with SMTP id s5mr1348381wjw.71.1423692971341; Wed, 11 Feb 2015 14:16:11 -0800 (PST) Received: from [192.168.2.120] (89-104-28-113.customer.bnet.at. [89.104.28.113]) by mx.google.com with ESMTPSA id fo9sm10225179wib.16.2015.02.11.14.16.10 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Feb 2015 14:16:10 -0800 (PST) Sender: Michael Wallner Message-ID: <54DBD4A9.8030402@php.net> Date: Wed, 11 Feb 2015 23:16:09 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Daniel Lowrey CC: "internals@lists.php.net" References: In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] [DISCUSSION] pecl_http From: mike@php.net (Michael Wallner) On 06/02/15 17:44, Daniel Lowrey wrote: > If you doubt that this is a solved problem in userland consider the > performance of my own 100% userland HTTP client demonstrated here > without the use of curl or any other extensions: > > https://gist.github.com/rdlowrey/54171625334670ccb9f5 I can replicate about 2.5s with artax/master on http://example.org, which is about the same pace like pecl_http. With pipelining enabled pecl_http/master peeks at about 0.7s, but what's the point? PS: I'm on an advertised 150/15 Mbit connection. -- Regards, Mike