runghc extremely slow when output redirected to file on NFS
When I compile my program using ghc and run the generated executable, the compilation is slow but the executable is very fast. When I run the program using runghc, it's extremely slow if I redirect the output to a file on NFS - but it's not using lots of CPU, it just sits there.
My best guess is that runghc turns off output buffering entirely and outputs one character at a time - which murders NFS performance, so I'm told.
Trac metadata
Trac field | Value |
---|---|
Version | 6.4.2 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | GHCi |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |