Testing code performance with the .NET StopWatch object

Started by Visisthebest, May 17, 2021, 11:49:46 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Visisthebest

I am currently trying to measure Visio VSTO addin code performance with the .NET StopWatch object. I notice the amount of (milli)seconds measured can be way off, in certain tests many more seconds elapsing than what is measured by the StopWatch. Is there a more accurate way to measure Visio VSTO addin code performance?
Visio 2021 Professional

Nikolay


Visisthebest

Yes Nikolay thank you you're right still so used to the bare bones VBA IDE that I forget VStudio has all these great functionalities!

.net lists also so much handier than collections.

Visio 2021 Professional