{"title":"Measuring Energy Consumption of Insertion Sort to Establish Energy Consumption Dependency on Execution Time and Memory Allocation","authors":"U. Mahmud, Shariq Hussain","doi":"10.1109/ICFTSC57269.2022.10039867","DOIUrl":null,"url":null,"abstract":"The advent of Green Computing and its recognition in UN-GA 2030 Agenda establishing affordable and clean energy as a goal, has led many researchers and institutes to explore energy consumption and power conservation of algorithms. This paper establishes the energy consumption of insertion sort to ascertain whether the consumption matches the time complexity of space complexity when the input size is increased. The tests have been performed on Ubuntu and the code has been written in Java. The tests have been run on two different machines running on battery power. The test shows that the energy consumption follows the execution time.","PeriodicalId":386462,"journal":{"name":"2022 International Conference on Future Trends in Smart Communities (ICFTSC)","volume":"19 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 International Conference on Future Trends in Smart Communities (ICFTSC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICFTSC57269.2022.10039867","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
The advent of Green Computing and its recognition in UN-GA 2030 Agenda establishing affordable and clean energy as a goal, has led many researchers and institutes to explore energy consumption and power conservation of algorithms. This paper establishes the energy consumption of insertion sort to ascertain whether the consumption matches the time complexity of space complexity when the input size is increased. The tests have been performed on Ubuntu and the code has been written in Java. The tests have been run on two different machines running on battery power. The test shows that the energy consumption follows the execution time.