As you can probably tell from the news icon, Bench2 by Laurent Duveau is a benchmark routine test for PalmOS compilers. The test program routine is translated into the main languages that all the tested compilers support; Pascal, BASIC, C, Java, Forth, CASL, Lua, HELP, Scheme, Rexx, Tcl and LME.

The 3 goals in order of their importance to Bench2:
<ul>[*]Provide a simple but quite rich example of a routine in different languages, for educational purposes. As a result, the comparison of the different source codes provided on this page is very interesting.[*]Find a routine that an average amateur programmer could possibly write, not especially optimized but giving the same right result. Result is more important than means...[*]In order to give a playful purpose to the writing of the same routine in different languages, try to evaluate compilers & interpreters efficiency, designed to work on the Palm OS environment where performance and speed are of key importance.[/list]


I should also note that PP, Pocket Studio 1.1 and HS Pascal were all tested and found to be among the top 5. The quickest of them being PP while in ARM mode, closely followed by Code Warrior.


You can find Bench2 and the results of all tests conducted at www.aldweb.com!