473,657 Members | 2,587 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

VS.NET is 10 times slower than VB6

Hello everybody,

I just wondered if anybody else has noticed this?

It takes around 6 seconds to start debugging a very simple ASPX page
with VS.NET whereas VB6 takes under 0.5 seconds, even with
very large and complex projects.

This is a real shame :(

John Rivers

Nov 19 '05 #1
87 4938
John,

Are you saying that you are developing web applications with VB6?

Eliyahu

"John Rivers" <fi*****@btinte rnet.com> wrote in message
news:11******** **************@ o13g2000cwo.goo glegroups.com.. .
Hello everybody,

I just wondered if anybody else has noticed this?

It takes around 6 seconds to start debugging a very simple ASPX page
with VS.NET whereas VB6 takes under 0.5 seconds, even with
very large and complex projects.

This is a real shame :(

John Rivers

Nov 19 '05 #2
John :

I can count to 3 real fast.
To count to 100 takes a little longer.

Bottom line : debugging speed isn't everything.

btw, how did you debug an ASPX file with VB6 ?

;-)

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
=============== =======

"John Rivers" <fi*****@btinte rnet.com> wrote in message
news:11******** **************@ o13g2000cwo.goo glegroups.com.. .
Hello everybody,

I just wondered if anybody else has noticed this?

It takes around 6 seconds to start debugging a very simple ASPX page
with VS.NET whereas VB6 takes under 0.5 seconds, even with
very large and complex projects.

This is a real shame :(

John Rivers

Nov 19 '05 #3
"Juan T. Llibre" <no***********@ nowhere.com> wrote in message
news:%2******** **********@TK2M SFTNGP11.phx.gb l...
btw, how did you debug an ASPX file with VB6 ?


Wow - we're in the presence of genius... ;-)
Nov 19 '05 #4
Before ASP.NET, it was standard practice to put your business logic,
data layer, and what we currently call CodeBehind into a VB .dll and
call it via COM. It would give you an order of magnitude performance
improvement as well as letting you develop in a real IDE. You could
fire up your project in debug mode by hitting F5, just like you can
today.

So yeah, he's saying he has developed web applications with VB6. If
you were in the industry more than 3 years ago, you probaby would have
too.

Jason Kester
Expat Software Consulting Services
http://www.expatsoftware.com/

Nov 19 '05 #5
you guys sure can confuse a poor little troll

i have timed it as 6 seconds between pressing F5 and the page actually
running

at $50 per hour 6 seconds is about 8 cents

that is real money!

it is just not acceptable performance - somebody agree with me!

Nov 19 '05 #6
How complicated are the applications you are comparing? I think you'll
find that 6 seconds remains pretty much constant as you scale up your
project. It's just the overhead involved in restarting IIS.

The last large VB/ASP project I worked on would take about 10 seconds
to fire up the debugger. I have an ASP.NET project of similar
magnitude for another client that takes about the same amount of time.
For tiny "Hello World" projects, I'd agree that VB/ASP is probably
faster. But in real world situations I've never noticed a difference.
As to whether it's acceptable to wait 6 seconds to debug? I'll have to
defer comment on that, since I can still recall a time where I'd queue
up a batch job when I left at night and hope it was finished by the
time I got to the office in the morning!

Jason Kester
Expat Software Consulting Services
http://www.expatsoftware.com/

Nov 19 '05 #7
I have two VB6 groups which are 9mb and 12mb of source code
I press F5 and I get a running app in under 1 second.
Close debugging takes 1 second.
I can compile a whole group in about 35 seconds.

With VS.NET i'm looking at 6 seconds plus to start the app
and about 4 seconds to close it again (that is hello world)

I bought a new computer with 1Gb ram just to run it and its still super
slow.

Its as bad as the java compilers.

jasonkester wrote:
How complicated are the applications you are comparing? I think you'll
find that 6 seconds remains pretty much constant as you scale up your
project. It's just the overhead involved in restarting IIS.

The last large VB/ASP project I worked on would take about 10 seconds
to fire up the debugger. I have an ASP.NET project of similar
magnitude for another client that takes about the same amount of time.
For tiny "Hello World" projects, I'd agree that VB/ASP is probably
faster. But in real world situations I've never noticed a difference.
As to whether it's acceptable to wait 6 seconds to debug? I'll have to
defer comment on that, since I can still recall a time where I'd queue
up a batch job when I left at night and hope it was finished by the
time I got to the office in the morning!

Jason Kester
Expat Software Consulting Services
http://www.expatsoftware.com/


Nov 19 '05 #8
re:
it is just not acceptable performance - somebody agree with me!
You're not talking about performance. You're talking about debugging.
"Debugging" and "performanc e throughput" are two different animals.

A 6 second debug response seems quite fast to me, considering that you're
dealing with much more complex code than VB6 ever had to deal with.

Get over it. VB6 for web apps is dead
because it's not as efficient as VB.NET.

For desktop apps you might have a point, but for web apps
VB.NET gets at least 200% more throughput than VB6 ever got.

Who cares if VB.NET debugging takes 6 seconds to start up!
All I care about is that my web *clients* get more throughput.

re: at $50 per hour 6 seconds is about 8 cents
If you're asking these questions
and you're getting $50 an hour...you're overpaid.

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
=============== =======

"John Rivers" <fi*****@btinte rnet.com> wrote in message
news:11******** **************@ g14g2000cwa.goo glegroups.com.. . you guys sure can confuse a poor little troll

i have timed it as 6 seconds between pressing F5 and the page actually
running

at $50 per hour 6 seconds is about 8 cents

that is real money!

it is just not acceptable performance - somebody agree with me!

Nov 19 '05 #9
"Juan T. Llibre" <no***********@ nowhere.com> wrote in message
news:eD******** ******@TK2MSFTN GP15.phx.gbl...
If you're asking these questions
and you're getting $50 an hour...you're overpaid.


ROTFLMAO!
Nov 19 '05 #10

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

Similar topics

10
2223
by: Willem | last post by:
When I run the follwing code using Python 2.3: from time import clock t1 = clock () for i in range (10000): a = int ('bbbbaaaa', 16) t2 = clock () for i in range (10000): a = long ('bbbbaaaa', 16) t3 = clock () print (t2-t1) / (t3-t2)
5
2523
by: Florin | last post by:
Hi, I am experiencing some problems accessing an Oracle database through OLE DB from an MTS application using OpenWithServiceComponents (which is supposed to give me connection pooling). When I connect to a SQL Server database it only takes 3.1 ms to open a connection, while with Oracle it takes 15.5 ms (both DB's running on the same machine). Am I doing something wrong, am I missing something here? I have tried to use the plain Open...
2
1398
by: Fiddelm3742 | last post by:
Well, I dont exactly know if there was a change in how Console Application projects are run/compiled from VS2003 to 2005 or what, but I have an application (mostly C) that used to run in about 2 minutes and now runs in hours. The output of the program seems the same, but the time it takes it run is ridiculous. Yes, I get the general warnings when I compile to use the now more secure functions fopen_s instead of fopen, etc. but no errors...
15
1887
by: wizofaus | last post by:
I have a chunk of code which is essentially IDbCommand cmd = db.CreateCommand(); cmd.CommandText = "SELECT X, Y, Count(*) FROM Foo WHERE Z = 1 GROUP BY X, Y"; using (IDataReader reader = cmd.ExecuteReader()) while (reader.Read()) { // grab values from query }
4
2034
by: Michael A. Covington | last post by:
While asking some Java enthusiasts what they think about C#, I came across this: http://www.manageability.org/blog/archive/20030520%23p_the_problem_with_cameron Reportedly, the (essentially) same program in C# is much, much slower than in Java. This is a program that is heavy on regexes (which I'm not an expert on) and am wondering if the C# version makes an elementary blunder. Do any experts
0
8306
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8825
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8732
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8605
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5632
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4152
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2726
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1955
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1615
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.