DragonFly BSD
DragonFly submit List (threaded) for 2004-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: A little speed up for awk


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Sun, 31 Oct 2004 10:29:21 -0800 (PST)

:-On [20041031 00:42], Matthew Dillon (dillon@xxxxxxxxxxxxxxxxxxxx) wrote:
:>    Well, that's a fine little patch but I really doubt it will
:>    make much of a dent in awk's performance.
:
:It did for this case.
:
:>    If you really want to have a go at tracking down potential
:>    performance issues I recommend first doing some side-by-side
:>    comparisons between the old and new awk and then compiling
:>    up the new awk with profiling (-pg) and seeing if there is
:>    anything obvious in the profile output that could be fixed.
:>    The issue is likely to be algorithmic in nature.
:
:http://www.in-nomine.org/~asmodai/awk.txt is the profiling output in
:question.
:
:http://www.in-nomine.org/~asmodai/mawk.txt is mawk's profiling of the same
:case.
:
:-- 
:Jeroen Ruigrok van der Werven <asmodai(at)wxs.nl> / asmodai / kita no mono

    Well, you can make that change if you want but these profiles are virtually
    meaningless for such a simple test case.

					-Matt
					Matthew Dillon 
					<dillon@xxxxxxxxxxxxx>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]