digitalmars.D - dmd omit framepointer
- Benjamin Thaut (5/5) Sep 30 2011 Does dmd omit framepointers in release buidls? (on windows)
- Vladimir Panteleev (9/11) Sep 30 2011 Yes.
- Benjamin Thaut (9/17) Sep 30 2011 That is really unfortunate. I would like to profile my application
- Martin Nowak (7/27) Sep 30 2011 You should try the good built-in profiler.
- Benjamin Thaut (8/13) Sep 30 2011 As I want to profile a realtime 3d game the builtin profiler is not
- Walter Bright (2/4) Sep 30 2011 Please add an enhancement request to Bugzilla.
- Vladimir Panteleev (6/11) Oct 01 2011 Done: http://d.puremagic.com/issues/show_bug.cgi?id=6752
Does dmd omit framepointers in release buidls? (on windows) If yes is there a way to turn it off? -- Kind Regards Benjamin Thaut
Sep 30 2011
On Fri, 30 Sep 2011 19:51:46 +0300, Benjamin Thaut <code benjamin-thaut.de> wrote:Does dmd omit framepointers in release buidls? (on windows)Yes.If yes is there a way to turn it off?I think the only option is not to use -release. (For the record, I also don't think that putting stack frame generation and disabling of asserts/etc. behind one option was a good idea.) -- Best regards, Vladimir mailto:vladimir thecybershadow.net
Sep 30 2011
Am 30.09.2011 19:22, schrieb Vladimir Panteleev:On Fri, 30 Sep 2011 19:51:46 +0300, Benjamin Thaut <code benjamin-thaut.de> wrote:That is really unfortunate. I would like to profile my application obviously in release build. Because of the omitted framepointer the profiler can often not walk the callstack correctly and this results in wrong profiling output. Not building with -release would not really result in representable results when profiling. -- Kind Regards Benjamin ThautDoes dmd omit framepointers in release buidls? (on windows)Yes.If yes is there a way to turn it off?I think the only option is not to use -release. (For the record, I also don't think that putting stack frame generation and disabling of asserts/etc. behind one option was a good idea.)
Sep 30 2011
On Fri, 30 Sep 2011 19:48:18 +0200, Benjamin Thaut <code benjamin-thaut.de> wrote:Am 30.09.2011 19:22, schrieb Vladimir Panteleev:You should try the good built-in profiler. It's an instrumenting one and besides a severe slowdown in certain situations the results are way preciser than those from a sampling profiler. martinOn Fri, 30 Sep 2011 19:51:46 +0300, Benjamin Thaut <code benjamin-thaut.de> wrote:That is really unfortunate. I would like to profile my application obviously in release build. Because of the omitted framepointer the profiler can often not walk the callstack correctly and this results in wrong profiling output. Not building with -release would not really result in representable results when profiling.Does dmd omit framepointers in release buidls? (on windows)Yes.If yes is there a way to turn it off?I think the only option is not to use -release. (For the record, I also don't think that putting stack frame generation and disabling of asserts/etc. behind one option was a good idea.)
Sep 30 2011
Am 30.09.2011 20:23, schrieb Martin Nowak:You should try the good built-in profiler. It's an instrumenting one and besides a severe slowdown in certain situations the results are way preciser than those from a sampling profiler. martinAs I want to profile a realtime 3d game the builtin profiler is not usable for me, as it slows my game down to unplayable framerates. Using a sampling profiler however is possible without a gamebreaking performance impact. -- Kind Regards Benjamin Thaut
Sep 30 2011
On 9/30/2011 10:22 AM, Vladimir Panteleev wrote:(For the record, I also don't think that putting stack frame generation and disabling of asserts/etc. behind one option was a good idea.)Please add an enhancement request to Bugzilla.
Sep 30 2011
On Fri, 30 Sep 2011 21:52:02 +0300, Walter Bright <newshound2 digitalmars.com> wrote:On 9/30/2011 10:22 AM, Vladimir Panteleev wrote:Done: http://d.puremagic.com/issues/show_bug.cgi?id=6752 -- Best regards, Vladimir mailto:vladimir thecybershadow.net(For the record, I also don't think that putting stack frame generation and disabling of asserts/etc. behind one option was a good idea.)Please add an enhancement request to Bugzilla.
Oct 01 2011