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

Issue 8085026: Add a metric to Chrome to measure fragmentation of chrome.dll at startup.BUG=98033TEST=None (Closed)

Created:
9 years, 2 months ago by robertshield
Modified:
9 years, 2 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Add a metric to Chrome to measure fragmentation of chrome.dll at startup. BUG=98033 TEST=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=103760

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 32

Patch Set 3 : '' #

Total comments: 24

Patch Set 4 : '' #

Patch Set 5 : '' #

Total comments: 8

Patch Set 6 : '' #

Total comments: 10

Patch Set 7 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+171 lines, -0 lines) Patch
M chrome/browser/chrome_browser_main.cc View 1 2 3 4 5 6 2 chunks +5 lines, -0 lines 0 comments Download
A chrome/browser/fragmentation_checker_unittest_win.cc View 1 2 3 4 5 1 chunk +24 lines, -0 lines 0 comments Download
A chrome/browser/fragmentation_checker_win.h View 1 2 3 4 5 1 chunk +28 lines, -0 lines 0 comments Download
A chrome/browser/fragmentation_checker_win.cc View 1 2 3 4 5 6 1 chunk +111 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
robertshield
9 years, 2 months ago (2011-09-30 16:12:47 UTC) #1
grt (UTC plus 2)
looks pretty awesome. how about a unit test to make sure it doesn't crash? http://codereview.chromium.org/8085026/diff/4001/chrome/browser/fragmentation_checker_win.cc ...
9 years, 2 months ago (2011-09-30 18:44:14 UTC) #2
robertshield
Thanks, ptal http://codereview.chromium.org/8085026/diff/4001/chrome/browser/fragmentation_checker_win.cc File chrome/browser/fragmentation_checker_win.cc (right): http://codereview.chromium.org/8085026/diff/4001/chrome/browser/fragmentation_checker_win.cc#newcode20 chrome/browser/fragmentation_checker_win.cc:20: size_t kMaxBufferSize = 1 << 20; On ...
9 years, 2 months ago (2011-09-30 19:53:00 UTC) #3
grt (UTC plus 2)
http://codereview.chromium.org/8085026/diff/4006/chrome/browser/fragmentation_checker_unittest_win.cc File chrome/browser/fragmentation_checker_unittest_win.cc (right): http://codereview.chromium.org/8085026/diff/4006/chrome/browser/fragmentation_checker_unittest_win.cc#newcode5 chrome/browser/fragmentation_checker_unittest_win.cc:5: #include "chrome/browser/fragmentation_checker_win.h" shouldn't this be in-order with the other ...
9 years, 2 months ago (2011-10-01 02:49:46 UTC) #4
robertshield
http://codereview.chromium.org/8085026/diff/4006/chrome/browser/fragmentation_checker_unittest_win.cc File chrome/browser/fragmentation_checker_unittest_win.cc (right): http://codereview.chromium.org/8085026/diff/4006/chrome/browser/fragmentation_checker_unittest_win.cc#newcode5 chrome/browser/fragmentation_checker_unittest_win.cc:5: #include "chrome/browser/fragmentation_checker_win.h" On 2011/10/01 02:49:46, grt wrote: > shouldn't ...
9 years, 2 months ago (2011-10-01 05:00:41 UTC) #5
grt (UTC plus 2)
One last question. (1am, man?) http://codereview.chromium.org/8085026/diff/12005/chrome/browser/fragmentation_checker_win.cc File chrome/browser/fragmentation_checker_win.cc (right): http://codereview.chromium.org/8085026/diff/12005/chrome/browser/fragmentation_checker_win.cc#newcode74 chrome/browser/fragmentation_checker_win.cc:74: if (extents_guess > kMaxExtentCount) ...
9 years, 2 months ago (2011-10-01 10:59:37 UTC) #6
grt (UTC plus 2)
http://codereview.chromium.org/8085026/diff/12005/chrome/browser/fragmentation_checker_win.cc File chrome/browser/fragmentation_checker_win.cc (right): http://codereview.chromium.org/8085026/diff/12005/chrome/browser/fragmentation_checker_win.cc#newcode112 chrome/browser/fragmentation_checker_win.cc:112: 1, wdyt about sending up 0 as the count ...
9 years, 2 months ago (2011-10-01 11:04:09 UTC) #7
grt (UTC plus 2)
http://codereview.chromium.org/8085026/diff/12005/chrome/browser/fragmentation_checker_win.cc File chrome/browser/fragmentation_checker_win.cc (right): http://codereview.chromium.org/8085026/diff/12005/chrome/browser/fragmentation_checker_win.cc#newcode112 chrome/browser/fragmentation_checker_win.cc:112: 1, On 2011/10/01 11:04:09, grt wrote: > wdyt about ...
9 years, 2 months ago (2011-10-01 22:34:53 UTC) #8
tfarina
http://codereview.chromium.org/8085026/diff/12005/chrome/browser/fragmentation_checker_win.h File chrome/browser/fragmentation_checker_win.h (right): http://codereview.chromium.org/8085026/diff/12005/chrome/browser/fragmentation_checker_win.h#newcode9 chrome/browser/fragmentation_checker_win.h:9: #include "base/basictypes.h" nit: you don't need this include here.
9 years, 2 months ago (2011-10-02 00:16:25 UTC) #9
robertshield
Thanks, ptal. http://codereview.chromium.org/8085026/diff/12005/chrome/browser/fragmentation_checker_win.cc File chrome/browser/fragmentation_checker_win.cc (right): http://codereview.chromium.org/8085026/diff/12005/chrome/browser/fragmentation_checker_win.cc#newcode74 chrome/browser/fragmentation_checker_win.cc:74: if (extents_guess > kMaxExtentCount) { On 2011/10/01 ...
9 years, 2 months ago (2011-10-03 01:46:35 UTC) #10
grt (UTC plus 2)
code LGTM. just some final header inclusion tweaks. http://codereview.chromium.org/8085026/diff/13001/chrome/browser/fragmentation_checker_win.cc File chrome/browser/fragmentation_checker_win.cc (right): http://codereview.chromium.org/8085026/diff/13001/chrome/browser/fragmentation_checker_win.cc#newcode10 chrome/browser/fragmentation_checker_win.cc:10: #include ...
9 years, 2 months ago (2011-10-03 14:33:32 UTC) #11
robertshield
9 years, 2 months ago (2011-10-03 16:59:21 UTC) #12
Thanks!

http://codereview.chromium.org/8085026/diff/13001/chrome/browser/fragmentatio...
File chrome/browser/fragmentation_checker_win.cc (right):

http://codereview.chromium.org/8085026/diff/13001/chrome/browser/fragmentatio...
chrome/browser/fragmentation_checker_win.cc:10: #include <algorithm>
On 2011/10/03 14:33:32, grt wrote:
> no longer needed

Done.

http://codereview.chromium.org/8085026/diff/13001/chrome/browser/fragmentatio...
chrome/browser/fragmentation_checker_win.cc:13: #include "base/at_exit.h"
On 2011/10/03 14:33:32, grt wrote:
> remove

Done.

http://codereview.chromium.org/8085026/diff/13001/chrome/browser/fragmentatio...
chrome/browser/fragmentation_checker_win.cc:14: #include "base/basictypes.h"
On 2011/10/03 14:33:32, grt wrote:
> is this used?

Done.

http://codereview.chromium.org/8085026/diff/13001/chrome/browser/fragmentatio...
chrome/browser/fragmentation_checker_win.cc:15: #include "base/command_line.h"
On 2011/10/03 14:33:32, grt wrote:
> remove

Done.

http://codereview.chromium.org/8085026/diff/13001/chrome/browser/fragmentatio...
chrome/browser/fragmentation_checker_win.cc:17: #include "base/file_util.h"
On 2011/10/03 14:33:32, grt wrote:
> i think you want
> #include "base/platform_file.h"
> instead of this

Done.

Powered by Google App Engine
This is Rietveld 408576698