Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:65831 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 59146 invoked from network); 14 Feb 2013 15:34:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Feb 2013 15:34:06 -0000 Authentication-Results: pb1.pair.com header.from=indeyets@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=indeyets@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.170 as permitted sender) X-PHP-List-Original-Sender: indeyets@gmail.com X-Host-Fingerprint: 74.125.82.170 mail-we0-f170.google.com Received: from [74.125.82.170] ([74.125.82.170:59074] helo=mail-we0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 67/00-58622-CE30D115 for ; Thu, 14 Feb 2013 10:34:05 -0500 Received: by mail-we0-f170.google.com with SMTP id z53so2042670wey.15 for ; Thu, 14 Feb 2013 07:34:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=nKbRn1ruUg935nqLyJd9gD90ahW2qvsRkSjuFVDAalU=; b=H3/p01z/Q/WTLEnQYOGRFtaGo3u4a2HstO7LHXFdC4BMFWo5LcQdzmJd2mXrAyKr0m zAMt0y/v/T6rKNZ9BPqK9Z1lYFgUSgZwDI38LBZEl7tIObCJYRYlRmxoVIGbfgbaG9jO Cgb1BHK7hxcSdcSFKswreDjKQl82tgaBhFTpwqbfo2TaHITjVw38fMQ9l8ehIePRxVLO OqqrUF2C/UBw5utJuPFhUw6jHhZ5EhUYVCqE8Mu7CXNwYevP4i3wB6+PkwNdSDpBuUus LpvaN4qckSIOsEkhY1opZcsSGnPg8L4/zYlv1vDtNTcQVTnW++9TTzEm4Od9gX2FYtar g4IA== MIME-Version: 1.0 X-Received: by 10.194.86.38 with SMTP id m6mr30792881wjz.13.1360856041090; Thu, 14 Feb 2013 07:34:01 -0800 (PST) Received: by 10.216.31.131 with HTTP; Thu, 14 Feb 2013 07:34:00 -0800 (PST) In-Reply-To: <7de2703f77537a47b457c4479a19ac3a@mail.gmail.com> References: <511BFC81.8020400@oracle.com> <7de2703f77537a47b457c4479a19ac3a@mail.gmail.com> Date: Thu, 14 Feb 2013 19:34:00 +0400 Message-ID: To: Zeev Suraski Cc: Christopher Jones , PHP internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Zend Optimizer+ Source Code now available From: indeyets@gmail.com (Alexey Zakhlestin) On Thu, Feb 14, 2013 at 7:21 PM, Zeev Suraski wrote: > O+ does perform some optimizations in addition to caching code, in a pretty > sophisticated manner actually (block optimizations). Optimizations - which > can be expensive to carry out - are definitely a good fit with an opcode > cache, that ensures that you wouldn't have to do these optimizations more > than once. I'm obviously subjective but I think the name Optimizer+ does a > good job at suggesting that it's both an Optimizer but also something else. > Perhaps we should call it OptiCache? :) > >> Questions (I haven't dug through the code): >> >> - What do CLI processes share? > > IIRC nothing, presently it's not very useful for CLI except for testing > (it'll only apply to a single run). I could be wrong though, Dmitry? Well, if it does block-level optimizations, that is already enough to make it useful for CLI-scripts, as even though caching is not relevant for long-running processes, optimizations should make things faster. Are optimizations documented? -- Alexey Zakhlestin, http://github.com/indeyets