Re: Looking for GC intensive D programs
On Monday, 29 June 2015 at 21:53:37 UTC, rsw0x wrote: On Monday, 29 June 2015 at 09:35:08 UTC, John Colvin wrote: On Sunday, 28 June 2015 at 01:41:53 UTC, rsw0x wrote: Does anyone know of any GC intensive D programs that can preferably be ran with little to no setup? https://github.com/kostya/benchmarks contains some pretty GC-heavy code, although a lot of the slowness is actually from the AA implementation. The problem with benchmarks optimized for D is that they generally make little to no allocations, which makes them a bad candidate for memory allocation statistics. If you take a look at the code you'll see that they often allocate like crazy.
Re: Looking for GC intensive D programs
On Sunday, 28 June 2015 at 22:29:22 UTC, deadalnix wrote: On Sunday, 28 June 2015 at 01:41:53 UTC, rsw0x wrote: Does anyone know of any GC intensive D programs that can preferably be ran with little to no setup? I'm not sure what you mean by GC intensive. Most of high perf D programs would have been optimized to reduce GC usage to begin with. this is precisely the issue I'm having finding any GC intensive D programs.
Re: Looking for GC intensive D programs
On Monday, 29 June 2015 at 09:35:08 UTC, John Colvin wrote: On Sunday, 28 June 2015 at 01:41:53 UTC, rsw0x wrote: Does anyone know of any GC intensive D programs that can preferably be ran with little to no setup? https://github.com/kostya/benchmarks contains some pretty GC-heavy code, although a lot of the slowness is actually from the AA implementation. The problem with benchmarks optimized for D is that they generally make little to no allocations, which makes them a bad candidate for memory allocation statistics.
Re: Looking for GC intensive D programs
On Monday, 29 June 2015 at 04:19:04 UTC, rsw0x wrote: Does anyone know of any GC intensive D programs that can preferably be ran with little to no setup? Sorry, should have been a bit more clear. I'm looking for real world D programs to help collect statistics. Here's mine, although it hasn't been updated for a year: https://bitbucket.org/infognition/undup It creates a lot of small objects in GC heap when it makes a drive scan. Due to some conservativeness of D GC and interlinkedness of object graph in this program, GC couldn't free memory properly and I had to make the process restart after user ends working with one set of data (drive scan) and returns to main window. It's a GUI tool for Windows, you won't build it on other OSs. Works fine in Wine on Linux though.
Re: Looking for GC intensive D programs
On Sunday, 28 June 2015 at 01:41:53 UTC, rsw0x wrote: Does anyone know of any GC intensive D programs that can preferably be ran with little to no setup? I think you can use big text file and Word Count sample from official site: http://dlang.org/wc.html
Re: Looking for GC intensive D programs
On Sunday, 28 June 2015 at 01:41:53 UTC, rsw0x wrote: Does anyone know of any GC intensive D programs that can preferably be ran with little to no setup? I remember Maxime said that the Higgs compiler was gc intensive https://github.com/higgsjs/Higgs
Re: Looking for GC intensive D programs
On Sunday, 28 June 2015 at 01:41:53 UTC, rsw0x wrote: Does anyone know of any GC intensive D programs that can preferably be ran with little to no setup? https://github.com/kostya/benchmarks contains some pretty GC-heavy code, although a lot of the slowness is actually from the AA implementation.
Re: Looking for GC intensive D programs
On 29/06/15 01:40, Nick Sabalausky wrote: Just port something from Java ;) Yeah, SWT is already ported as DWT [1]. [1] https://github.com/d-widget-toolkit/dwt -- /Jacob Carlborg
Re: Looking for GC intensive D programs
On Sunday, 28 June 2015 at 01:41:53 UTC, rsw0x wrote: Does anyone know of any GC intensive D programs that can preferably be ran with little to no setup? DDMD :D You would have to do some digging to get it working with the GC, but a combined compilation of phobos + some CTFE heavy project (eg something that uses ctRegex a lot) would be highly stressful to any GC.
Re: Looking for GC intensive D programs
On Monday, 29 June 2015 at 04:09:19 UTC, Nikolay wrote: On Sunday, 28 June 2015 at 01:41:53 UTC, rsw0x wrote: Does anyone know of any GC intensive D programs that can preferably be ran with little to no setup? I think you can use big text file and Word Count sample from official site: http://dlang.org/wc.html Sorry, should have been a bit more clear. I'm looking for real world D programs to help collect statistics. At the moment I'm using Higgs but I'm pretty sure a lot of effort has gone into avoiding the GC in Higgs.
Re: Looking for GC intensive D programs
On 06/28/2015 06:37 PM, rsw0x wrote: On Sunday, 28 June 2015 at 22:29:22 UTC, deadalnix wrote: I'm not sure what you mean by GC intensive. Most of high perf D programs would have been optimized to reduce GC usage to begin with. this is precisely the issue I'm having finding any GC intensive D programs. Just port something from Java ;)
Re: Looking for GC intensive D programs
On Sunday, 28 June 2015 at 01:41:53 UTC, rsw0x wrote: Does anyone know of any GC intensive D programs that can preferably be ran with little to no setup? I'm not sure what you mean by GC intensive. Most of high perf D programs would have been optimized to reduce GC usage to begin with.
Looking for GC intensive D programs
Does anyone know of any GC intensive D programs that can preferably be ran with little to no setup?