A Comparative Study on the Energy Consumption of PHP Single and Double Quotes

This paper is an enhanced version of the paper presented at the SEEDS Conference (Olaoluwa, et. al, 2015). The increasing rate of carbon dioxide and other greenhouse gas emission resulting from the use of IT and other human activities to the atmosphere has become a major source of concern. It is imperative for the IT sector to ensure that its products are effective and energy efficient accompanied by mitigated negative impact on the environment. Reducing energy consumption of IT products is a key to contributing towards a greener environment. Another alternative is to produce energy efficient codes for software applications. In programming or scripting languages, an end result can be achieved in more than one way. For example, in PHP, a print command can be executed using a single quote and can also be achieved using a double quote. They have similar functions with similar quality of the intended outcomes. The aim of this research is conduct an investigation on the energy consumption of selected PHP scripts that perform similar functions: print single and double quote, echo single and double quote, etc The Joulemeter energy measuring tool is used to measure the amount of energy consumed when run the various PHP scripts.

[1]  San Murugesan,et al.  Harnessing Green IT: Principles and Practices , 2008, IT Professional.

[2]  Luca Ardito,et al.  Understanding Green Software Development: A Conceptual Framework , 2015, IT Professional.

[3]  Joseph H. Eto,et al.  Efficiency improvements in US Office equipment: Expected policy impacts and uncertainties , 1995 .

[4]  Vera Toepoel,et al.  Nonparametric Tests of Panel Conditioning and Attrition Bias in Panel Surveys , 2011 .

[5]  Thomas J. Sullivan,et al.  Methods of Social Research , 2000 .

[6]  Joost Visser,et al.  Seflab: A lab for measuring software energy footprints , 2013, 2013 2nd International Workshop on Green and Sustainable Software (GREENS).

[7]  Eric Saxe,et al.  Power-efficient software , 2010, Commun. ACM.

[8]  Ah-Lian Kor,et al.  Critical Issues for Data Center Energy Efficiency , 2015 .

[9]  Zhichao Li,et al.  On the energy consumption and performance of systems software , 2011, SYSTOR '11.

[10]  Ah-Lian Kor,et al.  PHP Single and Double Quotes: Does It Make a Difference to Energy Consumption? , 2015 .

[11]  Gösta Samuelson,et al.  Global strategy on diet, physical activity and health , 2004 .

[12]  R. N. Elliott,et al.  American Council for an Energy-Efficient Economy , 2002 .

[13]  Christoforos E. Kozyrakis,et al.  JouleSort: a balanced energy-efficiency benchmark , 2007, SIGMOD '07.

[14]  Maurizio Morisio,et al.  Green Software , 2014, IEEE Softw..

[15]  Sam Malek,et al.  Estimating the Energy Consumption in Pervasive Java-Based Systems , 2008, 2008 Sixth Annual IEEE International Conference on Pervasive Computing and Communications (PerCom).

[16]  Judith .QBell Judith Bell,et al.  Doing Your Research Project: A Guide for First-time Researchers , 1993 .

[17]  Chiara Francalanci,et al.  Measuring Application Software Energy Efficiency , 2012, IT Professional.

[18]  A. Smith,et al.  Research Methodology: A Step-by-step Guide for Beginners , 2012 .

[19]  Babak Akhgar,et al.  Green Information Technology: A Sustainable Approach , 2015 .

[20]  K. Asimakopoulou,et al.  Assessment of the transtheoretical model as used by dietitians in promoting physical activity in people with type 2 diabetes. , 2007, Journal of human nutrition and dietetics : the official journal of the British Dietetic Association.

[21]  Timo Johann,et al.  The GREENSOFT Model: A reference model for green and sustainable software and its engineering , 2011, Sustain. Comput. Informatics Syst..

[22]  Dong Li,et al.  PowerPack: Energy Profiling and Analysis of High-Performance Systems and Applications , 2010, IEEE Transactions on Parallel and Distributed Systems.

[23]  Anish Muttreja,et al.  Hybrid simulation for embedded software energy estimation , 2005, Proceedings. 42nd Design Automation Conference, 2005..

[24]  Nattachart Ia-Manee,et al.  Reducing Engergy Consumption in Programs Using Cohesion Technique , 2013 .

[25]  Srivaths Ravi,et al.  Energy-optimizing source code transformations for operating system-driven embedded software , 2007, TECS.

[26]  Chiara Francalanci,et al.  Is software "green"? Application development environments and energy efficiency in open source applications , 2012, Inf. Softw. Technol..

[27]  José Luis Lázaro,et al.  Power Measurement Methods for Energy Efficient Applications , 2013, Sensors.

[28]  Olivier Philippot,et al.  Characterization of the energy consumption of websites: Impact of website implementation on resource consumption , 2014, ICT4S.