on master help sign in
enable SVar diagnostics
2b62821Harendra Kumar
src/Streamly/Core.hs+1−1
@@ -68,7 +68,7 @@ where
68
68
69-- MVar diagnostics has some overhead - around 5% on asyncly null benchmark,
69-- MVar diagnostics has some overhead - around 5% on asyncly null benchmark,
70-- but keep it on for now to debug problems quickly if and when they happen.
70-- but keep it on for now to debug problems quickly if and when they happen.
71−-- define DIAGNOSTICS
71+#define DIAGNOSTICS
72
72
73import Control.Concurrent (ThreadId, myThreadId, threadDelay)
73import Control.Concurrent (ThreadId, myThreadId, threadDelay)
74import Control.Concurrent.MVar (MVar, newEmptyMVar, tryTakeMVar,
74import Control.Concurrent.MVar (MVar, newEmptyMVar, tryTakeMVar,