Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:102664 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 96253 invoked from network); 9 Jul 2018 14:33:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Jul 2018 14:33:16 -0000 Authentication-Results: pb1.pair.com header.from=mdwheele@ncsu.edu; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=mdwheele@ncsu.edu; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain ncsu.edu from 209.85.218.41 cause and error) X-PHP-List-Original-Sender: mdwheele@ncsu.edu X-Host-Fingerprint: 209.85.218.41 mail-oi0-f41.google.com Received: from [209.85.218.41] ([209.85.218.41:37461] helo=mail-oi0-f41.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0B/F4-49043-922734B5 for ; Mon, 09 Jul 2018 10:33:15 -0400 Received: by mail-oi0-f41.google.com with SMTP id k81-v6so36259471oib.4 for ; Mon, 09 Jul 2018 07:33:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ncsu.edu; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=501WIe6MbWp/gjbjUWKDHjamN4JobAtGTBfG5TtlYno=; b=Pmsy++XXYyxqvoeOacauBPcTvPiLl2vZtyhiR46nseOxotcqVXGkiROUoRXsQ95+4j Yp2kKxe9b5Xz1iOs92m6q5laJDDVGw+LBAPPYjWBo5HE5q9NYfMrg/w9NP2VIwtDGa/y GYpyjpQKUvI27+RFbc/AOen9CORymTZt3sIbGIJu/LpiHDNwi0heZqfmfUVjLK1exD1Z 7yUksdfIoRiqHWxhqJUWllnp9/FfWSaMwJKeRqajCy1IAAZauvbpbZBp2tLS/ZwcXR4R G5gAf100ZhxowZtZCnxey8/mynxychi3SuYTZBFY+K+l7LL4bw0hFjhnJT/aFfl/19sI VtcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=501WIe6MbWp/gjbjUWKDHjamN4JobAtGTBfG5TtlYno=; b=h3jJLI3VxsBTX26/IwT6IkUoJsC1URLLsGN7pHINboiMPK+rQuJq1AfDN88Xf+PkTd PIvRE8W1TTLUP2X9uY4EzafNRRvBKfcg7cGoFhi8L4bVGJFOxDBzSlJ+fTytGqOWj/Xb 4wKwW/YdhvGB7nekPrIeVht6LbwppyDRBjoTzVZI8Jrz5Zyw4wqsp3ZrZUBCtJYg6nC1 JlV5NgEvpzLD3dObSLY0RRsGkytccnIqiwOK0DCPFePndN9dzXp2gpWUFOJheF1duICa kdBDM8hMfIQBnkH8bj63Fk3Cb2ztWXLUzhqBlxop7U3406bPx2/rJP6vmNBX/KR+YvCC wOfg== X-Gm-Message-State: APt69E228NrQhBjEyzm4XC1j6nSvkpAsGN7RwFKn32Jb3tw1jHJgOA4y eGq3ReTr7l/PlKJ9hM6hZgUkIXR8I+5h+Vs/wpwaYPFzlzE= X-Google-Smtp-Source: AAOMgpdEA40O8DWRv0ymuBgS1u6ozxg/hJNSXOKQXosQOvNF0qxFslNXzOtVTbvxDYj5XAIdnaMJjt3MO1bbSzmB7Q4= X-Received: by 2002:aca:d5d3:: with SMTP id m202-v6mr14060285oig.93.1531146790745; Mon, 09 Jul 2018 07:33:10 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Mon, 9 Jul 2018 10:32:59 -0400 Message-ID: To: Yasuo Ohgaki Cc: PHP internals Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] [RFC] [VOTE] Class Friendship From: mdwheele@ncsu.edu (Dustin Wheeler) On Sat, Jul 7, 2018 at 6:46 PM Yasuo Ohgaki wrote: > > I would like to vote to "yes". > However, RFC does not have benchmark result. Do you have some results? > > Regards, > > -- > Yasuo Ohgaki > yohgaki@ohgaki.net > Yasuo, I have documented a benchmark based on my last comment. This benchmark could be improved through larger sample size but it looks like there is little to no difference in performance between the two. The result I determined with a sample size of 100N was a 0.000425905 second difference between `master` and `feature/friend-classes-poc` (friend branch was slower by that delta). My experiment is documented at https://gist.github.com/mdwheele/e4dce7adb7a4f523011c21de6b29f001. Thanks, -- Dustin Wheeler | Software Developer NC State University mdwheele@ncsu.edu "If you don't know where you're going, it's easy to iteratively not get there."