Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Issue 10805050: Chrome Performance Monitor: MetricDetails refactor. (Closed)

Created:
8 years, 5 months ago by Matt Tytel
Modified:
8 years, 5 months ago
CC:
chromium-reviews, clintstaley, Devlin
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Chrome Performance Monitor: Moved MetricDetails lookup to metric_details.*. Database keys and MetricDetails lookups are now made through the MetricType enum. BUG=130212 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=148248

Patch Set 1 : #

Total comments: 11

Patch Set 2 : Added a couple of metrics we're going to use. #

Patch Set 3 : Removed UpdateActiveIntervals from retrieval functions. #

Total comments: 2

Patch Set 4 : Synced + nit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+189 lines, -209 lines) Patch
M chrome/browser/performance_monitor/constants.h View 1 1 chunk +12 lines, -6 lines 0 comments Download
M chrome/browser/performance_monitor/constants.cc View 1 1 chunk +12 lines, -2 lines 0 comments Download
M chrome/browser/performance_monitor/database.h View 4 chunks +20 lines, -27 lines 0 comments Download
M chrome/browser/performance_monitor/database.cc View 1 2 12 chunks +76 lines, -91 lines 0 comments Download
M chrome/browser/performance_monitor/database_unittest.cc View 1 2 3 10 chunks +37 lines, -53 lines 0 comments Download
M chrome/browser/performance_monitor/metric_details.h View 1 1 chunk +9 lines, -10 lines 0 comments Download
M chrome/browser/performance_monitor/metric_details.cc View 1 1 chunk +16 lines, -17 lines 0 comments Download
M chrome/browser/ui/webui/performance_monitor/web_ui_handler.cc View 1 2 3 2 chunks +7 lines, -3 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Matt Tytel
Eriq, would you do me the courtesy of reviewing this first? https://chromiumcodereview.appspot.com/10805050/diff/1/chrome/browser/performance_monitor/database_unittest.cc File chrome/browser/performance_monitor/database_unittest.cc (right): ...
8 years, 5 months ago (2012-07-21 00:20:48 UTC) #1
eaugusti
https://chromiumcodereview.appspot.com/10805050/diff/5001/chrome/browser/performance_monitor/database.cc File chrome/browser/performance_monitor/database.cc (right): https://chromiumcodereview.appspot.com/10805050/diff/5001/chrome/browser/performance_monitor/database.cc#newcode371 chrome/browser/performance_monitor/database.cc:371: UpdateActiveInterval(); Humm... I think we decided that active intervals ...
8 years, 5 months ago (2012-07-21 02:00:40 UTC) #2
Matt Tytel
https://chromiumcodereview.appspot.com/10805050/diff/5001/chrome/browser/performance_monitor/database_unittest.cc File chrome/browser/performance_monitor/database_unittest.cc (right): https://chromiumcodereview.appspot.com/10805050/diff/5001/chrome/browser/performance_monitor/database_unittest.cc#newcode105 chrome/browser/performance_monitor/database_unittest.cc:105: void PopulateDB() { Dern.. I deleted the patch set ...
8 years, 5 months ago (2012-07-21 02:11:40 UTC) #3
Matt Tytel
https://chromiumcodereview.appspot.com/10805050/diff/5001/chrome/browser/performance_monitor/database.cc File chrome/browser/performance_monitor/database.cc (right): https://chromiumcodereview.appspot.com/10805050/diff/5001/chrome/browser/performance_monitor/database.cc#newcode371 chrome/browser/performance_monitor/database.cc:371: UpdateActiveInterval(); On 2012/07/21 02:00:40, eaugusti wrote: > Humm... I ...
8 years, 5 months ago (2012-07-23 22:24:00 UTC) #4
eaugusti
On 2012/07/23 22:24:00, Matt Tytel wrote: > https://chromiumcodereview.appspot.com/10805050/diff/5001/chrome/browser/performance_monitor/database.cc > File chrome/browser/performance_monitor/database.cc (right): > > https://chromiumcodereview.appspot.com/10805050/diff/5001/chrome/browser/performance_monitor/database.cc#newcode371 ...
8 years, 5 months ago (2012-07-23 22:53:43 UTC) #5
Matt Tytel
koz: I got another one for you. estade: Could I get a webui review? thanks ...
8 years, 5 months ago (2012-07-23 23:02:24 UTC) #6
koz (OOO until 15th September)
lgtm
8 years, 5 months ago (2012-07-24 01:05:59 UTC) #7
Evan Stade
lgtm https://chromiumcodereview.appspot.com/10805050/diff/9001/chrome/browser/ui/webui/performance_monitor/web_ui_handler.cc File chrome/browser/ui/webui/performance_monitor/web_ui_handler.cc (right): https://chromiumcodereview.appspot.com/10805050/diff/9001/chrome/browser/ui/webui/performance_monitor/web_ui_handler.cc#newcode61 chrome/browser/ui/webui/performance_monitor/web_ui_handler.cc:61: Database::MetricVectorMap metric_vector_map = db->GetStatsForMetricByActivity( I think it would ...
8 years, 5 months ago (2012-07-24 18:53:04 UTC) #8
Matt Tytel
https://chromiumcodereview.appspot.com/10805050/diff/9001/chrome/browser/ui/webui/performance_monitor/web_ui_handler.cc File chrome/browser/ui/webui/performance_monitor/web_ui_handler.cc (right): https://chromiumcodereview.appspot.com/10805050/diff/9001/chrome/browser/ui/webui/performance_monitor/web_ui_handler.cc#newcode61 chrome/browser/ui/webui/performance_monitor/web_ui_handler.cc:61: Database::MetricVectorMap metric_vector_map = db->GetStatsForMetricByActivity( On 2012/07/24 18:53:04, Evan Stade ...
8 years, 5 months ago (2012-07-24 20:11:20 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mtytel@chromium.org/10805050/9003
8 years, 5 months ago (2012-07-24 20:11:52 UTC) #10
commit-bot: I haz the power
8 years, 5 months ago (2012-07-24 23:38:20 UTC) #11
Change committed as 148248

Powered by Google App Engine
This is Rietveld 408576698