Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:81963 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 64212 invoked from network); 5 Feb 2015 20:40:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Feb 2015 20:40:01 -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 209.85.212.180 as permitted sender) X-PHP-List-Original-Sender: mike.php.net@gmail.com X-Host-Fingerprint: 209.85.212.180 mail-wi0-f180.google.com Received: from [209.85.212.180] ([209.85.212.180:64540] helo=mail-wi0-f180.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8B/FA-27691-025D3D45 for ; Thu, 05 Feb 2015 15:40:01 -0500 Received: by mail-wi0-f180.google.com with SMTP id h11so391589wiw.1 for ; Thu, 05 Feb 2015 12:39:58 -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=38jgaN+nOAhK6lALiXIYZ5dp9yCVpieaF3yhRj/3uQM=; b=OBUwb5KFisFHafJ4LxfWpg3HpIuooXyXmK4uGODkWxEiNTGOS0fCbXsr/HxoPKUPYL RFQHpbZbRhFKfES5T/em/DshZPXgXfnbOabIvPhveIQtpNRJIvDloC8Pr9PpqPag+Bl4 feUvZtNrYiWxeCNrA6gVKChxSd8feogz+FUc920Q+qdDsYLNmk8MsNOXyd3Z5/C3Rjpw vDRezkCMzQEyUS8J3zwYxMPiV3+Nf/zUqqopFcCZggCwj75hyzM01hdtcYMEs/u2u4EV NmBle3nsKYI/8rT2ryxtxsBQob/U+IAw6Sj5f4C9UZ1rKdioadIkRKEaRdYqBnvHZCn3 tnrQ== X-Received: by 10.194.108.41 with SMTP id hh9mr11927612wjb.25.1423168797859; Thu, 05 Feb 2015 12:39:57 -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 p6sm218657wia.14.2015.02.05.12.39.56 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Feb 2015 12:39:56 -0800 (PST) Sender: Michael Wallner Message-ID: <54D3D51C.8070108@php.net> Date: Thu, 05 Feb 2015 21:39:56 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Stanislav Malyshev , Pierre Joye CC: PHP internals References: <54D217E7.8030407@php.net> <54D2AE91.8090800@gmail.com> <54D3271E.2080207@php.net> <54D3CE01.4070903@php.net> <54D3D26A.6050405@gmail.com> In-Reply-To: <54D3D26A.6050405@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: [RFC] [DISCUSSION] pecl_http From: mike@php.net (Michael Wallner) Hi Stas! On 05/02/15 21:28, Stanislav Malyshev wrote: > Hi! > >> Does the following kcachegrind screenshot give an idea (I used a minimum >> node cost of 10% to simplify the graph)? >> >> Left is raphf enabled (24M Ir) and on the right raphf disabled (35M Ir): >> http://dev.iworks.at/ext-http/raphf.png >> >> Have a look on the top-most far-right highlighted block, which is solely >> devoted to tearing up curl instances when raphf is disabled. > > I still don't understand why the comparison is made against worst > possible implementation (going through all connection cycle every time) > as opposed to logical implementation of HTTP connection object > supporting keepalive. > Uhm, I'm not sure I understand :-? Weren't I supposed to measure exacly that? Let me know, if you wanted something else to be compared. -- Regards, Mike