Timeline for How to calculate execution time of c# application
Current License: CC BY-SA 3.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 19, 2018 at 18:30 | comment | added | mghie | This will subtract just the miilisecond parts of the two time values and result in any meaningless value between -1000 and 1000. I don't know how this could get 4 upvotes. | |
| Mar 31, 2012 at 11:48 | history | edited | Abel | CC BY-SA 3.0 | Just code is not a good idea, a small intro sentence is good practice in QA sites |
| Mar 31, 2012 at 9:38 | comment | added | Aristos | In any case is not accurate, and the Now is spend a lot of conversion time inside it, at least you can use UtcNow, but this is inaccurate also. Try also the release mode to see... | |
| Mar 31, 2012 at 9:32 | comment | added | Binsh | No you dont. I just tried with a loop from 1 to 10000000, it printed 30. | |
| Mar 31, 2012 at 9:28 | comment | added | Aristos | you always get 0 with DateTime.Now in the same call. | |
| Mar 31, 2012 at 9:19 | history | answered | Binsh | CC BY-SA 3.0 |