Re: Is .NET slower than - say - VB6?
- From: "Galen Somerville" <galen@xxxxxxxxxxxxxxxx>
- Date: Tue, 22 Apr 2008 09:22:05 -0700
The USB is supplying 24 bytes, say, every 4 ms (2 sets of 6 integers at 75
BPM). The display has to blank the previous 12 lines before it can write the
12 new lines. Each line is from pixel X to pixel X+1. The Y portion could be
a hundred pixels high.
Galen
"Smokey Grindel" <nospam@xxxxxxxxxx> wrote in message
news:u5RooyIpIHA.3940@xxxxxxxxxxxxxxxxxxxxxxx
if you see a difference like that then you are doing something wrong...
because I can control a 2 mpixel LED display via USB through a .NET app...
if I can push that kinda data you should be able to do something that does
very little data wise like pull ECG dta...
"Galen Somerville" <galen@xxxxxxxxxxxxxxxx> wrote in message
news:OssaPMIpIHA.1240@xxxxxxxxxxxxxxxxxxxxxxx
"news.microsoft.com" <marximus27@xxxxxxxxxxx> wrote in message
news:%23DKUAVGpIHA.548@xxxxxxxxxxxxxxxxxxxxxxx
Hi all,I have a VB6 app that gets Heart beats in real time over a USB
First post here. I'm porting an application I wrote in VB6, over to
VB.NET 2005.
It could be said I'm really struggling with some (most!) of the syntax
of VB.NET 2005, but I'm getting there. I'm relying a lot, at this point,
on sample code from Microsoft, and other forums about the Internet.
One thing I've painfully noticed (hence the title of this post) is .NET
seems to be GOD AWEFULLY slow!
My VB6 version of my app interacts HEAVILY with Active Directory. My VB6
program starts in approximately 10 seconds, loading all 1300-odd Active
Directory user accounts in a listview.
VB.NET (doing the same thing and based on an example from MSDN) takes
almost 60 seconds!
WMI is also painfully slow. A "DiskQuota" DLL call to the server to get
volume useage info under VB6 is instant. A WMI call to get the same
information takes 30 or more seconds.
Why is this? My workstation/VB.NET 2005 platform is Windows XP 64-bit,
fully updated, running on a P4-3.2GHz, 1Gb RAM. My server is Server 2003
SP2 (two dual core 3.2GHz Xeons). My network is fine.
I'm attempting to port my program to VB.NET to get cross-platform
compatibility. 32-bit/64-bit/workstation and server. My program needs to
run on them all. A 32-bit program using 32-bit DLLs simply won't work on
a 64-bit platform - hence the port.
Is .NET inherently slower than VB6 where VB6 is using whatever 32-bit
DLL is needed to get the job done?
Mark
connection. The app displays the Heart sound and the ECG at rates up to
400 Beats-per-minute.
So far I have been able to get VB2005/VB2008 up to about 3
Beats-per-minute.
Galen
.
- References:
- Is .NET slower than - say - VB6?
- From: news.microsoft.com
- Re: Is .NET slower than - say - VB6?
- From: Galen Somerville
- Re: Is .NET slower than - say - VB6?
- From: Smokey Grindel
- Is .NET slower than - say - VB6?
- Prev by Date: Re: StreamReader and text file problem
- Next by Date: Re: Application Parameters
- Previous by thread: Re: Is .NET slower than - say - VB6?
- Next by thread: Re: Is .NET slower than - say - VB6?
- Index(es):
Relevant Pages
|