Hello,
I've taken to .NET obviously for the RAD abilities. As I'm going forward and
building an indepth application I am becoming more and more disappointed with
the performance. Refreshing, starting up, etc, is very slow compared to
software like Skype. In my installer for my program, I even run ngen to
"compile" it into a native image on my user's desktops.
Could someone give me some pointers or tips, or useful links, maybe I'm
coding my app wrong...
I'm rooting for the .NET framework to have performance hidden in it
somewhere... otherwise I may have to switch to something like C/C++ for my
next application.
One thing I am doing, is using ilmerge.exe to merge a few dlls into one exe
(for a simplified installation directory). Could this be slowing down my
program? And I'll even admit I'm using the Infragistics presentation
framework. I think this might be a major hold-up as well...
When I run my app through an obfuscator and it compiles in the .NET
framework to make my app run independently, the performance increases as
well, but so does the size (another 10 megs)...
Any and all comments will be appreciated, Thanks! 3 2382
"mitch" <mi***@discussions.microsoft.com> wrote in message
news:2A**********************************@microsof t.com... Hello,
I've taken to .NET obviously for the RAD abilities. As I'm going forward and building an indepth application I am becoming more and more disappointed with the performance. Refreshing, starting up, etc, is very slow compared to software like Skype. In my installer for my program, I even run ngen to "compile" it into a native image on my user's desktops.
Could someone give me some pointers or tips, or useful links, maybe I'm coding my app wrong...
I'm rooting for the .NET framework to have performance hidden in it somewhere... otherwise I may have to switch to something like C/C++ for my next application.
One thing I am doing, is using ilmerge.exe to merge a few dlls into one exe (for a simplified installation directory). Could this be slowing down my program? And I'll even admit I'm using the Infragistics presentation framework. I think this might be a major hold-up as well...
When I run my app through an obfuscator and it compiles in the .NET framework to make my app run independently, the performance increases as well, but so does the size (another 10 megs)...
Any and all comments will be appreciated, Thanks
Is it slow on just on startup or all the time?
Is it slow the first time you run it and faster subsequestly? (could be
simply the load of the runtime for the first time on the machine is hitting
you)
Have you profiled the application to see where the time is being spent?
Regards
Richard Blewett - DevelopMentor http://www.dotnetconsult.co.uk/weblog http://www.dotnetconsult.co.uk
Richard,
Where can I find information on how to profile my application?
Thanks
"Richard Blewett [DevelopMentor]" wrote: "mitch" <mi***@discussions.microsoft.com> wrote in message news:2A**********************************@microsof t.com... Hello,
I've taken to .NET obviously for the RAD abilities. As I'm going forward and building an indepth application I am becoming more and more disappointed with the performance. Refreshing, starting up, etc, is very slow compared to software like Skype. In my installer for my program, I even run ngen to "compile" it into a native image on my user's desktops.
Could someone give me some pointers or tips, or useful links, maybe I'm coding my app wrong...
I'm rooting for the .NET framework to have performance hidden in it somewhere... otherwise I may have to switch to something like C/C++ for my next application.
One thing I am doing, is using ilmerge.exe to merge a few dlls into one exe (for a simplified installation directory). Could this be slowing down my program? And I'll even admit I'm using the Infragistics presentation framework. I think this might be a major hold-up as well...
When I run my app through an obfuscator and it compiles in the .NET framework to make my app run independently, the performance increases as well, but so does the size (another 10 megs)...
Any and all comments will be appreciated, Thanks
Is it slow on just on startup or all the time?
Is it slow the first time you run it and faster subsequestly? (could be simply the load of the runtime for the first time on the machine is hitting you)
Have you profiled the application to see where the time is being spent?
Regards
Richard Blewett - DevelopMentor http://www.dotnetconsult.co.uk/weblog http://www.dotnetconsult.co.uk
You can use any .NET profiler available, the one I have used is ANTS
profiler from RedGate, which is very easy to use and they offer a free 14
day trial.
"mitch" <mi***@discussions.microsoft.com> wrote in message
news:B6**********************************@microsof t.com... Richard,
Where can I find information on how to profile my application?
Thanks
"Richard Blewett [DevelopMentor]" wrote:
"mitch" <mi***@discussions.microsoft.com> wrote in message news:2A**********************************@microsof t.com... > Hello, > > I've taken to .NET obviously for the RAD abilities. As I'm going > forward > and > building an indepth application I am becoming more and more > disappointed > with > the performance. Refreshing, starting up, etc, is very slow compared to > software like Skype. In my installer for my program, I even run ngen to > "compile" it into a native image on my user's desktops. > > Could someone give me some pointers or tips, or useful links, maybe I'm > coding my app wrong... > > I'm rooting for the .NET framework to have performance hidden in it > somewhere... otherwise I may have to switch to something like C/C++ for > my > next application. > > One thing I am doing, is using ilmerge.exe to merge a few dlls into one > exe > (for a simplified installation directory). Could this be slowing down > my > program? And I'll even admit I'm using the Infragistics presentation > framework. I think this might be a major hold-up as well... > > When I run my app through an obfuscator and it compiles in the .NET > framework to make my app run independently, the performance increases > as > well, but so does the size (another 10 megs)... > > Any and all comments will be appreciated, Thanks
Is it slow on just on startup or all the time?
Is it slow the first time you run it and faster subsequestly? (could be simply the load of the runtime for the first time on the machine is hitting you)
Have you profiled the application to see where the time is being spent?
Regards
Richard Blewett - DevelopMentor http://www.dotnetconsult.co.uk/weblog http://www.dotnetconsult.co.uk This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Brian Patterson |
last post by:
I have noticed in the book of words that hasattr works by calling getattr
and raising an exception if no such attribute exists. If I need the value
in any case, am I better off using getattr...
|
by: sandy |
last post by:
Hi All,
I am a newbie to MySQL and Python. At the first place, I would like to
know what are the general performance issues (if any) of using MySQL
with Python.
By performance, I wanted to...
|
by: David Noble |
last post by:
We've been developing a web site using 3-tier architecture for 18
months now.
There is a common layer that defines the classes - using XML schemas.
The data layer acts as a wrapper to 3 databases...
|
by: Unruled Boy |
last post by:
1.The follow two ways to declare one object: any difference? especially its
performance.
a.Private m_objMyObject As MyObject=New MyObject()
b.Private m_objMyObject As MyObject
m_objMyObject=New...
|
by: Mark Shelor |
last post by:
I've encountered a troublesome inconsistency in the C-language Perl
extension I've written for CPAN (Digest::SHA). The problem involves the
use of a static array within a performance-critical...
|
by: frank_ulbricht |
last post by:
Hi folks,
I'm a Java programmer and now I have to use C# for a new large
project. The language is the best I've ever seen. In some points it
goes far beyond Java. I like that.
But then there...
|
by: Martin Rosén-Lidholm |
last post by:
Although an impossible question to answer, I fell urged to raise it anyhow.
Given a fairly complex ERP application scenario, what's your estimation for
the X-ratio
dev. time for...
|
by: elbetzio |
last post by:
Evening,
I've got a highly irritating bug with the reportviewer control that
appears to be a show-stopper for one of our bigger applications we're
writing.
When I try and print more than 1...
|
by: raylopez99 |
last post by:
Here I am learning WinForms and two months into it I learn there's a
WPF API that is coming out. Is this WPF out yet, and is it a threat
to WinForms, in the sense that all the library routines I...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |