RHafiz wrote:

Is there anyway to find out the number of reductions per execution in GHC?

(In Hugs , :set +s prints no of reductions but in GHC, the same command
prints time and memory.)

GHC doesn't count reductions, or anything approximating it. Reductions is a pretty arbitrary measure of performance, I suggest you use allocations as a better approximation, or better still just measure real time. You can get reasonable figures using a compiled binary and running it with +RTS -sstderr.

Cheers,
        Simon
_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to