Timing repeated function calls

Ketil Z. Malde ketil@ii.uib.no
08 Aug 2003 13:17:50 +0200

"Jeffrey A. Scofield" <sja10587@qwest.net> writes:

> Using GHC 6.0 on Mac OS X (10.2.6), I'm trying to do some timing
> tests of something that doesn't take very long.  So, I want to call
> a function repeatedly (1000s of times).  

No chance you could call it with different parameters each time?

Another question is why you want to do this.  If you're worried your
function will consume too much time in some application, surely
profiling will get you better and more accurate information?

If I haven't seen further, it is by standing in the footprints of giants