|
-O causing a 7x slowdown (Map of IORef's): msg#00105lang.haskell.glasgow.bugs
Good afternoon, the attached program is about 7 times slower when compiled _with_ -O using ghc 6.4. Using ghc 6.2.1 with ddata's Map gives the same behaviour. Happy hacking, Remi % make ghc --make -no-recomp Main.hs -o nor Chasing modules from: Main.hs Compiling Main ( Main.hs, Main.o ) Linking ... ghc --make -no-recomp -O Main.hs -o opt Chasing modules from: Main.hs Compiling Main ( Main.hs, Main.o ) Linking ... time -p ./nor real 1.77 user 1.75 sys 0.00 time -p ./opt real 13.05 user 12.45 sys 0.06 -- Nobody can be exactly like me. Even I have trouble doing it.
Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@xxxxxxxxxxx http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [ ghc-Bugs-1182027 ] building on an AMD64, SourceForge.net |
|---|---|
| Next by Date: | [ ghc-Bugs-1188785 ] panic! ... forkM Declaration for tables{v}, SourceForge.net |
| Previous by Thread: | openFile "/dev/null" WriteMode fails, Volker Wysk |
| Next by Thread: | RE: -O causing a 7x slowdown (Map of IORef's), Simon Marlow |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |