Click here to Skip to main content
15,940,173 members
Home / Discussions / C#
   

C#

 
AnswerRe: Need Help with Optimizing My C# Code for Better Performance Pin
Dave Kreskowiak31-May-24 12:39
mveDave Kreskowiak31-May-24 12:39 
GeneralRe: Need Help with Optimizing My C# Code for Better Performance Pin
trønderen8-Jun-24 5:22
trønderen8-Jun-24 5:22 
GeneralRe: Need Help with Optimizing My C# Code for Better Performance Pin
Dave Kreskowiak8-Jun-24 6:42
mveDave Kreskowiak8-Jun-24 6:42 
GeneralRe: Need Help with Optimizing My C# Code for Better Performance Pin
trønderen9-Jun-24 3:35
trønderen9-Jun-24 3:35 
GeneralRe: Need Help with Optimizing My C# Code for Better Performance Pin
Dave Kreskowiak9-Jun-24 4:08
mveDave Kreskowiak9-Jun-24 4:08 
AnswerRe: Need Help with Optimizing My C# Code for Better Performance Pin
Rob Philpott4-Jun-24 2:00
Rob Philpott4-Jun-24 2:00 
GeneralRe: Need Help with Optimizing My C# Code for Better Performance Pin
jochance7-Jun-24 2:28
jochance7-Jun-24 2:28 
AnswerRe: Need Help with Optimizing My C# Code for Better Performance Pin
jschell7-Jun-24 12:41
jschell7-Jun-24 12:41 
Steves Smith wrote:
I suspect the string operations might be the bottleneck


Programmers are not good at guessing.

That is why, as a different poster said "profile".

That involves instrumenting your code and then running it. The instrumentation measures the process so there is no longer any guessing.

Profiling involves two criteria: time and count

Both are important. A method that runs one time and takes 5 minutes is different than a method that runs 300 times and takes one second (which is also 5 minutes.)

You can instrument your code manually or find a tool (free or not) that does it for you.
Questionhow to get repository user list and and user group from Azure DevOps Pin
arjunmca28-May-24 21:49
arjunmca28-May-24 21:49 
AnswerRe: how to get repository user list and and user group from Azure DevOps Pin
OriginalGriff28-May-24 22:27
mveOriginalGriff28-May-24 22:27 
GeneralRe: how to get repository user list and and user group from Azure DevOps Pin
trønderen29-May-24 5:21
trønderen29-May-24 5:21 
Questiontelegram client api to download video files and/or telegram video link Pin
Tony Germanos28-May-24 6:59
Tony Germanos28-May-24 6:59 
AnswerRe: telegram client api to download video files and/or telegram video link Pin
OriginalGriff28-May-24 18:19
mveOriginalGriff28-May-24 18:19 
GeneralAD Sync Manager - a free tool to easily monitor and manage your AD to Azure AD sync Pin
TheITApprentice21-May-24 18:29
TheITApprentice21-May-24 18:29 
GeneralRe: AD Sync Manager - a free tool to easily monitor and manage your AD to Azure AD sync Pin
OriginalGriff21-May-24 18:30
mveOriginalGriff21-May-24 18:30 
QuestionHow to convert XML to text file Pin
Member 1211605220-May-24 19:37
Member 1211605220-May-24 19:37 
AnswerRe: How to convert XML to text file Pin
Richard Deeming20-May-24 21:32
mveRichard Deeming20-May-24 21:32 
AnswerRe: How to convert XML to text file Pin
trønderen21-May-24 4:43
trønderen21-May-24 4:43 
AnswerRe: How to convert XML to text file Pin
jschell21-May-24 12:27
jschell21-May-24 12:27 
AnswerRe: How to convert XML to text file Pin
OriginalGriff21-May-24 19:02
mveOriginalGriff21-May-24 19:02 
QuestionWhere to hand over the instance of my plugin dll class to another class Pin
AtaChris18-May-24 8:34
AtaChris18-May-24 8:34 
AnswerRe: Where to hand over the instance of my plugin dll class to another class Pin
OriginalGriff18-May-24 20:20
mveOriginalGriff18-May-24 20:20 
GeneralRe: Where to hand over the instance of my plugin dll class to another class Pin
Dave Kreskowiak19-May-24 5:02
mveDave Kreskowiak19-May-24 5:02 
GeneralRe: Where to hand over the instance of my plugin dll class to another class Pin
OriginalGriff19-May-24 5:21
mveOriginalGriff19-May-24 5:21 
GeneralRe: Where to hand over the instance of my plugin dll class to another class Pin
Dave Kreskowiak19-May-24 5:31
mveDave Kreskowiak19-May-24 5:31 

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.