Thread overview | |||||
---|---|---|---|---|---|
|
December 07, 2012 Profiling | ||||
---|---|---|---|---|
| ||||
Is there a standard library that makes profiling easy and accurate? e.g., profile.start(); ... writeln(profile.end()); where profile.end() can has some nicely printed string to output(like xxm xxs xxms)? |
December 07, 2012 Re: Profiling | ||||
---|---|---|---|---|
| ||||
Posted in reply to js.mdnq | On Friday, December 07, 2012 19:49:30 js.mdnq wrote:
> Is there a standard library that makes profiling easy and accurate?
>
> e.g.,
>
> profile.start();
> ...
> writeln(profile.end());
>
> where profile.end() can has some nicely printed string to
> output(like xxm xxs xxms)?
The compiler has a -profile switch.
- Jonathan M Davis
|
December 07, 2012 Re: Profiling | ||||
---|---|---|---|---|
| ||||
Posted in reply to js.mdnq | these might be useful too http://dlang.org/phobos/std_datetime.html#benchmark http://dlang.org/phobos/std_datetime.html#StopWatch |
Copyright © 1999-2021 by the D Language Foundation