Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:84234 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 12585 invoked from network); 3 Mar 2015 13:05:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Mar 2015 13:05:19 -0000 Authentication-Results: pb1.pair.com smtp.mail=zeev@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=zeev@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 74.125.82.46 as permitted sender) X-PHP-List-Original-Sender: zeev@zend.com X-Host-Fingerprint: 74.125.82.46 mail-wg0-f46.google.com Received: from [74.125.82.46] ([74.125.82.46:39296] helo=mail-wg0-f46.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CE/A7-03783-D81B5F45 for ; Tue, 03 Mar 2015 08:05:18 -0500 Received: by wggx12 with SMTP id x12so39847272wgg.6 for ; Tue, 03 Mar 2015 05:05:14 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:references:in-reply-to:mime-version :thread-index:date:message-id:subject:to:cc:content-type; bh=d3VeLyKXVtUF2Dbop/xk/PGWg+lMLNqS/8+WoigBhfw=; b=ZrQCCO8mzlzAsHn1hcmqKwaK9FP1ULNJWJI1W2YEImaF3xSOb/Ojg+jUxVe+HFAI7U hX3+c2UTMWHYzFAO7AjBFkRK3fE78LmN3lWdv0kssJ0cHnP2lXiZJivP9jVb3j6ewgWN 1TftYMrz7RB7Ul8bzfjbJehd+kDKUNLjf5XdRcG/vSVSDTmSjSlZVilaGfSc9nVeSzbX eeKsR6d+ldUa3UJwlDEGJfzZcjc1Bbyl1GG2plPNPsQFuChbGfa92Tuc7ISuZw8FGlGZ wb4cxR37VIQYa504nbErpMoQ0qQF1YvVXCJ5o8yuYHlYI0IB9pKBosCz59eeQY7JkdVM gwgA== X-Gm-Message-State: ALoCoQkiFZ4URXXxFLoJKerM9meEQuaMiWi9u4G26t4aXKChtQbvmkhlOdvJ8seBbyEmbDXYjhw+2b5+5odhMZ9ppTE4bcwQRR1To82BSmpn5RmM94OK6bHe2tTSEEXxI8y5ZJ1xlWMXX9jGCQLkmXAPtkjsGqR0JA== X-Received: by 10.194.63.172 with SMTP id h12mr67760433wjs.48.1425387913974; Tue, 03 Mar 2015 05:05:13 -0800 (PST) References: <54F08FF3.3040404@seld.be> <63262a9c0edd51bbf38df2a00c87340e@mail.gmail.com> <9977a20c9d756489f41e666d23c89e3f@mail.gmail.com> In-Reply-To: MIME-Version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQKGyN3KgWG36vID82kvfjRJrrXIyAJK0qX5ATr4h/cC0qV80wNZyGBIAZYUbesBqsedZgIrANg8AZZnn6cCJ35+AQFt/8XUAZZse/8CQ+t/FgJqnzwNmslZRAA= Date: Tue, 3 Mar 2015 15:05:13 +0200 Message-ID: <9656140ae786d42e7b0da11dbd416a61@mail.gmail.com> To: Anthony Ferrara Cc: PHP Internals Content-Type: text/plain; charset=UTF-8 Subject: RE: [PHP-DEV] Re: Zend JIT Open Sourced From: zeev@zend.com (Zeev Suraski) > So I do apologize to the person. I don't to the code. I wanted to verify whether my gut was correct (minimal amount of output, and stdout is in fact buffered - output shouldn't move the needle) and asked Dmitry to rerun the C test on the same system, but this time with the output code completely commented out: real 0m0.011s (+- 0.01) user 0m0.011s (+- 0.01) sys 0m0.001s Apologies to the code might be in order :) The source of the JIT engine's edge is, as Dmitry and Andi said, the CPU-specific optimizations that gcc -O2 doesn't generate, and therefore it can actually be faster than a generic native executable in some (I would guess not all that common) cases. Zeev