An Analysis of Energy Consumption of JavaScript Interpreters with Evolutionary Algorithm Workloads

Juan J. Merelo-Guervós, Mario García-Valdez, Pedro Castillo

2023

Abstract

What is known as energy-aware computing includes taking into account many different variables and parameters when designing an application, which makes it necessary to focus on a single one to obtain meaningful results. In this paper, we will look at the energy consumption of three different JavaScript interpreters: bun, node and deno; given their different conceptual designs, we should expect different energy budgets for running the (roughly) same workload, operations related to evolutionary algorithms (EA), a population-based stochastic optimization algorithm. In this paper we will first test different tools to measure per-process energy consumption in a precise way, trying to find the one that gives the most accurate estimation; after choosing the tool by performing different experiments on a workload similar to the one carried out by EA, we will focus on EA-specific functions and operators and measure how much energy they consume for different problem sizes. From this, we will try to draw a conclusion on which JavaScript interpreter should be used in this kind of workloads if energy (or related expenses) has a limited budget.

Download


Paper Citation


in Harvard Style

J. Merelo-Guervós J., García-Valdez M. and Castillo P. (2023). An Analysis of Energy Consumption of JavaScript Interpreters with Evolutionary Algorithm Workloads. In Proceedings of the 18th International Conference on Software Technologies - Volume 1: ICSOFT; ISBN 978-989-758-665-1, SciTePress, pages 175-184. DOI: 10.5220/0012128100003538


in Bibtex Style

@conference{icsoft23,
author={Juan J. Merelo-Guervós and Mario García-Valdez and Pedro Castillo},
title={An Analysis of Energy Consumption of JavaScript Interpreters with Evolutionary Algorithm Workloads},
booktitle={Proceedings of the 18th International Conference on Software Technologies - Volume 1: ICSOFT},
year={2023},
pages={175-184},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0012128100003538},
isbn={978-989-758-665-1},
}


in EndNote Style

TY - CONF

JO - Proceedings of the 18th International Conference on Software Technologies - Volume 1: ICSOFT
TI - An Analysis of Energy Consumption of JavaScript Interpreters with Evolutionary Algorithm Workloads
SN - 978-989-758-665-1
AU - J. Merelo-Guervós J.
AU - García-Valdez M.
AU - Castillo P.
PY - 2023
SP - 175
EP - 184
DO - 10.5220/0012128100003538
PB - SciTePress