How can I use IL to make decisions and look for bottlenecks?

If I look at il created for my C # code (I can do this using the excellent LINQPad tool), what should I look for to find out what could be the performance bottleneck?

I read the Inside Intermediate Language book to understand the code, but it does not really cover how to use this information for decision making and therefore changes.

thanks

+3
source share
2 answers

Learning about IL is useful for narrowing down which particular lines of code cause unintended side effects, but probably less useful for tracking performance bottlenecks.

. ( ). , IL, .

, , , , . , . , , - , (, ). , / IL.

, - , , ( ) JIT, look IL. , IL - ( ) . .

, , .net, .

+5

LINQPad SQL, LINQ to SQL. ?

, LINQPad SQL- SQL Query Analyzer.

, .NET, ANTS Red Gate.

+1

Source: https://habr.com/ru/post/1704470/


All Articles