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-ASN: AS22989 209.51.188.0/24 X-Spam-Status: No, score=-3.7 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 2AAA81F463 for ; Mon, 2 Dec 2019 13:27:26 +0000 (UTC) Received: from localhost ([::1]:35758 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ibljY-0008OH-DF for e@80x24.org; Mon, 02 Dec 2019 08:27:24 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57967) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ibljU-0008NM-Gd for dtas-all@nongnu.org; Mon, 02 Dec 2019 08:27:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ibljT-0002CX-Ew for dtas-all@nongnu.org; Mon, 02 Dec 2019 08:27:20 -0500 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]:35283) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ibljT-0002C8-8V for dtas-all@nongnu.org; Mon, 02 Dec 2019 08:27:19 -0500 Received: by mail-wm1-x344.google.com with SMTP id u8so7769781wmu.0 for ; Mon, 02 Dec 2019 05:27:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=n0AD7lc9CUm/Xm4gNtlnIPo91EdN4nU80mJD2qsH4CQ=; b=CwzO/SrWXElpTr/dLMry46oQx+S2wGa4cDZBJAljrrqxdi6VFdSMj5n1PjFEiSdS+v 7woVovOI8kM7e0Mg5RzlwzFOWXhgI/DV8rKqbTbL5eTklirIRocAACzSpKT2i0pQersN M9oJZztEgjMukai36mwHDJdB8uZhYJYED73Ta6KYqKib8eCxim5melORe2Mr/lNnccjM fKp9na4ZxL0bM53kgGSwxBRTxLsI/ONqhuy1fzU3rN2JCrhRgy7btKl6H+svjCx/GEsK 23FsFV4VX2a2R0ZUlH4psXJUrY86nWx4SN/z/FtJ/053DpgFO+itnf/GM4REqgsaJ1on H4Qw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=n0AD7lc9CUm/Xm4gNtlnIPo91EdN4nU80mJD2qsH4CQ=; b=TbYPHj7ToNZ0PResSA3qJZole8DAZKJexLrW9++PFwXH8tGy87tpjfo70Bk8wI+Xkb d5Q5rnpaKmGzTJxsG2XBLOzMD3ZiD3IjxjExNcteB3unoSGPpZ3ukvnPOm2wwPKtuq91 IP+sKCC1M3k6coBJHcb5TRTRqCjRH6+eZuX5QCaqLQwDEdQZpM26hSaMz3A78xogfcRT D/ZIb3ZsS3SjjPC/BQ+sZdDyf0iFM+5+Y3Y8Sc/rFvmmS/BgeKbMOXP6HzAbPQciuoEH xsNQgHgCUclKs1gGBuRl2IONBjNZ0uKgU9U9mTkbdVAlPWIT5KZ+IpU5oxVcCpK0qfdZ 6Lkg== X-Gm-Message-State: APjAAAU8eqH//fqxvTW/DZo28TPHAGn+a3gQcfW1ryHb71E7XimH4mXN rKz15Zoj8RNw0r7eLv2UUqc= X-Google-Smtp-Source: APXvYqwZtvjdG00H6eK+FTqHOqRLG8jvxVuoxGNXu1UlZ7fjsJvcVqwGaldoBaz8Ub225YFVXQ5onw== X-Received: by 2002:a1c:3d87:: with SMTP id k129mr29822073wma.26.1575293238101; Mon, 02 Dec 2019 05:27:18 -0800 (PST) Received: from localhost (188.30.223.32.threembb.co.uk. [188.30.223.32]) by smtp.gmail.com with ESMTPSA id z6sm27768158wrw.36.2019.12.02.05.27.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Dec 2019 05:27:17 -0800 (PST) Date: Mon, 2 Dec 2019 13:27:14 +0000 From: James Rowe To: Eric Wong Subject: Re: [PATCH 0/2] Trivial fixes for setup.rb usage. Message-ID: <20191202132714.w45effcod74gbead@gmail.com> References: <20191201200349.19732-1-jnrowe@gmail.com> <20191202082319.GA22184@dcvr> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="v2lkruh2nxkqc7nb" Content-Disposition: inline In-Reply-To: <20191202082319.GA22184@dcvr> User-Agent: NeoMutt/20180716 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::344 X-BeenThere: dtas-all@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: duct tape audio suite List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: dtas-all@nongnu.org X-Mailman-Copy: yes Errors-To: dtas-all-bounces+e=80x24.org@nongnu.org Sender: "dtas-all" --v2lkruh2nxkqc7nb Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Eric Wong (e@80x24.org) wrote: > James Rowe wrote: > > Given that the `Config` name was removed so long ago, an alternative fix > > might be to remove `setup.rb` altogether? > > RubyGems is a huge barrier to startup performance; so users > should be able to opt-out of using gems. A painful thing is > just having more gems installed (and even not using them) > slows down startup. Wow, I hadn=E2=80=99t realised how costly that was. As another data poin= t for your thoughts, my low-energy mobile Athlon reports: =E2=96=AA ~/P/dtas =CF=88:(master) =E2=96=B6hyperfine --warmup 10 'dtas-ctl= current' Benchmark #1: dtas-ctl current Time (mean =C2=B1 =CF=83): 236.0 ms =C2=B1 17.0 ms [User: 185.8 m= s, System: 24.8 ms] Range (min =E2=80=A6 max): 226.1 ms =E2=80=A6 282.0 ms 11 runs =E2=96=AA ~/P/dtas =CF=88:(master) =E2=96=B6hyperfine --warmup 10 'ruby --d= isable=3Dg -Ilib ./bin/dtas-ctl current' Benchmark #1: ruby --disable=3Dg -Ilib ./bin/dtas-ctl current Time (mean =C2=B1 =CF=83): 30.6 ms =C2=B1 6.3 ms [User: 21.1 ms= , System: 4.6 ms] Range (min =E2=80=A6 max): 27.0 ms =E2=80=A6 63.9 ms 65 runs On my system it makes little difference if you bypass gem=E2=80=99s script wrapper unless you forcibly disable gems support like you suggest. Thanks, James -- =E2=98=92 Vote to destroy email signatures today! --v2lkruh2nxkqc7nb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEOs8mWLxNNfbkcA2v/aPFQqvGjgcFAl3lETIACgkQ/aPFQqvG jgfcRhAAtraO08fwqgZReJcn5+gFsw4pRDJ3oBMD1o+2EHQ8nXxQcHpA1QWtNR6K xCnhB25TIFBd5sKGp8081CEtc7PpCBERMvRl23ssTzWHb6vhxjQ87AYV2uEdCE9l tJHAzRjQ22nWevkfZymKeP+gltSa5EdCqyR1RBPtvpnhHnfG5k1GNSnmzpYkCEUE Z8UkOui+ZyG8qpRaZX0FXoQZgXb2XdYiGVsqMVRyML1SR8h5LtDYZgGxSLxic8FX b4QONWXtz90rDyUPTff9lCt1JRIkfPuCqqDTOJWNo3lHQJWjz5hAVva61qPCyRvs o6HggL7P6M7Od/EdcSSrztPdyYjQZam5Sfu+0tqqQlzQT9exIrG61VOHvcCKnBaB uPMUukbR3bMAyqmjThCV8vMPvutB/uDVMOUsLZZ5hNqc8Udm/+zZl+cwqisLBdKi jbPfhKitrY4l2b+FEQW7SOLXbkkiGQmyST201j7ofGgwKYgp0yKvuZqJ9n2e9pdN 6hzDM7PnA1jHdzNsOF1FYIkUGj0HCT4xnxxbGocWw6vorvTh1qpB++MvqgxjYYrv AmAjzxCMLvpqf1wcE4YjdnecIHap0hI25eDe/ptZhGGgAI85o1Rh+UrO0Q/L2npW Pqj1iBFXhgNa3P8Fc//PM0jJIKln1Lb4cYy+H3Mo7bouj3BrNtA= =z/DF -----END PGP SIGNATURE----- --v2lkruh2nxkqc7nb--