Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:67028 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 94963 invoked from network); 10 Apr 2013 13:22:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Apr 2013 13:22:19 -0000 Authentication-Results: pb1.pair.com smtp.mail=zeev@zend.com; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=zeev@zend.com; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain zend.com does not designate 209.85.215.47 as permitted sender) X-PHP-List-Original-Sender: zeev@zend.com X-Host-Fingerprint: 209.85.215.47 mail-la0-f47.google.com Received: from [209.85.215.47] ([209.85.215.47:36150] helo=mail-la0-f47.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 12/51-21449-A8765615 for ; Wed, 10 Apr 2013 09:22:19 -0400 Received: by mail-la0-f47.google.com with SMTP id fj20so421638lab.6 for ; Wed, 10 Apr 2013 06:22:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:references:in-reply-to:mime-version:x-mailer :thread-index:date:message-id:subject:to:cc:content-type :x-gm-message-state; bh=rPymyrIMQfuB6KeDGuziWDsleH48WkbSAF1CfxlSlRk=; b=KpFM3hxNgpNN8DmmXb9utAodm862cwvaoX/6BZk42uPyTGYN9iWJOKGIOhq9tJAJA9 I0Aqc/6fqCbXqlfVd5RDFAqs2jswU1/mj0fpR2olQ2GZbAbB86olsXtDyMkbsDDAcaCJ fip1KXKIPn7ls7NmFLY1B+ynGg3tJrROIT5G1+6xj+kDBaXLcV5IA0BPYGZH+A6i4Hk+ EocPdRySnHQEkO+kgHXDgB5jksStBkM356dMVK6bqgJl5IAKZjn3kCfv72oj5/YlErOW DPHwnFnVcrZA8k5oQc/CQYAK+fcfnRldb3lNAL3MZCxLBtItKjvvKYviFGGBYTJi4c7G jXKw== X-Received: by 10.152.109.112 with SMTP id hr16mr1034063lab.38.1365600135882; Wed, 10 Apr 2013 06:22:15 -0700 (PDT) References: In-Reply-To: MIME-Version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQFVPpSNbOGMJmTVWXvN9y+HxauxBwDgUUw9ATMC2FqZsMQW8A== Date: Wed, 10 Apr 2013 16:22:14 +0300 Message-ID: <54fcf4b0bdf8a7d5d335f2e64498d529@mail.gmail.com> To: Florin Patan , Arvids Godjuks Cc: PHP Internals Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQmK6bHEjYn09pJq7Mla7m0COk3Fz1K6hyEETXYJKZ0LTTHBYjihWf5cb8u1N1H+HsJN8Fv/mvsLWTkRBFsJCnrIU6i52Tx/oi04AP+wNLGhja0HnTAYcK1uvlPnXL/UX8TX4vln Subject: RE: [PHP-DEV] OPcache optimizer improvement in PHP-5.5? From: zeev@zend.com (Zeev Suraski) > If applying optimizations in multiple passes would be a problem for speed, > especially on the first request, then maybe a way to solve this would be > to have > a configurable variable like: opcache.passes which is between 1 and 10 > (lets say) > and then have the engine do something like > this: My gut/educated guess is that in fact it's not going to be a problem with the kinds of optimizations that are practical for our execution engine (our ability to be ultra-creative with optimizations is very limited, compared to say gcc). I'd defer solutions to that problem until we actually see that it's a real problem to begin with. Generally, the book-keeping involved with selectively and intelligently applying optimizations is probably going to be more costly than doing them in the first place - but that obviously depends on the nature of optimizations we'll come up with. Zeev