energy-comsumption-project
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (8.4%) to scientific vocabulary
Last synced: 10 months ago
·
JSON representation
·
Repository
Basic Info
- Host: GitHub
- Owner: kbaran1998
- Language: Python
- Default Branch: main
- Size: 7.25 MB
Statistics
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
- Releases: 0
Created over 4 years ago
· Last pushed over 4 years ago
Metadata Files
Readme
Citation
README.md
energy-comsumption-project
Energy consumption project for Frontend JavaScript frameworks (React, Vue, Angular, Svelte).
Set up on your machine
- Make sure you have python and pip installed (and download Power Gadget 3.6).
bash python3 -m pip install --user --upgrade pip python3 -m pip --version python3 -m pip install --user virtualenv - Create and activate virtual environment (preferably in Git Bash).
bash
python3 -m venv venv
source venv/Scripts/activate
OR
bash
python3 -m venv venv
.\venv\Scripts\activate
- Install all packages in
requirements.txtwith pip. If you need to use a python package, put it there.bash pip install -r requirements.txt - Download the necessary selenium webdrivers (make sure you also have "chrome", "firefox", "ie", "edge" and "opera" browsers downloaded on your machine).
bash python drivers/driver_downloader.py - Create a
configurations.iniand copy the following configurations (of course replace the place holder__your_path__with your actual paths to the downloaded drivers):python [DRIVER_PATHS] EDGE_EXE_PATH=__your_path__\\.wdm\\drivers\\edgedriver\\win64\\98.0.1108.62\\msedgedriver.exe OPERA_EXE_PATH=__your_path__\\.wdm\\drivers\\operadriver\\win64\\v.98.0.4758.82\\operadriver_win64\\operadriver.exe CHROME_EXE_PATH=__your_path__\\.wdm\\drivers\\chromedriver\\win32\\98.0.4758.102\\chromedriver.exe FIREFOX_EXE_PATH=__your_path__\\.wdm\\drivers\\geckodriver\\win64\\v0.30.0\\geckodriver.exe IE_EXE_PATH=__your_path__\\.wdm\\drivers\\IEDriverServer\\win64\\4.0.0\\IEDriverServer.exe To run the experiments run scripts:
bash python experiment_run.pyTo get parsed csv files within new generated directory
outand get results for each framework and website run:bash python parsers/parse.pyOnce you have finished working within the virtual environment, you can deactivate it.
bash deactivate
Owner
- Name: Krzysztof Baran
- Login: kbaran1998
- Kind: user
- Location: Delft, The Netherlands
- Company: Delft University of Technology
- Website: https://www.linkedin.com/in/krzysztof-piotr-baran/
- Repositories: 2
- Profile: https://github.com/kbaran1998
MSc Computer Science Student @ Delft University of Technology
Citation (CITATION.cff)
cff-version: 1.0.0
message: "If you use this software, please cite it as below."
authors:
- family-names: Baran
given-names: Krzysztof
- family-names: Henkes
given-names: Casper
- family-names: Oprea
given-names: Ana
title: "The greenest JavaScript Frameworks (How to move to greener JavaScript pastures?) "
version: 1.0.0
date-released: 2022-03-03
repository: https://github.com/kbaran1998/energy-comsumption-project
url: https://github.com/kbaran1998/energy-comsumption-project
GitHub Events
Total
Last Year
Dependencies
requirements.txt
pypi
- WMI ==1.5.1
- numpy ==1.22.2
- pandas ==1.4.1
- pylint *
- python-dateutil ==2.8.2
- pytz ==2021.3
- pywin32 ==303
- screen-brightness-control ==0.11.5
- selenium *
- six ==1.16.0
- tabulate *
- webdriver_manager *