d4500 opened this issue on Jun 14, 2003 ยท 28 posts
d4500 posted Mon, 16 June 2003 at 7:12 AM
Thanks for your input. I like this software because it's a good comparsion for my PCs. Here's the code: Command1_click 'Set the variable x depending on user's option setting. ' x = 50000000 'Default 50 million if option2.value = true then x = 10000000 if option3.value = true then x = 5000000 '------------------Timer has started--------------------- a = timer ' get the current reading from the timer for y = 1 to x ' repeat from 1 to x next y b = timer ' get a new timer reading '------------------Timer has stopped--------------------- c = b - a ' get the time elapsed label1.caption = c 'display results I expect that it runs faster in C++. It runs faster in VB (1.20 @ 50M) than as an EXE (1.52 seconds @ 50M) - Athlon 2100+. Have fun. Does anyone know a friend with an Athlon 3000+ or better? I'd be happy to see the results compared to the P4 3GHz. To calculate the speed percent between 2 PCs.... Slower Timer / Faster Time = % faster 1.52 (2100+) / 0.98 (3GHz) = 1.55 or 55% faster. Therefore, the 3GHz is 55% faster than the Athlon 2100.