[GHC] #7719: System.Timeout.timeout may leak <<timeout>> exceptions
GHC
cvs-ghc at haskell.org
Fri Mar 8 04:23:42 CET 2013
#7719: System.Timeout.timeout may leak <<timeout>> exceptions
-------------------------+--------------------------------------------------
Reporter: int-e | Owner:
Type: bug | Status: new
Priority: normal | Component: libraries/base
Version: 7.7 | Keywords:
Os: Linux | Architecture: x86_64 (amd64)
Failure: None/Unknown | Blockedby:
Blocking: | Related:
-------------------------+--------------------------------------------------
Comment(by int-e):
So I have some numbers using Bas van Dijk's benchmarks (negative speedups
are slowdowns):
{{{
Benchmark speedup (%)
NT T1 T2 T3 NT = non-threaded
willTimeout -5 34 0 -1 T1 = threaded, -N1
wontTimeout -16 68 82 82 T2 = threaded, -N2
busyWillTimeout 6 98 94 95 T3 = threaded, -N3
busyWontTimeout -7 68 79 76
externalException 0 2 4 1 (Athlon II X3 445,
nestedTimeouts 0 0 0 x86-64 Linux)
}}}
I'll attach the benchmark code but beware that compiling criterion on
ghc's head currently requires patching 7 packages, mostly for the
{{{Typeable}}} changes.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7719#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list