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

  1. 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
  2. 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

  1. Install all packages in requirements.txt with pip. If you need to use a python package, put it there. bash pip install -r requirements.txt
  2. 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
  3. Create a configurations.ini and 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
  4. To run the experiments run scripts: bash python experiment_run.py

  5. To get parsed csv files within new generated directory out and get results for each framework and website run: bash python parsers/parse.py

  6. Once 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

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 *