From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 11400 invoked from network); 8 Jul 2023 15:57:17 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 8 Jul 2023 15:57:17 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1688831837; b=Xjybub1EDmRnJdKrupiFps+0GdXNAq/VcxLWEBaUYcEo2dIH4fiqUB2fDto0va+BNCmc57qG1g 5oDvFIOsrMTB3k7fVmOuOq9lzV6oFVpIFiUZsjD2smhUCbLXO7BbkqHKyGTRK36f5K3i1kgxAe Y5xrlY85fiq4gLZjc8f4rrfSqt9+nhCR0lHGM5n+EKXK3dRMomuMtZhsVQwMNt7whM+7VLZ6P1 CIahhyouwRQWx441LjMzFsjSMdl84mmTOuIjhKSiU/hv+hmDilh5wUrrDgLSKzuRs/tM/CF+zA gtNH5zMwEG7A+Y54iRFFxwpek1V+rLvm5/jPLYBKKEf1Yw==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (email.dondley.com) smtp.remote-ip=34.203.132.18; dkim=pass header.d=dondley.com header.s=default header.a=rsa-sha256; dmarc=pass header.from=dondley.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1688831837; bh=ezLQDcSCeYfZpkqCODKQzqKJOOgrSiCTZ6WXfx/59UQ=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:To:Date:Message-ID:Subject:MIME-Version: Content-Transfer-Encoding:Content-Type:From:DKIM-Signature:DKIM-Signature; b=S23JUc7BV29JFIeLndSGPeiPc4UgP3Wig2BpborQexRGgJkxGamaUdQLJR6u/h3Fu6F7UMtY16 9sCOh7vy1rV9yghgwAQ1j5XerLBCM+wFeFVDyu/W0+yIY2XmiUxDf6vd/e+dE5E/0PHFZoRRrY xHVVnT/2d41bPc3L9YVcBDEJJdssAz7/hGXhnbK6k8YV85CyrAdWnfSFHRjMyfzkrNqn7/JhLR KnqAhsEQJg7qmpgBOzRd8dwfuE5SeCKf3iqXVfuu7dyN6kZgaq42FdKQexjD67k7d1G5Z9i6Dz /9W/1DG1l5bi3v9rYC5XFvyodqwBJ87syv+ARQTnI13p4A==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:To:Date:Message-Id:Subject: Mime-Version:Content-Transfer-Encoding:Content-Type:From:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References; bh=ezLQDcSCeYfZpkqCODKQzqKJOOgrSiCTZ6WXfx/59UQ=; b=cuicfYyjvdzraBJByxsvQJ0VCd j09R2InqRFcc7rRQkazCH0Px+EEXKfgJa+BiqxBa6LNub9LtxWzalyvLVvpW43pIxKQRrs6sDK3L5 Ue5NuNQh5sq0V752Km2ggCCcjN+J5s8TNHJkbnPQWtrPuIkUJ8SvIDklnrFcH+JuJOyAW+MVJO/Cs +eYjTtaCgr5BKlkFotH5PFDYmlOihpTYuoUn3Uoxim368+C2n8lhl2R0p7nBOceZO/0AZ5UrBfMgV 6zwqOPx5C7nMxAMd6RAGygOdNqWOJWWxaeH3C/e3ED7HpfV/YtKdq1xBM01ejYgvhyUe6u3O1d9As qCSM0+MA==; Received: by zero.zsh.org with local id 1qIAJ9-0000UX-Ea; Sat, 08 Jul 2023 15:57:15 +0000 Authentication-Results: zsh.org; iprev=pass (email.dondley.com) smtp.remote-ip=34.203.132.18; dkim=pass header.d=dondley.com header.s=default header.a=rsa-sha256; dmarc=pass header.from=dondley.com; arc=none Received: from email.dondley.com ([34.203.132.18]:49630) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1qIAIJ-000Pkt-EZ; Sat, 08 Jul 2023 15:56:26 +0000 Received: from smtpclient.apple (unknown [216.193.141.189]) by email.dondley.com (Postfix) with ESMTPSA id 81F7F20140 for ; Sat, 8 Jul 2023 11:56:21 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=dondley.com; s=default; t=1688831781; bh=ezLQDcSCeYfZpkqCODKQzqKJOOgrSiCTZ6WXfx/59UQ=; h=From:Subject:Date:To:From; b=DkWVv9hIVEjN7qjg3Y/DISU/n3NiBo1fxOx5QV6K+1ZotfBiUHg+MDQYlyIxrvAbT z/CWIosB0IBMIAn5LwvOmwjz+4pL7NAnOhGdzKlmHOvM9L9PW0uMO0mhtpn04Ugdqa OkiYfBQiFN6KpRJtbpC9qHBuNBTniKSqLE8YD3S+At9WsSc/JVL3YAWPjTsGhQbiVl OqtA1R8howk7iqpElq0+uk9+eHgt5eV5zoX9pwC1cldD4pAfSuKy+a1k3GZw+7Ekn5 Ce3H8VncX4s5LDMPW1s9rtT0NGcglAQfDSa4t2doMNYz3kVkyPFvOlrqC8IkkPS6Wo 07aZv0s0Pl28g== From: Steve Dondley Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.600.7\)) Subject: How do I go about finding reason for slow tab completion with taskwarrior "task" command? Message-Id: Date: Sat, 8 Jul 2023 11:56:10 -0400 To: zsh-users@zsh.org X-Mailer: Apple Mail (2.3731.600.7) X-Seq: 29103 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: , List-Subscribe: , List-Unsubscribe: , List-Post: List-Owner: List-Archive: I=E2=80=99m using taskwarrior on latest version of Debian stable = (bookworm). It takes about 2 seconds for its =E2=80=9Ctask=E2=80=9D command to = respond to tab completion, making it no better than typing things in = directly for most commands. Git completion works well with very little delay. So I have to assume = it=E2=80=99s something related to taskwarrior. The completion script can be found here: = https://github.com/GothenburgBitFactory/taskwarrior/blob/develop/scripts/z= sh/_task and I can see it on my machine at = /usr/share/zsh/site-functions/_task What=E2=80=99s a good method for determine what is slowing things down? = I was thinking about commenting out various part of the script through = trial and error. But if I rename the _task file and start a new zsh = process, completion still works. So I=E2=80=99m not sure how to get that = _task script reloaded easily. Can someone head me in the right direction? =20