From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 33a0b6ac for ; Fri, 7 Dec 2018 18:06:37 +0000 (UTC) Received: (qmail 26999 invoked by alias); 7 Dec 2018 18:06:21 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: List-Unsubscribe: X-Seq: 23802 Received: (qmail 12190 invoked by uid 1010); 7 Dec 2018 18:06:21 -0000 X-Qmail-Scanner-Diagnostics: from mail-it1-f195.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.100.2/25112. spamassassin: 3.4.2. Clear:RC:0(209.85.166.195):SA:0(-1.9/5.0):. Processed in 3.80271 secs); 07 Dec 2018 18:06:21 -0000 X-Envelope-From: dana@dana.is X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dana-is.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=xS3QLwkd1ya/9K5nJW4oGXzFYErTDvPVDTfCNOpf8sw=; b=JmOXaLAxT5ZG6bKY+s5K1YpHlOSyI4kVSH3nDmZULX3mOTT+XITpRvOBnc2Lz24A+u XbVXiouugzjI9FrPi24wE1nG6RdeRVf9BPnRLf8AF8ooaJz09tGUFYoZ9C6KQk6tr7VH I/aGdYXl4FpogITrG7/gncSLPS0lDcZ3HGv7FnDPbyNZYmQ13BH+nBX6icgfQUB3R2R4 8HvpiFe9uyEDMrEqc7rOa2cCArvTAV8PCtbdFcz6TSIT4KcfsQ4BvcMdEuef4hQVmo96 IRl2kPzMuadjo2l4ZPQfEto2tmGyll7lC68h/wj/Tf/TFzKdnk440lhB7M30f0CW4UXE pCyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=xS3QLwkd1ya/9K5nJW4oGXzFYErTDvPVDTfCNOpf8sw=; b=ImojAK1XqOn3e45zP3HwuKxu4ty3UQ2Kho/leLEH0ialLjMN9OuLghOooyKQlF/VuX rnZeB9c+xgD4frWYSbi2F6Y7fjahNeyGvssgNswQvrpiOastaHINb5HDM2L32sXOpKHs 8m3YrCA4+lVG4NkIKPU2q8fZd4OAVu5o+BHtinO2xu6mN22U89C8kxP+dwpCkk3UauaH vVSJ3EKPyOqQSBF28kpH/kyiQI/+XN/UVUy16rsXwrq+6B97p+3OWCr25fEVhLOR35GT OnuPqeuMzzYewV6QfV0svgFpCgrFhWnyqUii25LAgQ5h9VbW/DbESSa9UP8H5nGQWfKH pF+g== X-Gm-Message-State: AA+aEWZjbkxjlgRSxZgJteqN5c8pCQO3cl6NvPYrtQUdQ0tCOO8hRBU4 yCus8f2MsnwT3t6AJL//d2Gxdw== X-Google-Smtp-Source: AFSGD/VnHyqRKTeVTfhCfCzq6ycpT0Ss5pJBCxeiU1VkTWe1EGuTrGjV2QMw8gqt5zTIr6Geuzy1wQ== X-Received: by 2002:a02:bb9a:: with SMTP id g26mr2654033jan.44.1544205974785; Fri, 07 Dec 2018 10:06:14 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 12.0 \(3445.100.39\)) Subject: Re: slow startup of zsh (1x slower than bash) From: dana In-Reply-To: Date: Fri, 7 Dec 2018 12:06:12 -0600 Cc: julien.nicoulaud@gmail.com, Sebastian Gniazdowski , zsh-users Content-Transfer-Encoding: quoted-printable Message-Id: <1E9C7E67-0E08-44FD-BC61-5E0137B2A833@dana.is> References: To: Peng Yu X-Mailer: Apple Mail (2.3445.100.39) Some of the people on #zsh have seen different results, but `zsh -f`'s = start-up over-head has always been higher for me on every platform i've tested (specifically Linux@ARM, Linux@x64, and macOS@x64). It's especially = noticeable on the Mac =E2=80=94 but all process over-heads are exaggerated on the = Mac, so. I don't worry about it too much, because you make up for it as soon as = you're able to do something that would have required a fork() in another shell, = like sorting an array or resolving a symlink or matching files by attributes. I suppose it might be annoying to use it for an httpd or Make shell = though dana