abel-vs / browser-energy-measurer Goto Github PK
View Code? Open in Web Editor NEWAutomated Energy Measurement of Browsers.
Automated Energy Measurement of Browsers.
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.
Hello guys,
Great project! I loved it! Very interesting.
I have some questions:
Do you know if there is so instability with the energy consumption measurements done with PowerGadget as we do observe with RAPL on Linux?
Do you plan to compare the measurements on various platforms: e.g. MacOS vs Windows?
Is there any reason you do 10x3 runs for each browser:
browser-energy-measurer/run.ps1
Lines 8 to 12 in 2526b45
Rather than just making 30 runs for each browser?
browser-energy-measurer/run.ps1
Line 2 in 2526b45
Thank you very much! Have a nice day ๐
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.