From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29413 invoked by alias); 24 Oct 2015 16:41:12 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 36937 Received: (qmail 13729 invoked from network); 24 Oct 2015 16:41:11 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version:content-type; bh=9Sq3MsxloHWy1WTlsRAL+0uMsWfzK7JkmLduJXSWnck=; b=YrcBVdAmQwsPYZfXKI2iJPWfma21YY8dyMJyfQERvyudBNv4aQYfHK6FndaC4sBJJa gxUVZ5+VXSx+0AjLX1p6dNFtwvedAPIB4AjIeZNyA5CmQvhShUt0zAz3k3zYmWZL72Os rzjlokuSLopywoHY3WSlTgmpu3p+tHTqPCMgwGtZzz2RyODZ+RqrjS1oYozjRWiPxZlP k5jKReb9UrD3VU5RQTpfq4VCnieOMtzQwX9mCMobOG1sAWBuah1laji2Pfhw4i+DJGLU E+i4Ig36+M+kySrS3rI1UVDyPQ5RoHOsRj3us0IJzIzmVZWynHC7NnlAlqjXBT4FU4DK qVAA== X-Gm-Message-State: ALoCoQkrxCVArWbi2Tvd7SKGG2jVX92Jz3jGfRjgN27rSblWlDNH3p+HQ4yPd0iX79yFdCdbbJit X-Received: by 10.202.219.138 with SMTP id s132mr6738289oig.27.1445704869516; Sat, 24 Oct 2015 09:41:09 -0700 (PDT) From: Bart Schaefer Message-Id: <151024094106.ZM27548@torch.brasslantern.com> Date: Sat, 24 Oct 2015 09:41:06 -0700 In-Reply-To: <151024093120.ZM26735@torch.brasslantern.com> Comments: In reply to Bart Schaefer "Re: Slowdown around 5.0.5-dev-0" (Oct 24, 9:31am) References: <151010105849.ZM10144@torch.brasslantern.com> <151010170623.ZM16166@torch.brasslantern.com> <151010232045.ZM12931@torch.brasslantern.com> <151011091757.ZM27755@torch.brasslantern.com> <151011103121.ZM8814@torch.brasslantern.com> <151011142204.ZM9103@torch.brasslantern.com> <151012070105.ZM15099@torch.brasslantern.com> <151012173304.ZM15477@torch.brasslantern.com> <151013085246.ZM30504@torch.brasslantern.com> <20151014142722.282d0c5a@pwslap01u.europe.root.pri> <151014092536.ZM32511@torch.brasslantern.com> <151014095009.ZM19954@torch.brasslantern.com> <151014213224.ZM15646@torch.brasslantern.com> <151015173554.ZM30733@torch.brasslantern.com> <151019102117.ZM32700@torch.brasslantern.com> <151022080024.ZM6471@torch.brasslantern.com> <151023122655.ZM21177@torch.brasslantern.com> <151023165006.ZM25785@torch.brasslantern.com> <151024093120.ZM26735@torch.brasslantern.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: Slowdown around 5.0.5-dev-0 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Oct 24, 9:31am, Bart Schaefer wrote: } } Also might be worth checking whether the } behavior is better on other platforms if we disable mmap(). I set HAVE_MMAP 0 in config.h, recompiled, and compared on my CentOS VM; there is no significant difference in string test: Running [zsh-noMMAP]: string_test 26612.85 Running [zsh-36926]: string_test 26688.94 Function test is actually slightly worse: Running [zsh-noMMAP]: function_test 28053.23 Running [zsh-36926]: function_test 27759.94 No significant diff in the other tests either. So currently this only seems to apply to MacOS.