Re: [Haskell-cafe] FRP memory leaks

2013-06-06 Thread Łukasz Dąbek
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

[Haskell-cafe] FRP memory leaks

2013-06-05 Thread Łukasz Dąbek
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

Re: [Haskell-cafe] Concurrency performance problem

2013-03-05 Thread Łukasz Dąbek
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

Re: [Haskell-cafe] Concurrency performance problem

2013-03-04 Thread Łukasz Dąbek
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

Re: [Haskell-cafe] Concurrency performance problem

2013-03-04 Thread Łukasz Dąbek
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

Re: [Haskell-cafe] Concurrency performance problem

2013-03-04 Thread Łukasz Dąbek
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

Re: [Haskell-cafe] Concurrency performance problem

2013-03-04 Thread Łukasz Dąbek
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

[Haskell-cafe] Concurrency performance problem

2013-03-04 Thread Łukasz Dąbek
): 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