In the last few days, I have been doing some benchmark tests to see how PPL would compare with some other development tools. I have tested with a simple code that looks like this in C.
Here are the results (on a P4 2.8ghz):
PPL (PC): 2,564,351 or 4,150,694 with i$++
Visual Basic (PC): 1,619,692
Ch Interpreter (PC): 138,822
DarkBasic Trial (PC): 1509
VBScript (PC): 622,406
SmallBasic (PC): 665,431
Tcl (PC): 296,621
Python (PC): 439,214
Perl (PC): 2,229,761
Lua (PC): 2,597,031
RealBasic (PC): 4,983,442.90
PPL (PPC): 199,567 or 275,546 with i$++
NS/Basic (PPC): 25,456
PocketC (PPC): 34,952
Visual C (PPC): N/A
Lua (PPC): 226,726
Languages with binary codes compilers:
Visual C (PC): 97,759,839
Pocket C# (PC): 79,000,000
Pocket C# (PPC): 501,000
As you can see PPL dominates pretty much over all of them but obviously it cannot compete with languages with true compilers!
This test was not intented to start a flame war of any kind, it was made as a personal reference and I decided to share the experience with the rest of you.
- Code:
int i = 0;
unsigned long t = GetTickCount();
while (GetTickCount() - t <= 10000)
i = i + 1;
printf("Iterations per second : %f", (float)i / 10);
Here are the results (on a P4 2.8ghz):
PPL (PC): 2,564,351 or 4,150,694 with i$++
Visual Basic (PC): 1,619,692
Ch Interpreter (PC): 138,822
DarkBasic Trial (PC): 1509
VBScript (PC): 622,406
SmallBasic (PC): 665,431
Tcl (PC): 296,621
Python (PC): 439,214
Perl (PC): 2,229,761
Lua (PC): 2,597,031
RealBasic (PC): 4,983,442.90
PPL (PPC): 199,567 or 275,546 with i$++
NS/Basic (PPC): 25,456
PocketC (PPC): 34,952
Visual C (PPC): N/A
Lua (PPC): 226,726
Languages with binary codes compilers:
Visual C (PC): 97,759,839
Pocket C# (PC): 79,000,000
Pocket C# (PPC): 501,000
As you can see PPL dominates pretty much over all of them but obviously it cannot compete with languages with true compilers!
This test was not intented to start a flame war of any kind, it was made as a personal reference and I decided to share the experience with the rest of you.