Thread overview | |||||
---|---|---|---|---|---|
|
December 28, 2020 Tool to measure the time a function takes to execute? | ||||
---|---|---|---|---|
| ||||
Hello, is there a tool to measure the execution time of a function in D? Can the GC do it? |
December 27, 2020 Re: Tool to measure the time a function takes to execute? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kirill | On 12/27/20 10:24 PM, Kirill wrote: > Hello, is there a tool to measure the execution time of a function in D? Can the GC do it? StopWatch and benchmark(): https://dlang.org/phobos/std_datetime.html Ali |
December 28, 2020 Re: Tool to measure the time a function takes to execute? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ali Çehreli | On Monday, 28 December 2020 at 07:00:59 UTC, Ali Çehreli wrote:
> On 12/27/20 10:24 PM, Kirill wrote:
>> Hello, is there a tool to measure the execution time of a function in D? Can the GC do it?
>
> StopWatch and benchmark():
>
> https://dlang.org/phobos/std_datetime.html
>
> Ali
Thanks Ali! That's exactly what I needed.
|
Copyright © 1999-2021 by the D Language Foundation