[Info-vax] Python for x86?
Arne Vajhøj
arne at vajhoej.dk
Wed May 10 20:14:18 EDT 2023
On 5/7/2023 11:52 AM, Arne Vajhøj wrote:
> Just realized that I had an error in the calculation for
> string performance in Fortran and Basic (I fucked up with the
> VMS_FACTOR constant that is used to keep string length under
> 32K).
>
> So again with C++ and (hopefully) with Fortran and Basic
> correct for string operations:
And then it turned out that the Basic integer test was
not good because I did not know how to write integer literals
in VMS Basic.
:-(
Updated results.
Integer operations
Alpha sim Itanium
(no JIT) (older)
C, C++, Pascal, Fortran, Basic (/NOCHECK) 24-29 246
Basic (/CHECK) 19 45
Ada (gnat make) 8 -
Ada (gnat make -gnatp "-O3") 44 -
Java 5 11 -
Java 8 - 286
Python 2 0.05 -
Python 3 - 0.6
String operations
Alpha sim Itanium
(no JIT) (older)
C 0.078 1.94
C++ 0.049 0.40
Pascal 0.005 0.32
Fortran 0.156 6.94
Basic 0.004 0.13
Ada 0.005 -
Java 5 0.033 -
Java 8 - 1.76
Python 2 0.005 -
Python 3 - 0.064
> If someone want to check themselves the sources are
> available at https://www.vajhoej.dk/arne/temp/bm.zip !
Updated with correct Basic code.
Arne
More information about the Info-vax
mailing list