Subject: proposal for object-oriented dispatch on sign
From: Raymond Toy
Date: Tue, 21 Jun 2011 13:09:51 -0400
>>>>> "Barton" == Barton Willis <willisb at unk.edu> writes:
Barton> The testsuite calls sign about 1.5 million times--I didn't
Barton> try to time sign. Since kill(all) erases $timer data, it's
Barton> not easy to time functions using the testsuite.
This is where you could probably use the profiling facility of your
Lisp implementation. With CMUCL, I would just say :lisp
(profile:profile $sign), run the testsuite and then run :lisp
(profile:report-times)
(Untested.)
I'm sure other Lisps have some kind of profiling facility, and if not,
there's always the (fairly) portable METERING package.
Ray