View Poll Results: Which of the test cases performed the best on your system
Voters
1 . You may not vote on this poll
The VB6 Project
The First .NET Method (Button1)
The Second .NET Method (Button2)
Inconclusive results / A Tie
July 23rd, 2008, 12:19 PM
#1
net vs 6 - ListBox Test 1
Test the speed that a listbox items are added..
The Original .NET code used the traditional VB6 methods, So I also added a second method that has the same output, however is about 80% faster...
Attached Files
Articles VB6 : Break the 2G limit - Animation 1 , 2 VB.NET : 2005/8 : Moving Images , Animation 1 , 2 , 3 , User Controls
WPF Articles : 3D Animation 1 , 2 , 3
Code snips : VB6 Hex Edit , IP Chat , Copy Prot. , Crop, Zoom : .NET IP Chat (V4) , Adv. ContextMenus , click Hotspot , Scroll Controls
Find me in ASP.NET. , VB6. , VB.NET , Writing Articles , My Genealogy , Forum
All VS.NET: posts refer to VS.NET 2008 (Pro) unless otherwise stated.
July 23rd, 2008, 12:27 PM
#2
Re: net vs 6 - ListBox Test 1
Results of this test as run on my Vista dev system..
100 000 items test run..
VB6 = 5912
VB.NET (Method 1) = 7831
VB.NET (Method 2) = 1326
10 000 items test run..
VB6 = 577
VB.NET (Method 1) = 765
VB.NET (Method 2) = 109
Articles VB6 : Break the 2G limit - Animation 1 , 2 VB.NET : 2005/8 : Moving Images , Animation 1 , 2 , 3 , User Controls
WPF Articles : 3D Animation 1 , 2 , 3
Code snips : VB6 Hex Edit , IP Chat , Copy Prot. , Crop, Zoom : .NET IP Chat (V4) , Adv. ContextMenus , click Hotspot , Scroll Controls
Find me in ASP.NET. , VB6. , VB.NET , Writing Articles , My Genealogy , Forum
All VS.NET: posts refer to VS.NET 2008 (Pro) unless otherwise stated.
July 24th, 2008, 04:23 PM
#3
Re: net vs 6 - ListBox Test 1
Test results at 100,000:
vb6(method 1): 953
vb6(method 2): 203
vb.net(method 1): 1812
vb.net(method 2): 1031
Test results at 10,000:
vb6(method 1): 94
vb6(method 2): 16
vb.net(method 1): 156
vb.net(method 2): 94
Last edited by Joeman; July 25th, 2008 at 07:17 AM .
0100 0111 0110 1111 0110 0100 0010 0000 0110 1001 0111 0011 0010 0000 0110 0110 0110 1111 0111 0010
0110 0101 0111 0110 0110 0101 0111 0010 0010 0001 0010 0001 0000 0000 0000 0000 0000 0000 0000 0000
July 25th, 2008, 02:05 AM
#4
Re: net vs 6 - ListBox Test 1
This is the second method that Joeman has posted (in future please add the updates to the threads for that test...)
New Test run ..
100 000 Items..
VB6 Method 1: 6115
VB6 Method 2: 327
.NET Method 1: 7582
.NET Method 2: 842
10 000 Items..
VB6 Method 1: 609
VB6 Method 2: 31
.NET Method 1: 748
.NET Method 2: 63
Attached Files
Last edited by GremlinSA; July 25th, 2008 at 02:08 AM .
Articles VB6 : Break the 2G limit - Animation 1 , 2 VB.NET : 2005/8 : Moving Images , Animation 1 , 2 , 3 , User Controls
WPF Articles : 3D Animation 1 , 2 , 3
Code snips : VB6 Hex Edit , IP Chat , Copy Prot. , Crop, Zoom : .NET IP Chat (V4) , Adv. ContextMenus , click Hotspot , Scroll Controls
Find me in ASP.NET. , VB6. , VB.NET , Writing Articles , My Genealogy , Forum
All VS.NET: posts refer to VS.NET 2008 (Pro) unless otherwise stated.
July 25th, 2008, 02:20 AM
#5
Re: net vs 6 - ListBox Test 1
Just a quick little something that i noticed...
The New API Listbox loading method for VB6 has a small flaw in it.. I dont have Access to a VB6 system at work so i cant look into it right now.. However here is a screen shot of the difference, Notice the background color of the listbox..
Left Normal method, Right API method..
Attached Images
Articles VB6 : Break the 2G limit - Animation 1 , 2 VB.NET : 2005/8 : Moving Images , Animation 1 , 2 , 3 , User Controls
WPF Articles : 3D Animation 1 , 2 , 3
Code snips : VB6 Hex Edit , IP Chat , Copy Prot. , Crop, Zoom : .NET IP Chat (V4) , Adv. ContextMenus , click Hotspot , Scroll Controls
Find me in ASP.NET. , VB6. , VB.NET , Writing Articles , My Genealogy , Forum
All VS.NET: posts refer to VS.NET 2008 (Pro) unless otherwise stated.
July 25th, 2008, 07:25 AM
#6
Re: net vs 6 - ListBox Test 1
I will look into that as soon as I can. It isn't much of a flaw, but more of the default settings. The listbox grabs the window background color and uses it.
0100 0111 0110 1111 0110 0100 0010 0000 0110 1001 0111 0011 0010 0000 0110 0110 0110 1111 0111 0010
0110 0101 0111 0110 0110 0101 0111 0010 0010 0001 0010 0001 0000 0000 0000 0000 0000 0000 0000 0000
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Click Here to Expand Forum to Full Width