From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brett Gilio Subject: Re: Magit is painfully slow Date: Sat, 29 Dec 2018 12:32:27 -0600 Message-ID: <87wons5glg.fsf@posteo.net> References: <87d0pkbyjo.fsf@posteo.net> <8736qg4uhb.fsf@elephly.net> <8736qg9tba.fsf@kyleam.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:56627) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gdJf2-0007u0-0C for guix-devel@gnu.org; Sat, 29 Dec 2018 13:48:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gdJPV-0002VC-GW for guix-devel@gnu.org; Sat, 29 Dec 2018 13:32:36 -0500 Received: from mout02.posteo.de ([185.67.36.66]:56005) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gdJPV-0002Mz-2Q for guix-devel@gnu.org; Sat, 29 Dec 2018 13:32:33 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 42F962400E6 for ; Sat, 29 Dec 2018 19:32:31 +0100 (CET) In-reply-to: <8736qg9tba.fsf@kyleam.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Kyle Meyer Cc: guix-devel Kyle Meyer writes: > Hello, > > Ricardo Wurmus writes: > > [...] > >> However, after compiling and generating several .po and .texi >>> files Magit takes almost a whole minute to open. >> >> That=E2=80=99s because it=E2=80=99s trying to colorize the diff of thous= ands of lines of >> .po and .texi changes. > > With the default settings and no cached visibility for the repo, the > hunks should not be expanded, so Magit isn't actually coloring/painting > them yet. In this case, the processing of these diffs will be slow > regardless of whether they are painted and the CLI "git checkout" > suggestion is good, but I think the delayed painting is worth noting > because users may not realize that their custom visibility settings are > making things slower. Ricardo, Thank you for your suggestion. Kyle, What do you suggest here? Brett