Click here to Skip to main content
15,887,746 members
Home / Discussions / C#
   

C#

 
QuestionHow to improve .net app performance ? Pin
hdv21215-Jun-09 11:14
hdv21215-Jun-09 11:14 
AnswerRe: How to improve .net app performance ? Pin
Luc Pattyn15-Jun-09 11:38
sitebuilderLuc Pattyn15-Jun-09 11:38 
GeneralRe: How to improve .net app performance ? Pin
hdv21215-Jun-09 12:10
hdv21215-Jun-09 12:10 
GeneralRe: How to improve .net app performance ? Pin
Luc Pattyn15-Jun-09 12:30
sitebuilderLuc Pattyn15-Jun-09 12:30 
GeneralRe: How to improve .net app performance ? Pin
Christian Graus15-Jun-09 15:09
protectorChristian Graus15-Jun-09 15:09 
GeneralRe: How to improve .net app performance ? Pin
hdv21215-Jun-09 18:58
hdv21215-Jun-09 18:58 
GeneralRe: How to improve .net app performance ? Pin
N a v a n e e t h15-Jun-09 18:12
N a v a n e e t h15-Jun-09 18:12 
GeneralRe: How to improve .net app performance ? Pin
S. Senthil Kumar16-Jun-09 1:23
S. Senthil Kumar16-Jun-09 1:23 
1. Where would the call to PrepareMethod be? If it's in startup, it would slow things down even more.
2. MSDN[^] says that PrepareMethod "Prepares a method for inclusion in a Constrained Execution Region (CER) with the specified instantiation.". Nowhere does it mention that the method is JITted. AFAIK, CERs are created to make sure that certain code gets executed always in the face of errors, however critical they may be.

N a v a n e e t h wrote:
In C++, you can use /DelayLoad:dllname[^] linker option to delay loading of a DLL.


That is how .NET works by default - assemblies are loaded only when a method referencing a type in an assembly is JITted does an assembly get loaded.

Regards
Senthil [MVP - Visual C#]
_____________________________
My Home Page |My Blog | My Articles | My Flickr | WinMacro

GeneralRe: How to improve .net app performance ? Pin
N a v a n e e t h16-Jun-09 15:44
N a v a n e e t h16-Jun-09 15:44 
GeneralRe: How to improve .net app performance ? Pin
S. Senthil Kumar16-Jun-09 18:14
S. Senthil Kumar16-Jun-09 18:14 
AnswerRe: How to improve .net app performance ? Pin
Not Active15-Jun-09 11:48
mentorNot Active15-Jun-09 11:48 
AnswerRe: How to improve .net app performance ? Pin
Pete O'Hanlon15-Jun-09 12:09
mvePete O'Hanlon15-Jun-09 12:09 
Questioncompare pictures of different sizes [modified] Pin
netDeveloper15-Jun-09 10:35
netDeveloper15-Jun-09 10:35 
AnswerRe: compare pictures of different sizes Pin
I Believe In GOD15-Jun-09 10:43
I Believe In GOD15-Jun-09 10:43 
GeneralRe: compare pictures of different sizes Pin
netDeveloper15-Jun-09 10:44
netDeveloper15-Jun-09 10:44 
AnswerRe: compare pictures of different sizes Pin
Luc Pattyn15-Jun-09 10:45
sitebuilderLuc Pattyn15-Jun-09 10:45 
GeneralRe: compare pictures of different sizes Pin
netDeveloper15-Jun-09 10:53
netDeveloper15-Jun-09 10:53 
GeneralRe: compare pictures of different sizes Pin
Luc Pattyn15-Jun-09 10:58
sitebuilderLuc Pattyn15-Jun-09 10:58 
GeneralRe: compare pictures of different sizes Pin
I Believe In GOD15-Jun-09 12:01
I Believe In GOD15-Jun-09 12:01 
GeneralRe: compare pictures of different sizes [modified] Pin
Luc Pattyn15-Jun-09 12:04
sitebuilderLuc Pattyn15-Jun-09 12:04 
GeneralRe: compare pictures of different sizes Pin
I Believe In GOD15-Jun-09 12:11
I Believe In GOD15-Jun-09 12:11 
GeneralRe: compare pictures of different sizes Pin
Luc Pattyn15-Jun-09 12:42
sitebuilderLuc Pattyn15-Jun-09 12:42 
QuestionWord automation - selecting a part of the document Pin
dptalt15-Jun-09 8:56
dptalt15-Jun-09 8:56 
AnswerRe: Word automation - selecting a part of the document Pin
led mike15-Jun-09 9:57
led mike15-Jun-09 9:57 
GeneralRe: Word automation - selecting a part of the document Pin
dptalt15-Jun-09 10:09
dptalt15-Jun-09 10:09 

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.