GithubHelp home page GithubHelp logo

mozilla / energia Goto Github PK

View Code? Open in Web Editor NEW
9.0 4.0 4.0 222 KB

INACTIVE - http://mzl.la/ghe-archive - Desktop Browser Power benchmarking Utility

Python 25.83% CSS 1.67% JavaScript 72.49%
inactive unmaintained

energia's Introduction

energia

Desktop Browser Power benchmarking Utility

Dependencies

  • Intel's Power Gadget, Intel's BLA (Win only)
  • Python 3 with numpy, pandas & pyzmq
  • ZeroMQ

Note that on Windows the WinPython distribution comes with all dependencies required.

Idle benchmark on Windows, OSX and Linux

The idle benchmark collects CPU & GPU statistics of the requested browsers idling on predefined pages. The set of browsers and pages to benchmark can be specified in a json configuration file. The collected metrics are aggregated from several tools which can also be specified in the configuration file, currently energia supports PowerGadget and BLA. PowerGadget is the only tool available on all platforms. Finally, the aggregated results are stored in a csv file.

python3 benchmark.py -c config.json

The command will collect data about the idle usage of the browsers and the websites specified in the configuration file and produce a csv file.

Distributed execution

The benchmark supports distributed execution through a simple dispatcher-worker architecture. To run the benchmark on a cluster, issue on each worker the following command:

python3 benchmark.py --is_worker -a 192.168.0.1 # the address has to point to your dispatcher node

Finally launch the dispatcher process on a different node:

python3 benchmark.py --is_dispatcher ...

Note that the dispatcher and the workers can be started in any order at any time.

The dispatcher's configuration will then be propagated to all slaves automatically and the websites partioned evenly among all of them. Once the execution is complete, a csv file is generated on the dispatcher node.

energia's People

Contributors

jmaher avatar seales1 avatar vitillo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

energia's Issues

CODE_OF_CONDUCT.md file missing

As of January 1 2019, Mozilla requires that all GitHub projects include this CODE_OF_CONDUCT.md file in the project root. The file has two parts:

  1. Required Text - All text under the headings Community Participation Guidelines and How to Report, are required, and should not be altered.
  2. Optional Text - The Project Specific Etiquette heading provides a space to speak more specifically about ways people can work effectively and inclusively together. Some examples of those can be found on the Firefox Debugger project, and Common Voice. (The optional part is commented out in the raw template file, and will not be visible until you modify and uncomment that part.)

If you have any questions about this file, or Code of Conduct policies and procedures, please reach out to [email protected].

(Message COC001)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.