Investigating the Impact of Code Refactoring Techniques on Energy Consumption in Different Object-Oriented Programming Languages

被引:0
|
作者
Sanlialp, Ibrahim [1 ]
Ozturk, Muhammed Maruf [2 ]
机构
[1] Kirsehir Ahi Evran Univ, Dept Comp Engn, Kirsehir, Turkey
[2] Suleyman Demirel Univ, Dept Comp Engn, Isparta, Turkey
关键词
Code refactoring techniques; Object-oriented programming; Energy consumption; Open source code;
D O I
10.1007/978-3-030-36178-5_12
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Code refactoring techniques that are used to improve the properties of the code such as readability, performance, maintenance are applied to the code depending on the type of coding. However, these techniques could increase energy consumption that this case can be considered as a hint for re-arranging them. This article includes an empirical experiment that investigates the effect of refactoring techniques energy consumption. C#, Java, and C++ are selected as experimental object-oriented languages. The individual effects of the five different code refactoring techniques are examined on similar applications coded with three different languages. The power consumption profiling tool namely Intel Power Gadget is used for measuring energy consumption of original and refactored codes. The findings of the analysis provide new insights into how a refactoring technique affects energy consumption with regard to the type of programming language.
引用
收藏
页码:142 / 152
页数:11
相关论文
共 50 条
  • [1] OBJECT-ORIENTED LANGUAGES REORIENT PROGRAMMING TECHNIQUES
    WILSON, R
    [J]. COMPUTER DESIGN, 1987, 26 (20): : 52 - &
  • [2] OBJECT-ORIENTED LANGUAGES REORIENT PROGRAMMING TECHNIQUES.
    Wilson, Ron
    [J]. Electronic Systems Technology and Design/Computer Design's, 1987, 26 (20): : 52 - 62
  • [3] Energy Consumption Fuzzy Estimation for Object-Oriented Code
    Liu, Hui
    Yan, Fusheng
    Jiang, Jingqing
    Song, Jie
    [J]. IEEE ACCESS, 2018, 6 : 62664 - 62674
  • [4] Impact of Code Refactoring using Object-Oriented Methodology on a Scientific Computing Application
    Kallen, Malin
    Holmgren, Sverker
    Hvannberg, Ebba Pora
    [J]. 2014 14TH IEEE INTERNATIONAL WORKING CONFERENCE ON SOURCE CODE ANALYSIS AND MANIPULATION (SCAM 2014), 2014, : 125 - 134
  • [5] Exploring the Impact of Clone Refactoring on Test Code Size in Object-Oriented Software
    Badri, Mourad
    Badri, Linda
    Hachemane, Oussama
    Ouellet, Alexandre
    [J]. 2017 16TH IEEE INTERNATIONAL CONFERENCE ON MACHINE LEARNING AND APPLICATIONS (ICMLA), 2017, : 586 - 592
  • [6] TEACHING OBJECT-ORIENTED PROGRAMMING IS MORE THAN TEACHING OBJECT-ORIENTED PROGRAMMING-LANGUAGES
    KNUDSEN, JL
    MADSEN, OL
    [J]. LECTURE NOTES IN COMPUTER SCIENCE, 1988, 322 : 21 - 40
  • [7] Object-oriented programming as the end of history in programming languages
    vanEmden, MH
    [J]. 1997 IEEE PACIFIC RIM CONFERENCE ON COMMUNICATIONS, COMPUTERS AND SIGNAL PROCESSING, VOLS 1 AND 2: PACRIM 10 YEARS - 1987-1997, 1997, : 981 - 984
  • [8] A Comparison of Mechanisms for Integrating Handwritten and Generated Code for Object-Oriented Programming Languages
    Greifenberg, Timo
    Hoelldobler, Katrin
    Kolassa, Carsten
    Look, Markus
    Nazari, Pedram Mir Seyed
    Mueller, Klaus
    Perez, Antonio Navarro
    Plotnikov, Dimitri
    Reiss, Dirk
    Roth, Alexander
    Rumpe, Bernhard
    Schindler, Martin
    Wortmann, Andreas
    [J]. MODELSWARD 2015 PROCEEDINGS OF THE 3RD INTERNATIONAL CONFERENCE ON MODEL-DRIVEN ENGINEERING AND SOFTWARE DEVELOPMENT, 2015, : 74 - 85
  • [9] Type systems of object-oriented programming languages
    Li, Xiaoyan
    Li, Bin
    [J]. Xiaoxing Weixing Jisuanji Xitong/Mini-Micro Systems, 2000, 21 (06): : 650 - 652
  • [10] Current research on object-oriented programming languages
    Mei, Hong
    Wang, Lifu
    Yang, Fuqing
    [J]. Tien Tzu Hsueh Pao/Acta Electronica Sinica, 1995, 23 (10): : 50 - 56