A small alteration to the code from test two, in order to reduce the need for looping, how ever increasing the workload..
the .NET code has been tweeked a little fromm the initial write, that produced identical times to VB6.
Printable View
A small alteration to the code from test two, in order to reduce the need for looping, how ever increasing the workload..
the .NET code has been tweeked a little fromm the initial write, that produced identical times to VB6.
Results of this test as run on my Vista dev system..
Size set at 3, on same sized form (Critical)
VB6 = 125ms
VB.NET = 125ms
Re tested on full screen... (1280 * 768)
VB6 = 593ms
VB.NET = 531ms
Size set at 2, on same sized form (Critical)
VB6 = 234ms
VB.NET = 219ms
Re tested on full screen... (1280 * 768)
VB6 = 1232ms
VB.NET = 1092ms
Although at the bottom end the times are very simular, and some runs may show the vb6 running a litle faster than the .NET , Over all the times show that the .NET code is running alot faster...