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

Issue 547063003: Remove the unmaintained performance monitor. (Closed)

Created:
6 years, 3 months ago by tonyg
Modified:
6 years, 3 months ago
Reviewers:
Lei Zhang, Devlin, jam, Yoyo Zhou
CC:
chromium-reviews, cbentzel+watch_chromium.org, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, marja+watch_chromium.org, darin-cc_chromium.org, jshin+watch_chromium.org, jeremy, sullivan, ppi, oystein (OOO til 10th of July)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Remove the unmaintained performance monitor. It's not launched nor are there plans to do so. The last commit was Dec, 2012 and there was a thread about removing it on chromium-dev in May. My immediate use-case is to quelch the periodic idle wakeups due to the performance monitor, but at this point, simply removing it seems preferable to digging in to fix the timer. BUG=411488, 130212 Committed: https://crrev.com/7f48a174b4c63c11ee0cbbfee4125b89a963b3c0 Cr-Commit-Position: refs/heads/master@{#294298}

Patch Set 1 #

Patch Set 2 : Update BUILD.gn files #

Patch Set 3 : Remove unused member #

Patch Set 4 : Remove resources and re-add histograms #

Patch Set 5 : Attempt to fix GN #

Total comments: 12

Patch Set 6 : Address Devlin's comments #

Total comments: 2

Patch Set 7 : Devlin comments and fix GN #

Patch Set 8 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -8111 lines) Patch
M chrome/browser/BUILD.gn View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 4 5 1 chunk +0 lines, -7 lines 0 comments Download
M chrome/browser/browser_resources.grd View 1 2 3 1 chunk +0 lines, -7 lines 0 comments Download
M chrome/browser/chrome_browser_main.h View 2 chunks +0 lines, -9 lines 0 comments Download
M chrome/browser/chrome_browser_main.cc View 1 2 3 4 5 6 5 chunks +0 lines, -10 lines 0 comments Download
M chrome/browser/chrome_notification_types.h View 1 2 3 4 5 6 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/net/chrome_network_delegate.cc View 1 2 3 2 chunks +0 lines, -4 lines 0 comments Download
D chrome/browser/performance_monitor/BUILD.gn View 4 1 chunk +0 lines, -11 lines 0 comments Download
D chrome/browser/performance_monitor/constants.h View 4 5 1 chunk +0 lines, -53 lines 0 comments Download
D chrome/browser/performance_monitor/constants.cc View 1 chunk +0 lines, -24 lines 0 comments Download
D chrome/browser/performance_monitor/database.h View 1 chunk +0 lines, -323 lines 0 comments Download
D chrome/browser/performance_monitor/database.cc View 1 chunk +0 lines, -590 lines 0 comments Download
D chrome/browser/performance_monitor/database_unittest.cc View 1 chunk +0 lines, -534 lines 0 comments Download
D chrome/browser/performance_monitor/event.h View 1 chunk +0 lines, -54 lines 0 comments Download
D chrome/browser/performance_monitor/event.cc View 1 chunk +0 lines, -32 lines 0 comments Download
D chrome/browser/performance_monitor/event_type.h View 1 chunk +0 lines, -44 lines 0 comments Download
D chrome/browser/performance_monitor/events.json View 1 chunk +0 lines, -58 lines 0 comments Download
D chrome/browser/performance_monitor/key_builder.h View 1 chunk +0 lines, -98 lines 0 comments Download
D chrome/browser/performance_monitor/key_builder.cc View 1 chunk +0 lines, -247 lines 0 comments Download
D chrome/browser/performance_monitor/metric.h View 1 chunk +0 lines, -70 lines 0 comments Download
D chrome/browser/performance_monitor/metric.cc View 1 chunk +0 lines, -101 lines 0 comments Download
M chrome/browser/performance_monitor/performance_monitor.h View 1 2 3 4 5 6 2 chunks +6 lines, -172 lines 0 comments Download
M chrome/browser/performance_monitor/performance_monitor.cc View 1 2 3 4 5 6 6 chunks +24 lines, -613 lines 0 comments Download
D chrome/browser/performance_monitor/performance_monitor.gyp View 1 chunk +0 lines, -26 lines 0 comments Download
D chrome/browser/performance_monitor/performance_monitor_browsertest.cc View 1 chunk +0 lines, -842 lines 0 comments Download
D chrome/browser/performance_monitor/performance_monitor_util.h View 1 chunk +0 lines, -54 lines 0 comments Download
D chrome/browser/performance_monitor/performance_monitor_util.cc View 1 chunk +0 lines, -87 lines 0 comments Download
M chrome/browser/performance_monitor/process_metrics_history.cc View 1 2 3 4 5 2 chunks +4 lines, -1 line 0 comments Download
D chrome/browser/performance_monitor/startup_timer.h View 1 chunk +0 lines, -103 lines 0 comments Download
D chrome/browser/performance_monitor/startup_timer.cc View 1 chunk +0 lines, -144 lines 0 comments Download
D chrome/browser/resources/performance_monitor/OWNERS View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
D chrome/browser/resources/performance_monitor/chart.css View 1 2 3 1 chunk +0 lines, -208 lines 0 comments Download
D chrome/browser/resources/performance_monitor/chart.html View 1 2 3 1 chunk +0 lines, -121 lines 0 comments Download
D chrome/browser/resources/performance_monitor/chart.js View 1 2 3 1 chunk +0 lines, -1391 lines 0 comments Download
M chrome/browser/sessions/session_restore.cc View 2 chunks +0 lines, -3 lines 0 comments Download
M chrome/browser/ui/BUILD.gn View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/startup/startup_browser_creator_impl.cc View 2 chunks +0 lines, -8 lines 0 comments Download
M chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc View 2 chunks +0 lines, -4 lines 0 comments Download
D chrome/browser/ui/webui/performance_monitor/OWNERS View 1 chunk +0 lines, -2 lines 0 comments Download
D chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.h View 1 chunk +0 lines, -73 lines 0 comments Download
D chrome/browser/ui/webui/performance_monitor/performance_monitor_handler.cc View 1 chunk +0 lines, -573 lines 0 comments Download
D chrome/browser/ui/webui/performance_monitor/performance_monitor_l10n.h View 1 chunk +0 lines, -47 lines 0 comments Download
D chrome/browser/ui/webui/performance_monitor/performance_monitor_l10n.cc View 1 chunk +0 lines, -451 lines 0 comments Download
D chrome/browser/ui/webui/performance_monitor/performance_monitor_ui.h View 1 chunk +0 lines, -22 lines 0 comments Download
D chrome/browser/ui/webui/performance_monitor/performance_monitor_ui.cc View 1 chunk +0 lines, -85 lines 0 comments Download
D chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_constants.h View 1 chunk +0 lines, -84 lines 0 comments Download
D chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_constants.cc View 1 chunk +0 lines, -49 lines 0 comments Download
D chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util.h View 1 chunk +0 lines, -122 lines 0 comments Download
D chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util.cc View 1 chunk +0 lines, -195 lines 0 comments Download
D chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util_unittest.cc View 1 chunk +0 lines, -252 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 2 chunks +0 lines, -15 lines 0 comments Download
M chrome/chrome_browser_chromeos.gypi View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 3 chunks +0 lines, -11 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 5 1 chunk +0 lines, -9 lines 0 comments Download
M chrome/common/url_constants.h View 1 2 3 4 5 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/common/url_constants.cc View 1 2 3 4 5 2 chunks +0 lines, -2 lines 0 comments Download
D chrome/test/data/performance_monitor/extensions/simple_extension.pem View 1 2 3 1 chunk +0 lines, -16 lines 0 comments Download
D chrome/test/data/performance_monitor/extensions/simple_extension_v1/background.html View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
D chrome/test/data/performance_monitor/extensions/simple_extension_v1/manifest.json View 1 2 3 1 chunk +0 lines, -8 lines 0 comments Download
D chrome/test/data/performance_monitor/extensions/simple_extension_v2/background.html View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
D chrome/test/data/performance_monitor/extensions/simple_extension_v2/manifest.json View 1 2 3 1 chunk +0 lines, -5 lines 0 comments Download
D chrome/test/data/performance_monitor/unclean_exit_prefs View 1 2 3 1 chunk +0 lines, -5 lines 0 comments Download
M content/browser/frame_host/navigator_impl.h View 1 2 2 chunks +0 lines, -4 lines 0 comments Download
M content/browser/frame_host/navigator_impl.cc View 2 chunks +0 lines, -10 lines 0 comments Download

Messages

Total messages: 20 (3 generated)
tonyg
6 years, 3 months ago (2014-09-06 01:04:37 UTC) #2
Lei Zhang
-erikkay, +yoz
6 years, 3 months ago (2014-09-06 03:31:18 UTC) #4
Devlin
On 2014/09/06 03:31:18, Lei Zhang wrote: > -erikkay, +yoz Two main things I see missing ...
6 years, 3 months ago (2014-09-08 15:30:03 UTC) #5
jam
lgtm
6 years, 3 months ago (2014-09-08 19:34:41 UTC) #6
tonyg
> Two main things I see missing that should be removed: > - chrome/browser/resources/performance_monitor > ...
6 years, 3 months ago (2014-09-09 01:01:04 UTC) #7
Devlin
On 2014/09/09 01:01:04, tonyg wrote: > > Two main things I see missing that should ...
6 years, 3 months ago (2014-09-09 01:45:46 UTC) #8
tonyg
On 2014/09/09 01:45:46, Devlin wrote: > On 2014/09/09 01:01:04, tonyg wrote: > > > Two ...
6 years, 3 months ago (2014-09-09 01:50:48 UTC) #9
Devlin
On 2014/09/09 01:50:48, tonyg wrote: > On 2014/09/09 01:45:46, Devlin wrote: > > On 2014/09/09 ...
6 years, 3 months ago (2014-09-09 01:53:59 UTC) #10
tonyg
On 2014/09/09 01:53:59, Devlin wrote: > On 2014/09/09 01:50:48, tonyg wrote: > > On 2014/09/09 ...
6 years, 3 months ago (2014-09-09 02:00:16 UTC) #11
Devlin
On 2014/09/09 02:00:16, tonyg wrote: > On 2014/09/09 01:53:59, Devlin wrote: > > On 2014/09/09 ...
6 years, 3 months ago (2014-09-09 02:02:16 UTC) #12
Devlin
https://codereview.chromium.org/547063003/diff/80001/chrome/browser/performance_monitor/performance_monitor.cc File chrome/browser/performance_monitor/performance_monitor.cc (right): https://codereview.chromium.org/547063003/diff/80001/chrome/browser/performance_monitor/performance_monitor.cc#newcode10 chrome/browser/performance_monitor/performance_monitor.cc:10: #include "base/bind.h" Do we really need all these includes ...
6 years, 3 months ago (2014-09-09 02:12:58 UTC) #13
tonyg
The trybots noticed that flot is used elsewhere so I brought it back in addition ...
6 years, 3 months ago (2014-09-09 18:28:10 UTC) #14
Devlin
lgtm https://codereview.chromium.org/547063003/diff/100001/chrome/browser/performance_monitor/performance_monitor.cc File chrome/browser/performance_monitor/performance_monitor.cc (right): https://codereview.chromium.org/547063003/diff/100001/chrome/browser/performance_monitor/performance_monitor.cc#newcode32 chrome/browser/performance_monitor/performance_monitor.cc:32: CHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); Since you're here, mind updating this (and ...
6 years, 3 months ago (2014-09-10 21:40:57 UTC) #15
tonyg
On 2014/09/10 21:40:57, Devlin wrote: > lgtm > > https://codereview.chromium.org/547063003/diff/100001/chrome/browser/performance_monitor/performance_monitor.cc > File chrome/browser/performance_monitor/performance_monitor.cc (right): > ...
6 years, 3 months ago (2014-09-10 21:54:56 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tonyg@chromium.org/547063003/140001
6 years, 3 months ago (2014-09-10 22:04:15 UTC) #18
commit-bot: I haz the power
Committed patchset #8 (id:140001) as 4073ed588b5576ea048046600a6f22161f133416
6 years, 3 months ago (2014-09-11 02:27:42 UTC) #19
commit-bot: I haz the power
6 years, 3 months ago (2014-09-11 03:09:20 UTC) #20
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/7f48a174b4c63c11ee0cbbfee4125b89a963b3c0
Cr-Commit-Position: refs/heads/master@{#294298}

Powered by Google App Engine
This is Rietveld 408576698