Benchmarks
Tutti i tests sono stati fatti con Pentium Pro 200 Mhz con 32 Mb ram.
(Visual Basic Programmer's Journal)
Test in secondi |
VB 3.0 | VB 4.0 (16bit) | VB 4.0 (32bit) | VB 5.0 | Delphi 2.0 | Visual C++ 4.0 | Visual C++ 5.0 | Visual J++ 1.1 |
Metodi grafici | 3.790 | 3.227 | 3.259 | 0.467 | 0.503 | 0.271 | 0.300 | 1.210 |
Load controls | 0.092 | 0.650 | 0.822 | 0.106 | 0.495 | 1.476 | 0.688 | N/A |
String Suite | 18.706 | 14.093 | 5.556 | 4.069 | 0.275 | 0.600 | 0.490 | 88.000 |
Math Suite | 27.829 | 30.919 | 10.308 | 7.914 | 1.523 | 3.600 | 2.880 | 6.100 |
Caric. textbox | 0.114 | 0.080 | 0.078 | 0.085 | 0.069 | 0.012 | 0.010 | 0.650 |
API Graphics | 0.817 | 0.257 | 0.288 | 0.279 | 0.269 | 0.266 | 0.295 | 1.260 |
Media del test | 8.558 | 8.204 | 3.385 | 2.153 | 0.522 | 1.037 | 0.777 | N/A |
Il seguente Benchmark usa algoritmi ricorsivi che misurano l'efficacia del codice compilato, i valori riportati rappresentano il numero di esecuzioni dell'algoritmo in un secondo
(PcWeek)
Test | Optima ++ 1.5 | Delphi 2.0 | Visual C++ 4.0 | Visual Basic 4.0 | Visual C++ 5.0 | Visual Basic 5.0 |
n. interi | 95.2 | 79.4 | 75.2 | 3.0 | 84.0 | 11.1 |
n. dbl prec. | 28.0 | 24.9 | 34.8 | 2.6 | 42.6 | 8.8 |
Media del test | 61.6 | 52.15 | 55 | 2.8 | 63.3 | 9.95 |
Client-Server Benchmarks Tests eseguiti utilizzando Windows NT 4.0 e SQL Server 6.5 su due PC con Pentium Pro 200Mhz.
(NSTL)
PowerB. 5.0 |
Visual Basic 5.0 |
Delphi 3.0 |
||
Compiler | ActiveX call |
25.9 |
0.2 |
0.1 |
Tak(Integer) |
407.5 |
1.0 |
0.5 |
|
Sieve |
334.5 |
2.6 |
3.7 |
|
Tak (method) |
506.4 |
3.1 |
0.7 |
|
Tak (create object) |
1037.1 |
70.0 |
3.3 |
|
SQL | Form Open |
0.1 |
0.3 |
0.3/8.7 |
Insert 1K Records |
3.1 |
3.2 |
11.8 |
|
Go Last of 100K Rec. |
25.0 |
6.7 |
0.4/8.8 |
|
Query 100K Records |
202.0 |
2.3 |
12.4 |
|
Reporting | HTML Crosstab |
48.0 |
42.0 |
N/A |
HTML Subtotal |
116.0 |
207.0 |
404.0 |
|
PCL Crosstab |
71.0 |
43.0 |
N/A |
|
PCL Subtotal |
436.0 |
343.0 |
1162.0 |
Benchmark relativo alla velocità di elaborazione di un algoritmo aritmetico con numeri interi
Versione di Visual Basic |
Secondi necessari per eseguire l'algoritmo |
Visual basic 3.0 |
14.324 |
Visual basic 4.0 (16 bit) | 14.970 |
Visual basic 4.0 (32 bit) | 5.434 |
Visual basic 5.0 | 4.364 |
(Carnegie Technologies Benchmarks - Official Test Results)
Test | Visual Basic 5.0 | Visual Basic 4.0 | Delphi 2.0 | PowerBuilder 5.0 | |
Display | Empty Display | 52.509 | 68.677 | 26.851 | 85.667 |
Labels | 0.316 | 0.755 | 1.295 | 4.748 | |
Bitmaps | 1.226 | 2.42 | 3.296 | 8.925 | |
Database | Overhead | 9.745 | 22.234 | 7.838 | 6.935 |
Small Retrieval | 0.340 | 1.415 | 0.612 | 0.393 | |
Large Retrieval | 0.251 | 0.218 | 0.110 | 0.161 | |
OLE Automation | In Process Let | 0.000294 | 0.000648 | 0.084 | N/A |
In Process Method | 0.000295 | 0.000482 | 0.082 | N/A | |
Out of Process Let | 1.066 | 1.439 | 2.572 | N/A | |
Out of Process Method | 1.039 | 1.388 | 2.572 | N/A | |
Language | Sieve of Eratosthenes | 360.625 | 5622.43 | 3323.82 | 16940.12 |
String Manipulation | 900.35 | 1463.990 | 48.13 | 1941.360 |