CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_studio_2005 Tags:
Item Type: NewsGroup Date Entered: 11/30/2003 10:55:44 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 4 Views: 14 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
5 Items, 1 Pages 1 |< << Go >> >|
PerfMan101
Asp.Net User
Ngen question11/30/2003 10:55:44 PM

0/0

How fast will C# code run if I use ngen? thx

PerfMan
appana
Asp.Net User
Re: Ngen question12/1/2003 1:06:03 AM

0/0

NGen is good in some cases but it can hurt load time and/or run time performance in other cases. It does not make much sense for server side apps. For client apps, it may make sense if the app calls thousands of methods before GUI starts or for assemblies that have few references (because CLR won't need to load the JIT compiler).

Hope this helps,
Appan

ASP.NET Team



This posting is provided "AS IS" with no warranties, and confers no rights.
PerfMan101
Asp.Net User
Re: Ngen question12/1/2003 5:07:48 AM

0/0

Is that why Microsoft's Winforms dll is ngened many others are not?
Fredrik N
Asp.Net User
Re: Ngen question12/1/2003 5:49:13 AM

0/0

------------------------ Edited by Colt --------------------------
Clickable HyperLink was added
------------------------ Edited by Colt --------------------------


Microsoft's Winforms dll is not ngened by default. Precompiling Windows Forms applications usually results in a performance win. You can choose to run ngen.exe during install time or before you distribute you application. I will recommend you to run ngen.exe during install time, because the application will be optimized for the machine on which it is being installed. If you run ngen.exe before you distribute the application, you limit the optimizations to the ones available on your machine.
You can read more about the ngen.exe on this site:

Native Image Generator (Ngen.exe)


/Fredrik Norm?n NSQUARED2
Microsoft MVP, MCSD, MCAD, MCT

Cornerstone

My Blog, ASP.Net 2.0 etc
appana
Asp.Net User
Re: Ngen question12/1/2003 6:42:19 PM

0/0

I'd suggest not to NGen all of your assemblies with the hope to gain significant performance. In reality, JIT compilation is very optimized and can produce excellent speed -- except for the first time. As I mentioned previously, NGen is suitable only in a few situations.

Hope this helps,
Appan

ASP.NET Team



This posting is provided "AS IS" with no warranties, and confers no rights.
5 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Routledge German Dictionary of Business, Commerce, and Finance: Wörterbuch für Wirtschaft, Handel und Finanzen Englisch: German-english/english-german, Deutsch-englisch/englisch-deutsch Authors: Routledge (Firm), Pages: 961, Published: 1997
The Korean War: Handbook of the Literature and Research Authors: Lester H. Brune, Pages: 460, Published: 1996
Refugees, Citizenship and Social Policy in Europe Authors: Alice Bloch, Carl Levy, Pages: 242, Published: 1999
The World Court and the Contemporary International Lawmaking Process Authors: Edward McWhinney, Pages: 219, Published: 1979
Issues in Teaching Using ICT Authors: Marilyn Leask, Pages: 239, Published: 2001

Web:
Ngen question - ASP.NET Forums Ngen question. Last post 12-01-2003 1:42 PM by appana. 4 replies. Sort Posts:. Oldest to newest, Newest to oldest ...
Ngen question - ASP.NET Forums NGen is good in some cases but it can hurt load time and/or run time performance in other cases. It does not make much sense for server side apps. ...
Prioritizing Functionality - Five Questions Every Client Should ... Five questions clients need to ask themselves about web functionality before initiating their new project.
MSDN Common Language Runtime Question about Ngen.exe and the ... Question about Ngen.exe and the assembly "Core question".
N GEN Racing Cheats Hints Codes Tips FAQ Files Achievements PSX Do you have some N GEN Racing cheats we do not have yet? Just create an simple account and submit answers to visitors questions. You can also submit cheats, ...
Error during setup: ngen.exe - entry Point Not Found ? - Yahoo ... The header on the error box says: ngen.exe - Entry Point Not Found. HELP. 16 minutes ago; - 3 days left to answer. Answer this Question ...
Ngen.exe - .NET Forum Ngen.exe. Question posted by: whezker (Newbie) on December 14th, 2007 08:50 AM. Hi everybody. I'm trying to use the ngen tool from framework ...
CodeProject: Ngen.exe -- A discussion -- Some Queries (.NET ... Today we will discuss Ngen.exe and then there are some questions regarding Ngen which ahve always bothered me. I have managed to get answers to them ...
NGen.exe Talk about NGen.exe. ... BTW: I don't see how this question is related to the group ... so to me it's a perfectly acceptable question. ...
So Long Media Temple | The nGen Works Blog | nGen Works : Web ... May 25, 2007 ... Same question, different answer. And the odds are both are wrong. YAY! ... The Danger Room is the design blog/playground of nGen Works ...

Videos:
301 - Life At Its Best 301 - Life At It's Best (95min) In this lecture, the significance of primary nutrients, carbohydrates, proteins & fats in the diet are discussed. The...
www.moldytoaster.com rked as spam 0 Good comment Poor comment Reply if you believe in peace then? you haven't been reading that koran very well evcaslovenija (1 month a...




Search This Site:










project references

is my site secure with a predefined key?

secure ftp

how make crystal report work on server

yet more problems with personal web site starter kit db access

error: n/a - reflection permission required

portal container problem?

2 level log in

tree view menu

skin problems, please help

here's a function to get the fullurl of a tab, given its name

entered data get lost when restoring prev. minimized webparts

webpart manager problem???

templates

dnn4 install problems (yes, another newbie..)

problems updating the productsdb.vb in the components folder…???

dnn3.1 on iis5.1 / win xp pro

authorization to pages

unable: vwd.b2 to create memeber/roles with sql.ex.b2/ & web.config nothings too...

how to make a user control "retrieve its own skin"?

no (vwd gui) way to add a new provider in feb ctp

master page properties and nested masters

permanently disable html validation

customize the solpartmenu bar color

death by portal aliases (please help!)

how to assign ascx controls to contentplace holders in a masterpage

localhost on "https" how to

site settings unavailable

category feature requsts

loading treeview with a object containing xml

 
All Times Are GMT