Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Million iterations per second

Tags:

performance

c#

I have a parser that we implemented and I want to compare it to some other commercial parsers. The other parsers are measuring their speed in terms of "million iterations per second." How can I measure the number of iterations for my parser in C#?

like image 597
Emo Avatar asked May 28 '26 17:05

Emo


1 Answers

Here is an Example of how to do this on Visual studio http://www.dotnetperls.com/benchmark

Also to get an acurate result Complie to an Exe and run as a standalone console application, dont run it from inside Visual studio.

like image 165
RY4N Avatar answered May 30 '26 06:05

RY4N



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!