Tool to measure the time a function takes to execute?

Ali Çehreli acehreli at yahoo.com
Mon Dec 28 07:00:59 UTC 2020


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



More information about the Digitalmars-d-learn mailing list