Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:36484 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 5803 invoked from network); 25 Mar 2008 10:46:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Mar 2008 10:46:26 -0000 Authentication-Results: pb1.pair.com smtp.mail=dmitry@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=dmitry@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.162 as permitted sender) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 212.25.124.162 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from [212.25.124.162] ([212.25.124.162:28582] helo=mail.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FE/82-27660-008D8E74 for ; Tue, 25 Mar 2008 05:46:26 -0500 Received: (qmail 22119 invoked from network); 25 Mar 2008 10:46:21 -0000 Received: from unknown (HELO ?10.1.20.25?) (10.1.20.25) by cvs.zend.com with SMTP; 25 Mar 2008 10:46:21 -0000 Message-ID: <47E8D7FC.7020409@zend.com> Date: Tue, 25 Mar 2008 13:46:20 +0300 User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Marcus Boerger CC: PHP Internals List References: <47E8D19C.6090608@zend.com> <505001029.20080325112757@marcus-boerger.de> In-Reply-To: <505001029.20080325112757@marcus-boerger.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] re2c scanner issue From: dmitry@zend.com (Dmitry Stogov) Sorry, but I didn't store benchmarks before re2c patch so I can just compare PHP_5_3 and PHP_5_2. Drupal 20% faster Qdig 2% faster typo3 30% faster wordpress 15% faster xoops 10% faster Not all the speedup caused by re2c scanner, but it makes significant part of it. Thanks. Dmitry. Marcus Boerger wrote: > Hello Dmitry, > > Tuesday, March 25, 2008, 11:19:08 AM, you wrote: > >> Hi Marcus, > >> The ext/tokenizer/tests/token_get_all_variation17.phpt is probably the > > There are probably more changes coming so there is not so much need to > change this part right now. > >> last broken test. It has a memleak. I am not trying to fix it because >> you should know it much better, also re2c scanner is not ported to HEAD >> yet and you may keep changes that must be ported. > > Yep we're aware of this. Right now Scott is doing the MFB to HEAD part and > last time I talked with him he made pretty good progress. I updated a lot > of stuff in re2c to give myself more freedom in how to address the task of > bringing back multibyte support back in. I also started on the PHP side and > fixed quite a bunch of issues in the multibyte code so far. The good news > is that my normal build still works as expected. > >> BTW PHP_5_3 became faster. Good work! > > Good to hear from others. Did you do any profiling you could share? > > Best regards, > Marcus >