<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<div><br></div><div>I'm interested in looking at the effects on performance of various compiler optimizations in GHC. I ran the nofib benchmarks against the stable branch to get a feel for some very simple results.&nbsp;In my measurements I only saw a maximum of 2.8%&nbsp;difference in runtime when using&nbsp;-O0 and -O2 flags. Also, it looks like only 5 of the benchmarks had a running time of more than 1 second. Do these look like results you would expect to see?&nbsp;</div><div><br></div><div>I am setting the compilation flags in $(GHC_TOP)/mk/build.mk by</div><div><div><br></div><div>SRC_HC_OPTS &nbsp; &nbsp; =&nbsp;</div><div>NoFibHcOpts &nbsp; &nbsp; = -H64m -O0 # or -O2</div><div><br></div><div>and running the benchmarks by using make. It looks like the flags are getting picked up correctly judging by the output generated when running the benchmarks.&nbsp;</div><div><br></div><div>Would you say that the nofib benchmarks are the best available for measuring the effectiveness of compiler optimizations, or is there a better benchmarking suite for that purpose? Thanks!</div><div><br></div><div>-David</div><div><br></div></div></body></html>