For another interesting comparison of programming languages that I agree with very much, check out Keith Waclena's Programming Language Crisis. Also look at a list of Free Compilers.
ScriptPerf is a very simple scripting language benchmark. Its goal is to give a quick and cursory comparison of several useful embeddable scripting languages. The idea was borrowed from my friend Chris Trimble and his days at BlueSky (now Fox/VIFX).
I have also begun to run the benchmark on static-typed languages which share properties such as garbage collection, and robust basic datatypes. In general these languages share many of the benefits of script languages, with slightly more up-front cost, better long-term maintainability, and much better performance. [click here] for those results.
|
| index_test | write N elements into a hash-table and read them back |
| loop_test | Perform two nested loops, the outer loop should be of N iterations, while the inner loop should be of 10 iterations |
| nested_int_test | five levels of nested loops should be performed, each of N iterations, and at each level, some simple integer arithmetic should be performed on a local variable |
| returntest | test the cost of multiple argument return by performing N function calls with two return arguments unpacked into local variables |
| functest | test the cost of function calls by performing N function calls with one integer argument which returns that argument. |
| objecttest | test the amount of time required to make a method call on an object by performing N method calls to an object method with one integer argument which returns that argument. |