From: Stefan Sperling Subject: Re: fix tog log view performance bug To: gameoftrees@openbsd.org Date: Wed, 16 Oct 2019 19:14:57 +0200 On Wed, Oct 16, 2019 at 07:02:49PM +0200, Stefan Sperling wrote: > To reproduce, run tog in openbsd's > src.git repository and search for a garbage pattern that will > never match. Wait for tog to load all the >200000 commits. > Moving the cursor down with 'j' should now be rather sluggish. For giggles, I've also tested this with linux.git which has about 4 times as many commits. It works, even though the amount of memory consumption is a bit worrying. PID USERNAME PRI NICE SIZE RES STATE WAIT TIME CPU COMMAND 34631 stsp 2 0 1113M 1328M sleep/1 poll 2:28 6.84% tog commit 4d856f72c10ecb060868ed10ff1b1453943fc6c8 [1/857677] master, origin/master, tags/v5.3 19/09/15 torvalds Linux 5.3 ...