RTS Timings on windows are somewhat unreliable
Times given by the RTS are very unreliable on small scales.
Part of that is I assume simply the lack of precision. But CPU Time often is reported higher than wall clock time (using the single threaded RTS) as well.
Examples:
$ ./binary-trees 12 +RTS -t
stretch tree of depth 13 check: -1
...
long lived tree of depth 12 check: -1
<<ghc: 43098232 bytes, 42 GCs, 345148/647488 avg/max bytes residency (2 samples), 3M in use,
0.000 INIT (0.000 elapsed),
0.016 MUT (0.009 elapsed),
0.000 GC (0.003 elapsed) :ghc>>
$ ./binary-trees 12 +RTS -t
stretch tree of depth 13 check: -1
8192 trees of depth 4 check: -8192
...
32 trees of depth 12 check: -32
long lived tree of depth 12 check: -1
<<ghc: 43098232 bytes, 42 GCs, 345148/647488 avg/max bytes residency (2 samples), 3M in use,
0.000 INIT (0.000 elapsed),
0.000 MUT (0.010 elapsed),
0.016 GC (0.003 elapsed) :ghc>>
Trac metadata
Trac field | Value |
---|---|
Version | 8.2.2 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | Unknown/Multiple |
Architecture |