Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:80431 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 64899 invoked from network); 13 Jan 2015 02:34:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Jan 2015 02:34:34 -0000 Authentication-Results: pb1.pair.com header.from=laruence@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=xinchen.h@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 209.85.215.42 as permitted sender) X-PHP-List-Original-Sender: xinchen.h@zend.com X-Host-Fingerprint: 209.85.215.42 mail-la0-f42.google.com Received: from [209.85.215.42] ([209.85.215.42:42504] helo=mail-la0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6C/32-51796-43484B45 for ; Mon, 12 Jan 2015 21:34:29 -0500 Received: by mail-la0-f42.google.com with SMTP id gd6so402682lab.1 for ; Mon, 12 Jan 2015 18:34:25 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=FtRfH1K6anQEmR+HpcyW89kyUwRGj5jOJwJxW6dbLAg=; b=lvKPW7O0rEVKd/HG69TIamMzgY2t644BC5b2QJMns3l4+H8OgSSZey0w8bRWOy5ZUi j3kwfkHrfpXWEOBUBoW3fAwNjVcZo54FuGWUpnOME7j5rswPkOzxcvHi5fyusePWn5zE X1l1EpW/mfl7ZDAhrUEnQB/xUeX3a3SMNW84X4HG1jICC/x56LM4eokY5alJ6Y4+vOBt IixmdwFd3onTT8928mO8wJMHNDHqBQ/1f/aHsLC0Q2tV55uUHzZFiF1r/h5dk48xt1VG hjDiLmMOO0aVu5+Ba0WiNN593TIStcZ3zyyhrwz3YnMDOzsRPnNLeRnSu0B8NIGNPJnO mdVQ== X-Gm-Message-State: ALoCoQnbcfT2vL6PSLa4gbAokE5FNxN79K+msT4Q9FM84ccF/28uQPkXjQgDfqRFhRqfdaYrRhwadnoKG9LWsj80FPnDdnotzIlUYp0NQg7Jx3YqvRSf+iU0iMX7AZimw6sypEp1O13z1Gm3wy8tBHqEPOFIEhqRHg== X-Received: by 10.152.121.100 with SMTP id lj4mr39421344lab.58.1421116465678; Mon, 12 Jan 2015 18:34:25 -0800 (PST) Received: from mail-la0-f51.google.com (mail-la0-f51.google.com. [209.85.215.51]) by mx.google.com with ESMTPSA id vu9sm4585541lbb.36.2015.01.12.18.34.23 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 12 Jan 2015 18:34:23 -0800 (PST) Received: by mail-la0-f51.google.com with SMTP id ms9so363805lab.10 for ; Mon, 12 Jan 2015 18:34:23 -0800 (PST) X-Received: by 10.152.204.9 with SMTP id ku9mr39943221lac.55.1421116463403; Mon, 12 Jan 2015 18:34:23 -0800 (PST) MIME-Version: 1.0 Received: by 10.114.64.176 with HTTP; Mon, 12 Jan 2015 18:34:02 -0800 (PST) In-Reply-To: References: Date: Tue, 13 Jan 2015 10:34:02 +0800 Message-ID: To: Jakub Zelenka Cc: PHP internals list Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [RFC] jsond From: laruence@php.net (Xinchen Hui) Hey: On Tue, Jan 13, 2015 at 2:06 AM, Jakub Zelenka wrote: > On Mon, Jan 12, 2015 at 1:40 PM, Xinchen Hui wrote: >> >> Unfortunately, I don't see performance improvement in wordpress. even >> slowdown a bit. >> >> for IRs , it increased IR by 0.05% while run wordpress homepage for 100 >> times :< >> >> do you think there is some room to be improvement? >> >> thanks > > > To be honest I expected that there won't be a big difference unless > json_decode is heavily used for bigger json instances. > > Anyway the decoder is not fully optimized yet and there definitely is a room > for improvents. It's basically just an initial port for PHP 7. But I think > that it's already good enough to replace the existing json ext as my > benchmarks for instances containing large strings already gives much better > results. > > And, of course, it is a PHP licensed parser... :) > sure, of course, :) thanks > Cheers > > Jakub > -- Xinchen Hui @Laruence http://www.laruence.com/