On Tuesday, 1 November 2016 at 18:39:01 UTC, Jonathan M Davis wrote:
Alternatively, you can always do something like

immutable before = MonoTime.currTime();
// do stuf...
immutable after = MonoTime.currTime();
Duration timeSpent = after - before;

MonoTime has about 5-10 % fluctuations on my laptop. Is this as good as it gets?

Reply via email to