C#C
C#3y ago
gonk

Measuring sub-millisecond execution time with Methodtimer.Fody

I am using https://github.com/Fody/MethodTimer to measure code execution time. The function I am trying to measure runs in under one millisecond, but MethodTimer only displays the amount of milliseconds.

Is there a way to make MethodTimer display time in microseconds? Is there a different, easy-to-use benchmarking tool I could use?
GitHub
Injects some very basic method timing code. Contribute to Fody/MethodTimer development by creating an account on GitHub.
Was this page helpful?