New topic: 

RB Benchmark

<http://forums.realsoftware.com/viewtopic.php?t=46953>

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        Djamel          Post subject: RB BenchmarkPosted: Fri Feb 15, 
2013 6:33 am                         
Joined: Fri Feb 15, 2013 6:07 am
Posts: 1                Hello,
Coming from VB6, i decide to migrate to RealBasic, i have already installed RB 
2012 in my computer.
Intel Core 2 CPU, [email protected], 2Gb RAM - OS Windows XP Pack 2.
I have made this test under desktop project as follow:


VB6 code
Dim x As Double
Dim y As Double
Dim i As Long
Dim t As Single
x = 1
y = 1.000001
t = Timer

For i = 1 To 100000000
  x = x * y
Next

t = Timer - t
Print "x: "; x
Print "t: "; t


Result under VB6        X= 2.68798271729777E+43 -- Time= 2.9 Sec  after 
compiling, Time=1.85 Sec
Result under Borland C/C++,  X= 2.68798271729777E+43 -- Time= 0.65 Sec with C 
compiler.
Result under RB 2012,    X= 2.68798271729777E+43 -- Time= 3.5 Sec

It seams that Vb6 faster then RealBasic !

Any body can explain me the difference ?
Regards.   
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to