How can I find time that it is taking
-
Dear friends, Can I find time that it is taking to execute a set of statements in .Net. Here I am opening a word document in a browser using aspose library, where I open it by writing some set of statements aspose and .net And I open it in a different browser by using window.target="_blank". Any way I want to know that, how much time that it is taking to open a new browser and the word document both. I want to calculate that time for better performance of my application. Thank you.
S/W Engineer Akebono Soft Technologies aleem_abdul@akebonosoft.com.
-
Dear friends, Can I find time that it is taking to execute a set of statements in .Net. Here I am opening a word document in a browser using aspose library, where I open it by writing some set of statements aspose and .net And I open it in a different browser by using window.target="_blank". Any way I want to know that, how much time that it is taking to open a new browser and the word document both. I want to calculate that time for better performance of my application. Thank you.
S/W Engineer Akebono Soft Technologies aleem_abdul@akebonosoft.com.
-
Dear friends, Can I find time that it is taking to execute a set of statements in .Net. Here I am opening a word document in a browser using aspose library, where I open it by writing some set of statements aspose and .net And I open it in a different browser by using window.target="_blank". Any way I want to know that, how much time that it is taking to open a new browser and the word document both. I want to calculate that time for better performance of my application. Thank you.
S/W Engineer Akebono Soft Technologies aleem_abdul@akebonosoft.com.
Ok, go:
DateTime R_start = DateTime.UtcNow; // DO YOUR THINGS HERE DateTime R_end = DateTime.UtcNow; long timeCounter = (long)(R_end - R_start).TotalMilliseconds; Response.Write (timeCounter);
Excellence is not an act, but a habit!
Aristotle