{"id":15050092,"url":"https://github.com/mozilla/energia","last_synced_at":"2025-10-04T12:31:59.275Z","repository":{"id":12395573,"uuid":"15048387","full_name":"mozilla/energia","owner":"mozilla","description":"INACTIVE - http://mzl.la/ghe-archive - Desktop Browser Power benchmarking Utility","archived":true,"fork":false,"pushed_at":"2019-03-28T04:22:19.000Z","size":222,"stargazers_count":9,"open_issues_count":0,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-09-19T02:27:00.995Z","etag":null,"topics":["inactive","unmaintained"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mozilla.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-12-09T13:46:56.000Z","updated_at":"2023-01-28T03:55:10.000Z","dependencies_parsed_at":"2022-09-10T17:50:54.736Z","dependency_job_id":null,"html_url":"https://github.com/mozilla/energia","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mozilla%2Fenergia","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mozilla%2Fenergia/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mozilla%2Fenergia/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mozilla%2Fenergia/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mozilla","download_url":"https://codeload.github.com/mozilla/energia/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219866528,"owners_count":16554242,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["inactive","unmaintained"],"created_at":"2024-09-24T21:24:35.959Z","updated_at":"2025-10-04T12:31:53.990Z","avatar_url":"https://github.com/mozilla.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# energia\n\nDesktop Browser Power benchmarking Utility\n\n## Dependencies\n\n* Intel's Power Gadget, Intel's BLA (Win only)\n* Python 3 with numpy, pandas \u0026 pyzmq\n* ZeroMQ\n\nNote that on Windows the WinPython distribution comes with all dependencies required.\n\n## Idle benchmark on Windows, OSX and Linux\nThe idle benchmark collects CPU \u0026 GPU statistics of the requested browsers idling on predefined pages.\nThe set of browsers and pages to benchmark can be specified in a json configuration file.\nThe collected metrics are aggregated from several tools which can also be specified in the configuration file, currently *energia* supports *PowerGadget* and *BLA*.\n*PowerGadget* is the only tool available on all platforms. Finally, the aggregated results are stored in a csv file.\n\n```bash\npython3 benchmark.py -c config.json\n```\n\nThe command will collect data about the idle usage of the browsers and the websites specified in the configuration file and produce a csv file.\n\n## Distributed execution\nThe benchmark supports distributed execution through a simple dispatcher-worker architecture.\nTo run the benchmark on a cluster, issue on each worker the following command:\n\n```bash\npython3 benchmark.py --is_worker -a 192.168.0.1 # the address has to point to your dispatcher node\n```\n\nFinally launch the dispatcher process on a different node:\n\n```bash\npython3 benchmark.py --is_dispatcher ...\n```\n\nNote that the dispatcher and the workers can be started in any order at any time.\n\nThe dispatcher's configuration will then be propagated to all slaves automatically and the websites \npartioned evenly among all of them. Once the execution is complete, a csv file is generated on the dispatcher node.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmozilla%2Fenergia","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmozilla%2Fenergia","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmozilla%2Fenergia/lists"}