From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 2BF0A1F5AE; Fri, 17 Jul 2020 01:19:56 +0000 (UTC) Date: Fri, 17 Jul 2020 01:19:56 +0000 From: Eric Wong To: Jean Boussier Cc: unicorn-public@yhbt.net Subject: Re: [PATCH] Add early hints support Message-ID: <20200717011955.GA23522@dcvr> References: <058BA238-BEB3-4E54-9DE6-DC59BCB86246@shopify.com> <20200716105037.GA26605@dcvr> <242F0859-0F83-4F14-A0FF-5BE392BB01E6@shopify.com> <20200716121643.GA26942@dcvr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: Jean Boussier wrote: > ivar: 20934740.7 i/s > attr: 18622122.9 i/s - 1.12x (± 0.00) slower > ivar:missing: 18408273.1 i/s - 1.14x (± 0.00) slower > > So yeah, the difference between raw @ivar and an attr_reader > is barely noticeable, and both are very fast. I guess... I was wondering more in terms of the big picture with HTTP parsing, I/O, and response generation taken into account. (and there may be improvements in those areas later this year, assuming the world doesn't end sooner...)