Energy Map identifies energy-hungry software modules by combining:
- energy measurements (RAPL)
- testcase execution
- static analysis (AST)
- Run testcases
- Measure energy consumption
- Map testcases to modules
- Compute energy statistics per module
Backend:
- energy measurement
- test runner
- static analysis
- aggregation
Frontend:
- visualization dashboard
- Run "python server/init_db.py && python server/populate_db.py".
- Start the server using command "uvicorn server.api:app --port 8080".
- Start frontend by change directory to lib ("cd lib" from root) then using command "npm install" followed by "npm run dev".