I was looking at reactive-banana and netwire (also Bacon.js).
Thank you for great explanation! Now I see that this kind of code must be
generating memory leak and solution using Bechavior was not clear for me
(as I am really new to the FRP stuff).
--
Łukasz Dąbek
2013/6/6 John Lato
> Wh
rises when one is writing bigger applications in FRP style.
Thanks in advance!
--
Łukasz Dąbek
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
of 2, single threaded version runs normally). I guess I must live
with this ;)
--
Łukasz Dąbek
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
single threaded
computation (look at singleThreadIntegrate in source code from first post)
runs slower with increasing number of cores available (set through -N
option).
--
Łukasz Dąbek
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haske
planation of why decrease in
performance is proportional to number of cores would be great.
--
Łukasz Dąbek
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
Thank you for your help! This solved my performance problem :)
Anyway, the second question remains. Why performance of single
threaded calculation is affected by RTS -N parameter. Is GHC doing
some parallelization behind the scenes?
--
Łukasz Dąbek.
2013/3/4 Don Stewart :
> Apologies, did
What do you exactly mean? I have included link to full source listing:
http://hpaste.org/83460.
--
Łukasz Dąbek
2013/3/4 Don Stewart :
> Depends on your code...
>
> On Mar 4, 2013 6:10 PM, "Łukasz Dąbek" wrote:
>>
>> Hello Cafe!
>>
>> I have a pro
):
Multi
693204.0390209169 11.877143s
Single
693204.039020917 11.399888s
End
I have two questions:
1) Why performance decreases when I add more cores for my program?
2) Why performance of single threaded integration also changes with
number of cores?
Thanks for all answers,
Łukasz Dąbek