2012-07-13

Performance Benchmarks of Programming Languages

Debian.org present on their website "The Computer Language Benchmark Game" the results of several benchmark programs compiled and executed on a 32 bit and a 64 bit Debian GNU/Linux system. Each benchmark program is implemented in several programming languages and uses the language specific foundation libraries.
The results show that the runtime efficiency of the benchmark programs significantly differs between programming languages.
As was already shown by others1,2,3, energy consumption of computer systems mostly depends on CPU time. Therefore, choosing a programming language that has the best trade-off between fitness for the particular purpose, maintenance, and runtime efficiency is essential for Sustainable Software.
  1. Wang, S., Chen, H., Shi, W.: SPAN: A software power analyzer for multicore computer systems. SUSCOM 1, 23–34 (2011). doi:/10.1016/j.suscom.2010.10.002.
  2. Kansal, A., Zhao, F., Liu, J., Kothari, N., Bhattacharya, A.A.: Virtual machine power metering and provisioning. In: Proceedings of the 1st ACM symposium on Cloud computing, pp. 39–50. ACM, Indianapolis, Indiana, USA (2010) doi:10.1145/1807128.1807136http://research.microsoft.com/pubs/120435/JoulemeterVM.pdf
  3. Jwo, J.-S., Wang, J.-Y., Huang, C.-H., Two, S.-J., Hsu, H.-C.: An Energy Consumption Model for Enterprise Applications. In: IEEE Computer Society (ed.) 2011 IEEE/ACM International Conference on Green Computing and Communications, pp. 216–219. IEEE Publishing Services (2011) doi:/10.1109/GreenCom.2011.44