Re: dmd -profile=gc

2015-06-27 Thread Morbid.Obesity via Digitalmars-d
On Sunday, 3 May 2015 at 21:11:58 UTC, Walter Bright wrote: Just merged in is a new compiler switch that instruments generated code to collect statistics on memory allocation usage and generates a report upon program termination. (Much like how -profile works.) This was based on a prototype

Re: dmd -profile=gc

2015-06-26 Thread Yuxuan Shui via Digitalmars-d
On Sunday, 3 May 2015 at 21:11:58 UTC, Walter Bright wrote: Just merged in is a new compiler switch that instruments generated code to collect statistics on memory allocation usage and generates a report upon program termination. (Much like how -profile works.) This was based on a prototype

Re: dmd -profile=gc

2015-05-06 Thread extrawurst via Digitalmars-d
On Wednesday, 6 May 2015 at 08:16:31 UTC, Andrei Alexandrescu wrote: On 5/6/15 1:11 AM, extrawurst wrote: On Tuesday, 5 May 2015 at 23:36:41 UTC, Walter Bright wrote: On 5/5/2015 1:40 PM, Paolo Invernizzi wrote: On Tuesday, 5 May 2015 at 09:30:55 UTC, Walter Bright wrote: On 5/4/2015 10:53

Re: dmd -profile=gc

2015-05-06 Thread Andrei Alexandrescu via Digitalmars-d
On 5/6/15 1:11 AM, extrawurst wrote: On Tuesday, 5 May 2015 at 23:36:41 UTC, Walter Bright wrote: On 5/5/2015 1:40 PM, Paolo Invernizzi wrote: On Tuesday, 5 May 2015 at 09:30:55 UTC, Walter Bright wrote: On 5/4/2015 10:53 PM, extrawurst wrote: Does it work with a multithreaded application

Re: dmd -profile=gc

2015-05-06 Thread extrawurst via Digitalmars-d
On Tuesday, 5 May 2015 at 23:36:41 UTC, Walter Bright wrote: On 5/5/2015 1:40 PM, Paolo Invernizzi wrote: On Tuesday, 5 May 2015 at 09:30:55 UTC, Walter Bright wrote: On 5/4/2015 10:53 PM, extrawurst wrote: Does it work with a multithreaded application (in contrast to -profile) ? Yes, and

Re: dmd -profile=gc

2015-05-05 Thread Walter Bright via Digitalmars-d
On 5/5/2015 1:40 PM, Paolo Invernizzi wrote: On Tuesday, 5 May 2015 at 09:30:55 UTC, Walter Bright wrote: On 5/4/2015 10:53 PM, extrawurst wrote: Does it work with a multithreaded application (in contrast to -profile) ? Yes, and -profile was also fixed a week ago to handle multiple threads.

Re: dmd -profile=gc

2015-05-05 Thread Vladimir Panteleev via Digitalmars-d
On Tuesday, 5 May 2015 at 13:55:29 UTC, Temtaime wrote: I have a problem with regexes inside my project. 5376580784 [] std.regex.internal.kickstart.Kickstart!char.ShiftOr.this dmd\windows\bin\..\..\src\phobos\std\regex\internal\kickstart.d:284 Calling of regex's crot with any argument

Re: dmd -profile=gc

2015-05-05 Thread extrawurst via Digitalmars-d
On Tuesday, 5 May 2015 at 09:30:55 UTC, Walter Bright wrote: On 5/4/2015 10:53 PM, extrawurst wrote: Does it work with a multithreaded application (in contrast to -profile) ? Yes, and -profile was also fixed a week ago to handle multiple threads. Awesome! Looking forward for the next

Re: dmd -profile=gc

2015-05-05 Thread Temtaime via Digitalmars-d
I have a problem with regexes inside my project. 5376580784 [] std.regex.internal.kickstart.Kickstart!char.ShiftOr.this dmd\windows\bin\..\..\src\phobos\std\regex\internal\kickstart.d:284 Calling of regex's crot with any argument causes that. Problem only exists if my project is compiled

Re: dmd -profile=gc

2015-05-05 Thread Temtaime via Digitalmars-d
*ctor *and then appication terminates with OOM exeption

Re: dmd -profile=gc

2015-05-05 Thread Andrea Fontana via Digitalmars-d
On Monday, 4 May 2015 at 19:24:57 UTC, Walter Bright wrote: On 5/4/2015 6:06 AM, Andrea Fontana wrote: Can be -profile and -profile=gc mixed together? Yes, and you'll get two reports. So I think they should be called -profile and -profile-gc. Or at least -profile=code -profile=gc (but i

Re: dmd -profile=gc

2015-05-05 Thread Paolo Invernizzi via Digitalmars-d
On Tuesday, 5 May 2015 at 09:30:55 UTC, Walter Bright wrote: On 5/4/2015 10:53 PM, extrawurst wrote: Does it work with a multithreaded application (in contrast to -profile) ? Yes, and -profile was also fixed a week ago to handle multiple threads. Finally! Yah! /P

Re: dmd -profile=gc

2015-05-05 Thread Walter Bright via Digitalmars-d
On 5/4/2015 10:53 PM, extrawurst wrote: Does it work with a multithreaded application (in contrast to -profile) ? Yes, and -profile was also fixed a week ago to handle multiple threads.

Re: dmd -profile=gc

2015-05-04 Thread w0rp via Digitalmars-d
On Sunday, 3 May 2015 at 21:11:58 UTC, Walter Bright wrote: Just merged in is a new compiler switch that instruments generated code to collect statistics on memory allocation usage and generates a report upon program termination. (Much like how -profile works.) This was based on a prototype

Re: dmd -profile=gc

2015-05-04 Thread Andrea Fontana via Digitalmars-d
Can be -profile and -profile=gc mixed together? On Sunday, 3 May 2015 at 21:11:58 UTC, Walter Bright wrote: Just merged in is a new compiler switch that instruments generated code to collect statistics on memory allocation usage and generates a report upon program termination. (Much like how

Re: dmd -profile=gc

2015-05-04 Thread Walter Bright via Digitalmars-d
On 5/4/2015 6:06 AM, Andrea Fontana wrote: Can be -profile and -profile=gc mixed together? Yes, and you'll get two reports.

Re: dmd -profile=gc

2015-05-04 Thread extrawurst via Digitalmars-d
On Monday, 4 May 2015 at 19:24:57 UTC, Walter Bright wrote: On 5/4/2015 6:06 AM, Andrea Fontana wrote: Can be -profile and -profile=gc mixed together? Yes, and you'll get two reports. Does it work with a multithreaded application (in contrast to -profile) ?