Click here to Skip to main content
15,908,931 members
Home / Discussions / C#
   

C#

 
AnswerRe: Execution time.....?? Pin
Guffa27-Apr-09 2:17
Guffa27-Apr-09 2:17 
Hum Dum wrote:
a)How can i speed up execution?


Start with b, so that you know which part of the code that needs optimising.

Hum Dum wrote:
b)Is there a way to find out which method is taking most time or culprit method/object/operation?


The most basic would be to get the execution time for each method to see where the most time is used. You can use the StopWatch class to get better resolution than DateTime.Now offers.

Despite everything, the person most likely to be fooling you next is yourself.

GeneralRe: Execution time.....?? Pin
Hum Dum27-Apr-09 2:44
Hum Dum27-Apr-09 2:44 
GeneralRe: Execution time.....?? Pin
S. Senthil Kumar27-Apr-09 4:56
S. Senthil Kumar27-Apr-09 4:56 
AnswerRe: Execution time.....?? Pin
Eddy Vluggen27-Apr-09 2:42
professionalEddy Vluggen27-Apr-09 2:42 
GeneralRe: Execution time.....?? Pin
Hum Dum27-Apr-09 2:51
Hum Dum27-Apr-09 2:51 
AnswerRe: Execution time.....?? Pin
Luc Pattyn27-Apr-09 3:16
sitebuilderLuc Pattyn27-Apr-09 3:16 
GeneralRe: Execution time.....?? [modified] Pin
Hum Dum27-Apr-09 20:48
Hum Dum27-Apr-09 20:48 
GeneralRe: Execution time.....?? Pin
Luc Pattyn28-Apr-09 0:18
sitebuilderLuc Pattyn28-Apr-09 0:18 
GeneralRe: Execution time.....?? Pin
Hum Dum28-Apr-09 1:56
Hum Dum28-Apr-09 1:56 
GeneralRe: Execution time.....?? Pin
Luc Pattyn28-Apr-09 2:31
sitebuilderLuc Pattyn28-Apr-09 2:31 
GeneralRe: Execution time.....?? Pin
Hum Dum28-Apr-09 19:08
Hum Dum28-Apr-09 19:08 
Questionproblem in inserting a record in data base tale Pin
Mangesh Tomar27-Apr-09 0:23
Mangesh Tomar27-Apr-09 0:23 
AnswerRe: problem in inserting a record in data base tale Pin
Mangesh Tomar27-Apr-09 0:26
Mangesh Tomar27-Apr-09 0:26 
Answerrepost Pin
N a v a n e e t h27-Apr-09 0:29
N a v a n e e t h27-Apr-09 0:29 
AnswerRe: problem in inserting a record in data base tale Pin
musefan27-Apr-09 0:45
musefan27-Apr-09 0:45 
GeneralRe: problem in inserting a record in data base tale Pin
Mangesh Tomar27-Apr-09 0:53
Mangesh Tomar27-Apr-09 0:53 
GeneralRe: problem in inserting a record in data base tale Pin
musefan27-Apr-09 2:17
musefan27-Apr-09 2:17 
GeneralRe: problem in inserting a record in data base tale [modified] Pin
Mirko198027-Apr-09 2:19
Mirko198027-Apr-09 2:19 
Questionis it possible to run the user-edit code... Pin
Seraph_summer27-Apr-09 0:15
Seraph_summer27-Apr-09 0:15 
AnswerRe: is it possible to run the user-edit code... Pin
Eddy Vluggen27-Apr-09 2:03
professionalEddy Vluggen27-Apr-09 2:03 
QuestionLooping with IP address range ... Pin
mamatosh27-Apr-09 0:06
mamatosh27-Apr-09 0:06 
AnswerRe: Looping with IP address range ... Pin
Christian Graus27-Apr-09 0:14
protectorChristian Graus27-Apr-09 0:14 
GeneralRe: Looping with IP address range ... Pin
mamatosh27-Apr-09 0:17
mamatosh27-Apr-09 0:17 
QuestionC# sample project Pin
BabyOreo27-Apr-09 0:01
BabyOreo27-Apr-09 0:01 
AnswerRe: C# sample project Pin
Christian Graus27-Apr-09 0:13
protectorChristian Graus27-Apr-09 0:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.