Skip to content

Add energy monitoring and characterization scripts - #7581

Merged
bors-servo merged 1 commit into
servo:masterfrom
connorimes:power-profiling
Sep 9, 2015
Merged

bors-servo merged 1 commit into
servo:masterfrom
connorimes:power-profiling

Conversation

@connorimes

Copy link
Copy Markdown
Contributor

Add the energy-profiling feature. Users can compile the proper (or their own) version of energymon libraries to capture power/energy data at runtime. The results are accessed through heartbeats.

Additionally, there are a couple of python scripts to enable heartbeats for profiler categories and process the results into some visualizations to help understand how time and energy is being spent in Servo.

Review on Reviewable

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Sep 9, 2015
@highfive

highfive commented Sep 9, 2015

Copy link
Copy Markdown

warning Warning warning

  • These commits modify unsafe code. Please review it carefully!

@connorimes

Copy link
Copy Markdown
Contributor Author

Documentation will follow.

Cargo.lock files do not get updated for ports. A bug in Cargo when using optional dependencies behind features? I specified a git rev for the energymon dependency in the toml file instead.

r? @larsbergstrom

@connorimes
connorimes force-pushed the power-profiling branch 2 times, most recently from 491eae5 to abe7ba3 Compare September 9, 2015 18:23
@larsbergstrom

Copy link
Copy Markdown
Contributor

Reviewed 11 of 14 files at r1.
Review status: 11 of 14 files reviewed at latest revision, 3 unresolved discussions, all commit checks successful.


tests/wpt/css-tests/css21_dev/html4/border-left-color-123.htm, line 0 [r1] (raw file):
Why is this deleted?


tests/wpt/css-tests/css21_dev/html4/border-left-color-124.htm, line 0 [r1] (raw file):
Why is this deleted?


tests/wpt/css-tests/css21_dev/html4/border-left-color-125.htm, line 0 [r1] (raw file):
Why is this deleted?


Comments from the review on Reviewable.io

@larsbergstrom

Copy link
Copy Markdown
Contributor

@bors-servo r+

(the questions above appear to be a reviewable.io UI bug)

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 3c25f47 has been approved by larsbergstrom

@highfive highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Sep 9, 2015
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 3c25f47 with merge 7b6c341...

@highfive highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Sep 9, 2015
bors-servo pushed a commit that referenced this pull request Sep 9, 2015
Add energy monitoring and characterization scripts

Add the energy-profiling feature.  Users can compile the proper (or their own) version of energymon libraries to capture power/energy data at runtime.  The results are accessed through heartbeats.

Additionally, there are a couple of python scripts to enable heartbeats for profiler categories and process the results into some visualizations to help understand how time and energy is being spent in Servo.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7581)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - mac-rel-wpt

@highfive highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Sep 9, 2015
@bors-servo

Copy link
Copy Markdown
Contributor

⚡ Previous build results for android, gonk, linux-dev, linux-rel, mac-dev-ref-unit are reusable. Rebuilding only mac-rel-css, mac-rel-wpt...

@bors-servo

Copy link
Copy Markdown
Contributor

☀️ Test successful - android, gonk, linux-dev, linux-rel, mac-dev-ref-unit, mac-rel-css, mac-rel-wpt

@bors-servo
bors-servo merged commit 3c25f47 into servo:master Sep 9, 2015
@SimonSapin SimonSapin removed the S-tests-failed The changes caused existing tests to fail. label Jan 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants