Hi John,

With both your diffs applied, results are indeed more like 3x speed-up
that I get on my machine.  Average over 7 runs ls -R /usr/ports was
64.169s making for just under 3x increase.  That's on 1920x1080 with
the standard font size for that resolution (120x33 console, so 16x32
font).

Thanks again,

Paul 'WEiRD' de Weerd

On Fri, Jun 26, 2020 at 07:49:55AM -0700, jo...@armadilloaerospace.com wrote:
| I should have been more rigorous -- I had two different changes running
| on my system, as well as forcing it to use the 12x24 font for a 160x45
| console.
| 
| If you apply the "Optimized rasops32 putchar" patch I just posted, you
| should see another significant speedup.
| 
| 
| -------- Original Message --------
| Subject: Re: [PATCH] fast conditional console scrolling
| From: Paul de Weerd <we...@weirdnet.nl>
| Date: Fri, June 26, 2020 1:23 am
| To: jo...@armadilloaerospace.com
| Cc: "tech@openbsd.org" <tech@openbsd.org>
| 
| Hi John,
| 
| I tried your diff. I don't quite see the same 3x improvement that you
| report, more like 2x. I timed 7 runs of ls -R /usr/ports:
| 
| Before diff, time ls -R /usr/ports | wc -l 2.897s on average
| After diff, time ls -R /usr/ports | wc -l 2.707s on average
| 
| Before diff, time ls -R /usr/ports 2m53.067 on average
| After diff, time ls -R /usr/ports 1m30.387 on average
| 
| Note that the 'before diff' runs were with a snapshot kernel. There
| may be diffs in there that account for the difference between before
| and after of the no-output runs. See dmesg and full stats below.
| 
| So, on average, a speed-up of ~48%.
| 
| Thanks!
| 
| Paul 'WEiRD' de Weerd
| 
| 

-- 
>++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+
+++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
                 http://www.weirdnet.nl/                 

Reply via email to