Below is the result on my computer.  I couldn't find my original code or result, so ran them again.  I didn't have Mono installed so couldn't test C#.

My computer specs:
Ubuntu Linux 5.10
Linux kernel: 2.6.12-10-386
CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz
Memory Total:       451852 kB
Windows Manager: Gnome
VMWare Player (latest) running Windows 2000.


----
int math
double math
long math
trig
IO
TOTAL
FPC 2.0.x
10.9
16.3
21.6
4.1
2.1
55.1
Delphi 7 (under VMWare Player)
9.5
16.8
22.3
3.6
18.2
70.5
Java 1.5.0-07
9.8
15.7
32.9
97.1
5.5
161.2
GCC 4
11.0
15.9
23.0
5.2
0.6
55.8

I am sure the reason for Delphi 7 being so slow in because it was run under a VMWare session.  I wasn't in the mood to reboot for one test. :-)


Benchmark application compiled as follows:

FPC:   fpc -S2 FPCBenchV2.pp
GCC 4:  gcc Benchmark.c -o Benchmark.c.bin -lm
Java:   javac Benchmark.java
Delphi 7:   loaded FPCBenchV2.pas in IDE and pressed Ctrl+F9


Regards,
  - Graeme -




Reply via email to