From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8816 invoked by alias); 24 Oct 2015 16:31:27 -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: 36936 Received: (qmail 22454 invoked from network); 24 Oct 2015 16:31:26 -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=5Sex99Oz4TJ0SXPCU0MIb9XNz1issv9jWrA7U9wqPAE=; b=jDWAGULE9ZDBjtrEbue2q5Dac7m0/COKrp2q6fO34ymswjJdg4sUyT2br6NLvAsMdI SS1zdDX4qMyAWsoXtN0pAdIi0QbjclTmCGU4PtzKq9Lqw3PaqHddCrwc4uEr2/QgFqBP I7K53PglPbfF7BlFISf/Y5eRHZPSkKXEiVtKfR4stuBkRzlMKaEwqNequpNPsqKKHE+f uncfWhagW/T1nPCUVCplgsTWprcoQ7ql2n1/5CYGfL8XRTsvAkOYgyND/oaTM69v3Y/E 84cotw2kdABwz5TDd9dYitRgCwLXb6eOgEPDDCv29swe8rNb5b0/A6kOnOMHcqho2w4A AHaQ== X-Gm-Message-State: ALoCoQmitvDQYLDIuUoFVGwOMfc+MgRxKsqQiJsLwd/DwXlttMJ5jQkf8rNrbumdRsFjuVKyVgLX X-Received: by 10.182.236.6 with SMTP id uq6mr18741477obc.16.1445704283548; Sat, 24 Oct 2015 09:31:23 -0700 (PDT) From: Bart Schaefer Message-Id: <151024093120.ZM26735@torch.brasslantern.com> Date: Sat, 24 Oct 2015 09:31:20 -0700 In-Reply-To: Comments: In reply to Sebastian Gniazdowski "Re: Slowdown around 5.0.5-dev-0" (Oct 24, 12:54pm) 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> 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, 12:54pm, Sebastian Gniazdowski wrote: } } > Running [zsh-5.0.7]: string_test 48631,87 } > Running [zsh-5.0.8]: string_test 86302,14 } } This says there something happened after 5.0.7 and reveals itself on } OS X, could try to track it with bisect. What happened is this: 34451: use mmap() also on Mac OS X Let MAP_ANONYMOUS be an alias to MAP_ANON if the former is not defined. Which strongly suggests that using the system malloc() rather than our own mmap() strategy was the correct thing to do on MacOS, and we should back that out and make note. Also might be worth checking whether the behavior is better on other platforms if we disable mmap().