473,499 Members | 1,669 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Why so .net is slow...

We perfectly develop our applicaitons with VS 6.0. We want to move to .net
but all of our development computers almost die with a small test
application. we have min P4 2ghz and 512MB desktop PCs with huge RAM
support, we use windowsXP as op.system but they don't work wery well. speed
id too different. I don't mention about our notebooks. also they have min P4
1.6 with 512 RAM but they also die.

Our customers also need Pc upgrade if we move to .net even for to run .net
runtime. .Net makes a noticeable slowness. does anyone have comments please
? how do you convince your customers to upgrade their systems ?
Nov 21 '05 #1
12 1787
I run VS.Net on a PIII 1Ghz with 512 of ram running Windows XP. It is not
..NET but your application I would expect.

--

Bob

--------------------------------------
I'll have a B please Bob.

"Aykut Canturk" <ay***********@karina-mira.com> wrote in message
news:ue**************@TK2MSFTNGP12.phx.gbl...
We perfectly develop our applicaitons with VS 6.0. We want to move to .net
but all of our development computers almost die with a small test
application. we have min P4 2ghz and 512MB desktop PCs with huge RAM
support, we use windowsXP as op.system but they don't work wery well.
speed id too different. I don't mention about our notebooks. also they
have min P4 1.6 with 512 RAM but they also die.

Our customers also need Pc upgrade if we move to .net even for to run .net
runtime. .Net makes a noticeable slowness. does anyone have comments
please ? how do you convince your customers to upgrade their systems ?

Nov 21 '05 #2

"Aykut Canturk" <ay***********@karina-mira.com> wrote in message
news:ue**************@TK2MSFTNGP12.phx.gbl...
We perfectly develop our applicaitons with VS 6.0. We want to move to .net
but all of our development computers almost die with a small test
application. we have min P4 2ghz and 512MB desktop PCs with huge RAM
support, we use windowsXP as op.system but they don't work wery well.
speed id too different. I don't mention about our notebooks. also they
have min P4 1.6 with 512 RAM but they also die.

Our customers also need Pc upgrade if we move to .net even for to run .net
runtime. .Net makes a noticeable slowness. does anyone have comments
please ? how do you convince your customers to upgrade their systems ?

I agree with Bob. Could you provide some specific information about your
"small test"?
In my experience with Visual Studio .NET, your hardware configurations are
adequate.
We use Visual Studio .NET 2003 on PC's with P III 700MHz CPU's and 256 Meg
of memory in our classrooms and labs, and while they're not exactly fast,
they certainly don't "die" when running even fairly substantial student
project applications.
So, to help you with your problem, we're going to need more information...

--
Peter [MVP Visual Developer]
Jack of all trades, master of none.
Nov 21 '05 #3
On Mon, 21 Feb 2005 17:19:11 +0200, Aykut Canturk wrote:
We perfectly develop our applicaitons with VS 6.0. We want to move to .net
but all of our development computers almost die with a small test
application. we have min P4 2ghz and 512MB desktop PCs with huge RAM
support, we use windowsXP as op.system but they don't work wery well. speed
id too different. I don't mention about our notebooks. also they have min P4
1.6 with 512 RAM but they also die.

Our customers also need Pc upgrade if we move to .net even for to run .net
runtime. .Net makes a noticeable slowness. does anyone have comments please
? how do you convince your customers to upgrade their systems ?


What do you mean by "small test application", "almost die" and "slowness".
I'm running small .NET applications on a PII 500MHz with 128MB of RAM and
..NET 1.1 without noticing any particular performance problems. Of course,
with bigger applications making heavy use of Web Services, .NET Remoting
and various ActiveX controls, this machine shows its limits but on any
decent not too old computer, all my .NET apps are running just fine.
Nov 21 '05 #4
Hi,

What does your application do? Is is slow right from the start or does it
keep getting slower as you use it more? If it is the latter then you might
not be closing DB Connections or properly disposing of other objects. Bring
up the Windows Task Manager while you are running your app and check out how
much of the CPU it is using and it's memory usage. If the memory usage
keeps going up you are probably not disposing of objects properly. If the
CPU is pegged check your looping. If it runs slow out of your development
environment try to narrow down where the slowdown is occuring and then post
the relevant code. Good luck! Ken.

--
Ken Dopierala Jr.
For great ASP.Net web hosting try:
http://www.webhost4life.com/default.asp?refid=Spinlight
If you sign up under me and need help, email me.

"Aykut Canturk" <ay***********@karina-mira.com> wrote in message
news:ue**************@TK2MSFTNGP12.phx.gbl...
We perfectly develop our applicaitons with VS 6.0. We want to move to .net
but all of our development computers almost die with a small test
application. we have min P4 2ghz and 512MB desktop PCs with huge RAM
support, we use windowsXP as op.system but they don't work wery well. speed id too different. I don't mention about our notebooks. also they have min P4 1.6 with 512 RAM but they also die.

Our customers also need Pc upgrade if we move to .net even for to run .net
runtime. .Net makes a noticeable slowness. does anyone have comments please ? how do you convince your customers to upgrade their systems ?

Nov 21 '05 #5
"Aykut Canturk" <ay***********@karina-mira.com> schrieb:
We perfectly develop our applicaitons with VS 6.0. We want to move to .net
but all of our development computers almost die with a small test
application. we have min P4 2ghz and 512MB desktop PCs with huge RAM
support, we use windowsXP as op.system but they don't work wery well.
speed id too different. I don't mention about our notebooks. also they
have min P4 1.6 with 512 RAM but they also die.


I assume you are talking about the application's user interface. You can
reduce startup time by using "NGEN.EXE" to create a native image of your
application:

<URL:http://msdn.microsoft.com/library/en-us/cptools/html/cpgrfnativeimagegeneratorngenexe.asp>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #6
Bob Hollness wrote:
I run VS.Net on a PIII 1Ghz with 512 of ram running Windows XP. It is not
.NET but your application I would expect.


P3 800 Mhz with 256 MB ram. In comparison to other windows apps, it runs
fairly well. The compile time doesn't take forever. However, sometimes
switching between forms in VB.Net takes a little longer than I think it
should. But it's still usable.
--
---
Aaron Smith
Remove -1- to E-Mail me. Spam Sucks.
Nov 21 '05 #7
Hey friends, I'm not talking about test applications. We are developing
hotel & restaurant management system. Our VB6 version has more than 100
thousand non-remarked code lines. We use SQL server with almost 200 tables
and 80 views. we have more than 200 forms in our project. we full-compile
and run it from IDE in les than 5 seconds in VB6, on P4 1.6 centrino
notebook with 40GB HDD (15 is free) and 512MB RAM.

in same computer, when I try to make a "test" application, which has one
form, one button, one textbox, takes almost 10 seconds to full-compile. I'm
even not talking about "making exe". in programming bussiness, IDE must
catch the speed of the programmer. In IDE, openinf a form from project
exporer, for example to add a button or someting kills my programmers. I can
not walk in the project as I wish. I must click there, see the property, go
back immediatelly, write the code, open another form, copy some control,
reutrn back and paste blah blah blah. and this is supposed to be fast steps.

Am I wrong ?
Nov 21 '05 #8
Aykut,

Probably there is something with your settings.

Did you know that the IDE is doing all the time compiling in background.

And when you debug, your program is compiled completly.

Making.exe is Build before you take the wrong approach.

Cor
Nov 21 '05 #9
Hi,

Are you using Visual Studio 2002? If so you need to upgrade to VS.Net 2003,
once you do you will see a huge performance boost in the IDE for your large
project. I don't know why your "test" application is compiling so slow.
Have you checked your system for Spyware? Check out what you have running
on your task bar, if it is a bunch of different stuff try disabling them one
by one as it may be that one of those apps is causing problems with Visual
Studio. I just loaded an app with about 20 forms and a large class. The
compile time was about 3.5 seconds on a P4 1.7 with 512MB Ram. This way you
at least know that the problem resides with your system configuration and
not with VS.Net. Good luck! Ken.

--
Ken Dopierala Jr.
For great ASP.Net web hosting try:
http://www.webhost4life.com/default.asp?refid=Spinlight
If you sign up under me and need help, email me.

"Aykut Canturk" <ay***********@karina-mira.com> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
Hey friends, I'm not talking about test applications. We are developing
hotel & restaurant management system. Our VB6 version has more than 100
thousand non-remarked code lines. We use SQL server with almost 200 tables
and 80 views. we have more than 200 forms in our project. we full-compile
and run it from IDE in les than 5 seconds in VB6, on P4 1.6 centrino
notebook with 40GB HDD (15 is free) and 512MB RAM.

in same computer, when I try to make a "test" application, which has one
form, one button, one textbox, takes almost 10 seconds to full-compile. I'm even not talking about "making exe". in programming bussiness, IDE must
catch the speed of the programmer. In IDE, openinf a form from project
exporer, for example to add a button or someting kills my programmers. I can not walk in the project as I wish. I must click there, see the property, go back immediatelly, write the code, open another form, copy some control,
reutrn back and paste blah blah blah. and this is supposed to be fast steps.
Am I wrong ?

Nov 21 '05 #10
On Tue, 22 Feb 2005 12:28:31 +0200, Aykut Canturk wrote:
on P4 1.6 centrino
notebook with 40GB HDD (15 is free) and 512MB RAM.


In addition to Cor and Ken' advices and since you seem to care about your
programmer's confort, give them a powerfull enough desktop computer to
develop. Developping any serious project on a laptop computer is in most
cases (unless you really have a beast of a laptop) a pain because of their
slow hard drives, their processor reducing their speed when battery powered
and their cramped keyboards.

I also sometimes use a laptop computer with the exact same config as yours
to do some programming with VS 2003. It's running very fast if i only have
VS launched but as soon as i launch firefox with 10 tabs open, a few
explorer windows, a remote desktop connection and some other apps, it's
painfully slow. Doing the same things on my PIV 3.2 desktop computer
doesn't slow VS at all.

I totally agree with Ken's suggestion: if you are using VS 2003, for VS to
be that slow you surely have viruses, spywares or useless programs running
in the background. Also check your processor settings to make sure that
it's running at full speed.
Nov 21 '05 #11

"Aykut Canturk" <ay***********@karina-mira.com> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
Hey friends, I'm not talking about test applications. We are developing
hotel & restaurant management system. Our VB6 version has more than 100
thousand non-remarked code lines. We use SQL server with almost 200 tables
and 80 views. we have more than 200 forms in our project. we full-compile
and run it from IDE in les than 5 seconds in VB6, on P4 1.6 centrino
notebook with 40GB HDD (15 is free) and 512MB RAM.

in same computer, when I try to make a "test" application, which has one
form, one button, one textbox, takes almost 10 seconds to full-compile.
I'm even not talking about "making exe". in programming bussiness, IDE
must catch the speed of the programmer. In IDE, openinf a form from
project exporer, for example to add a button or someting kills my
programmers. I can not walk in the project as I wish. I must click there,
see the property, go back immediatelly, write the code, open another form,
copy some control, reutrn back and paste blah blah blah. and this is
supposed to be fast steps.

Am I wrong ?

You're speaking in generalities. Please provide specifics.
I can follow the steps in your description: "...when I try to make a "test"
application, which has one form, one button, one textbox...", then compile
and run virtually instantaneously on an old P III 700 w/ 256 Meg.
Are you connecting to a database with this test application, and if so, what
technologies are you using?

I also see you've made a reference to "my programmers".
Does that mean you are not conducting the experiments yourself?
Exactly which version and edition of Visual Studio .NET are your programmers
using?
And, are they attempting to convert old VB 6 applications using the
compatibility library, or are they creating new work using Visual Studio
..NET and .NET resources?
When you talk about "...walk in the project as I wish...", are you aware of
the tabs at the top of the editor window that allow you to switch back and
forth between various views of your work at will?
Both Cor and Ken have made useful observations based on what you've told us
so far. I'll go one step further. If you wish to have the actual test
application evaluated in an environment other than yours, I'll be glad to
provide you an email address to send the zipped up solution to. I will then
be able to look at any details not described here and, hopefully, tell you
why you're experiencing such performance difficulties.

--
Peter [MVP Visual Developer]
Jack of all trades, master of none.
Nov 21 '05 #12
"Mehdi" <vi****@REMOVEME.gmail.com> schrieb:
programmer's confort, give them a powerfull enough desktop computer to
develop. Developping any serious project on a laptop computer is in most
cases (unless you really have a beast of a laptop) a pain because of their
slow hard drives, their processor reducing their speed when battery
powered
and their cramped keyboards.


Well, that's all true, but there are speed differences for compiling between
VB6 and VB.NET caused by the different debugging/compilation models.
Compiling on a P4 3.0 GHz machine with 1 GB of RAM (VS.NET 2003) is still
"slower" than in VB6.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #13

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
6596
by: yawnmoth | last post by:
using the gethostbyname function seems to noticeably slow down pages. some of the comments in php.net's gethostbyname entry suggest using a version that caches the result, but those versions also...
8
2867
by: Neil | last post by:
I have a very puzzling situation with a database. It's an Access 2000 mdb with a SQL 7 back end, with forms bound using ODBC linked tables. At our remote location (accessed via a T1 line) the time...
2
3338
by: David | last post by:
Hi, We have an internal network of 3 users. Myself & one other currently have individual copies of the front-end MS Access forms and via our individual ODBC links we have used the: File > Get...
3
2854
by: Jennyfer J Barco | last post by:
In my application I have a datagrid. The code calls a Stored procedure and brings like 200 records. I created a dataset and then a dataview to bind the results of the query to my grid using ...
50
5649
by: diffuser78 | last post by:
I have just started to learn python. Some said that its slow. Can somebody pin point the issue. Thans
0
4429
by: Pratchaya | last post by:
In my.cnf i add these lines ####### log-bin log-slow-queries = /var/log/mysqld-slow.log long_query_time=1 #######
2
10890
by: mezise | last post by:
Posted by Pratchaya: ------------------------------------------------------ MySQL Slow Log ERROR In my.cnf i add these lines ####### log-bin log-slow-queries = /var/log/mysqld-slow.log
13
3430
by: eighthman11 | last post by:
using Access 2003 and sql server version 8.0 Hey everyone. Created a text box where the user types in an Inventory number and it takes them to that inventory number on the contimuous form. The...
3
2110
by: John | last post by:
Hi I have replaced an ms access app with its vb.net version at a client site. Now the clients keeps complaining about how slow the app response is. The complains they have are for example when...
10
2331
by: penworthamnaynesh | last post by:
Does php slow your website down? This is what i would like to know.The reason is because my site is writtent 50% in html and 50% in php and is very slow at loading. And i cant tell wether php is...
0
7180
Oralloy
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,...
0
7229
jinu1996
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...
0
7395
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4921
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4609
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3108
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3103
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
667
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
311
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.