Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:80418 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 14202 invoked from network); 12 Jan 2015 13:41:25 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Jan 2015 13:41:25 -0000 Authentication-Results: pb1.pair.com smtp.mail=xinchen.h@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=laruence@php.net; sender-id=unknown Received-SPF: pass (pb1.pair.com: domain zend.com designates 209.85.217.176 as permitted sender) X-PHP-List-Original-Sender: xinchen.h@zend.com X-Host-Fingerprint: 209.85.217.176 mail-lb0-f176.google.com Received: from [209.85.217.176] ([209.85.217.176:54096] helo=mail-lb0-f176.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9A/21-04585-20FC3B45 for ; Mon, 12 Jan 2015 08:41:23 -0500 Received: by mail-lb0-f176.google.com with SMTP id p9so17655391lbv.7 for ; Mon, 12 Jan 2015 05:41:19 -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=ffHrbDGhJQnitdrrDYHmbG471YKK6Sf04xZrWIrzSos=; b=VPL7DQ4JYTb9wr1gk5ph1cjLdqpml+nZI5I6YCpeEJIk4+a1BnDudHt/NqYr9fKHlo sQf/1OOBFQBNprn7uJKh8kdhTR731Toy6MppCtl0WBqtuhfHxA/2DOlouqnAoX8Ybf4N 65odYxyKtSnkwzzL1xQcla3zs2hu/t4VYFPS7K9XJ6r2BI4TgKDIXt4vViWQRgDJwAzb tMExF+oZ4ld6nTHEKE0/n7hL7C2ZmZBn/A/yXkE4TgbeGrZHZL4m9RFdwgKoO9jC7FL8 s0WbDFL8Yb9DF5KSDOZGD/eNBFwZ2f8ZWrSpf7QYHnkcV2dL21LhUs6ekoD+H/Ef6WhQ EDmQ== X-Gm-Message-State: ALoCoQlhCtzewS75jvw/S9h4KGkl2NlxUXTLT3Xfj4R6oZdIaCslvWiImnusv4kKKTR7RUCgtBVrbUAE+bxbvaNOTQul5q3W6eC/1IFmjHZVwGyRatNd/0m4sk9Nel6bKe0C0zpu49VMkNsl7217yllv9CLilB7R3Q== X-Received: by 10.152.164.232 with SMTP id yt8mr36857770lab.7.1421070078999; Mon, 12 Jan 2015 05:41:18 -0800 (PST) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com. [209.85.215.54]) by mx.google.com with ESMTPSA id a1sm4128193lbi.11.2015.01.12.05.41.17 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 12 Jan 2015 05:41:17 -0800 (PST) Received: by mail-la0-f54.google.com with SMTP id pv20so23986294lab.13 for ; Mon, 12 Jan 2015 05:41:17 -0800 (PST) X-Received: by 10.152.5.132 with SMTP id s4mr36614663las.39.1421070077111; Mon, 12 Jan 2015 05:41:17 -0800 (PST) MIME-Version: 1.0 Received: by 10.114.64.176 with HTTP; Mon, 12 Jan 2015 05:40:56 -0800 (PST) In-Reply-To: References: Date: Mon, 12 Jan 2015 21:40:56 +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 Mon, Jan 12, 2015 at 6:24 PM, Jakub Zelenka wrote: > Hey > > On Mon, Jan 12, 2015 at 3:01 AM, Xinchen Hui wrote: >> >> >> does master of josnd already works with PHP7? >> > > There is a patch against PHP master that replaces current json ext. I > referenced a branch of my PHP fork in RFC. > > I have just created a PR as well to make it a bit easier if you or others > want to test it and possibly comment on it: > > https://github.com/php/php-src/pull/993 > > The jsond pecl ext does not compile on master. I want to keep as an > alternative json extension for PHP 5 so it needs to compile on 5. There also > are some extra things (e.g. alternative buffer implementation) that I didn't > want to have as a part of this patch. I might make it compilable on both > later but it's not a priority at the moment. > > Anyway the patch in the PR should work ok. If not, please let me know and I > will fix it ;) > >> >> I was plan to benchmark the performance with wordpress, >> > > Great! Please let me know what the results are! ;) 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 > > Cheers > > Jakub > -- Xinchen Hui @Laruence http://www.laruence.com/