YS
Size: a a a
YS
YS
MK
Gen 0 1 colls, 1 par 0.005s 0.001s 0.0013s 0.0013s
Gen 1 1 colls, 0 par 0.004s 0.012s 0.0123s 0.0123s
АГ
MK
YS
ЕР
MK
ЕР
MK
main :: IO ()
main = do
mgr <- newManager defaultManagerSettings
let opts = defaults & manager .~ Right mgr
_ <- withTaskGroup 100 (\tg -> mapConcurrently tg (process opts) [1..1000])
return ()
process :: Options -> Int -> IO ()
process opts i = do
response <- getWith opts ("http://167.172.41.106?i=" ++ (show i))
B.putStrLn (response ^. Network.Wreq.responseBody)
YS
MK
YS
MK
432,458,616 bytes allocated in the heap
832,328 bytes copied during GC
219,832 bytes maximum residency (1 sample(s))
42,312 bytes maximum slop
0 MB total memory in use (0 MB lost due to fragmentation)
MK
YS
MK
YS
MK
YS