Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:80421 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 31876 invoked from network); 12 Jan 2015 18:06:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Jan 2015 18:06:51 -0000 Authentication-Results: pb1.pair.com smtp.mail=jakub.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=jakub.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.181 as permitted sender) X-PHP-List-Original-Sender: jakub.php@gmail.com X-Host-Fingerprint: 209.85.213.181 mail-ig0-f181.google.com Received: from [209.85.213.181] ([209.85.213.181:42325] helo=mail-ig0-f181.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F9/53-04585-A3D04B45 for ; Mon, 12 Jan 2015 13:06:50 -0500 Received: by mail-ig0-f181.google.com with SMTP id a13so12980840igq.2 for ; Mon, 12 Jan 2015 10:06:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=fmF7EA5bnfvan64gU3JaPQpSZx99fu6vyjgKT8UZ5pE=; b=k2P1y4eDaRHiOI8Qb1eKxIuqMQhnWqWNmL+8O+R0Ux1m2SwEYeTom6lMbeYgLvOfOt RxaB76hgX/FFmRTTfSgdzn9i2a+uhTKrafuZ5mAYnD0x8GXSkKYb+P0XtutLPKpPt7zX Z64vmTTvNBZRBWkbSiO0HYLmxMuYTH4ZAgI1JgevPuD1bzX2Ad6ukAjkXGZmrp3iHNk5 79pC/aXnG7+xihfR2Qa1E9VsXxdAU558l8ut+4iDqMzp8itr84O16JvAnnzKLdP1DkgZ kSF1LK1Wmof4bTgQvyojRm1YNrZV7NjlYLvyr29lsVNEkUHxGWl2/0zqojr2CqTbvpiW iqPw== MIME-Version: 1.0 X-Received: by 10.107.137.199 with SMTP id t68mr29763083ioi.38.1421086007079; Mon, 12 Jan 2015 10:06:47 -0800 (PST) Sender: jakub.php@gmail.com Received: by 10.107.11.30 with HTTP; Mon, 12 Jan 2015 10:06:47 -0800 (PST) In-Reply-To: References: Date: Mon, 12 Jan 2015 18:06:47 +0000 X-Google-Sender-Auth: RGMwGQ8N0oGSDGD89NC_kfDX4Yo Message-ID: To: Xinchen Hui Cc: PHP internals list Content-Type: multipart/alternative; boundary=001a113ed2f6a5ba4a050c785e50 Subject: Re: [PHP-DEV] [RFC] jsond From: bukka@php.net (Jakub Zelenka) --001a113ed2f6a5ba4a050c785e50 Content-Type: text/plain; charset=UTF-8 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... :) Cheers Jakub --001a113ed2f6a5ba4a050c785e50--