Giter Club home page Giter Club logo

browser-energy-measurer's People

Contributors

abel-vs avatar farsene avatar wandersiemers avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

browser-energy-measurer's Issues

Bug: Youtube scenario crash with firefox

Hello,

I'm trying to reproduce the experimentation but I encountered the following error:

############### https://www.youtube.com/watch?v=k2qgadSvNyU
Traceback (most recent call last):
  File "src/run_linux_tlpc.py", line 76, in <module>
    run(driver_per_name[name_driver], name_driver, measure_sec=False)
  File "src/run_linux_tlpc.py", line 58, in run
    scenario()
  File "src/run_linux_tlpc.py", line 52, in <lambda>
    lambda: youtube.visit(driver),
  File "/home/benjamin/workspace/browser-energy-measurer/src/scenarios/youtube.py", line 40, in visit
    driver.execute_script("""
  File "/home/benjamin/.local/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 879, in execute_script
    return self.execute(command, {
  File "/home/benjamin/.local/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 425, in execute
    self.error_handler.check_response(response)
  File "/home/benjamin/.local/lib/python3.8/site-packages/selenium/webdriver/remote/errorhandler.py", line 247, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.JavascriptException: Message: TypeError: l is undefined
Stacktrace:
@https://www.youtube.com/watch?v=k2qgadSvNyU:4:5
@https://www.youtube.com/watch?v=k2qgadSvNyU:6:8

It seems that the scenario Youtube is failing somehow on Firefox.

On my side, I am on Linux and my Youtube inside Firefox is using the black theme while Chrome runs the white theme and it works perfectly. It might be related.
The error occurs when the bot must agree to the cookies.

I am investigating.

Thank you.

Best.

Various Questions

Hello guys,

Great project! I loved it! Very interesting.

I have some questions:

  1. Do you know if there is so instability with the energy consumption measurements done with PowerGadget as we do observe with RAPL on Linux?

  2. Do you plan to compare the measurements on various platforms: e.g. MacOS vs Windows?

  3. Is there any reason you do 10x3 runs for each browser:

    While ($i -le 10)
    {
    #batch 3 edge runs
    $j=1
    While ($j -le 3)

Rather than just making 30 runs for each browser?

  1. Do you have any references to support the need for warm-up?
    #warm-up runs

Thank you very much! Have a nice day ๐Ÿ˜„

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.