This repository contains the replication package of the study "Electron vs. Web: A Comparative Analysis of Energy and Performance in Communication Apps" presented at QUATIC 2024.
This research aims to thoroughly analyze apps like Skype, Discord, and Slack that use Electron technology, comparing them to their web-based versions. The goal is to measure how much energy and computing resources they consume, focusing on performance. By doing this, we want to give regular users and companies solid information to make environmentally friendly software decisions.
Accordingly, This repository is devided into three main parts:
- The Browser experiment (
Browser
folder) - The Electron experiment (
Electron
folder) - The Utility, which is used by both sections of the experiment (
Utility
folder).
-
Make sure you have Python in your system if not download it here
-
Install all the python library required to run the system
(The libraries were listed inside app folder in requirements.txt)
pip install -r requirements.txt
You can also find more information about this experiment in action from this clip here or if you want to only see how the script work you can jump to here
⚠️ The coordinates which are used by pyautogui provided in this repo only work on a particular machine if you want to run the script on your machine please change the coordinations to match your machine
- Browser
- Electron
The "green-analysis" directory consists of an R project for analyzing the experiment data.
- preprocessing
This directory consists of R files to clean the raw data, and use it for data analysis.
Note: The data folder is not upploaded on GitHub, so data-preprocessing can't be run without it. The raw data is in
data-analysis/data.csv
file. The clean data after preprocessing is stored in ``data-analysis/clean-data.csv` - data-analysis
data-analysis
folder consists of r files for performing data-analysis methods on data, and the resulting data files. - graphs Folder containing all graphs and plots images
- renv This directory is for R virtual environment.