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

Issue 924723002: [appcache] Don't write during startup. (Closed)

Created:
5 years, 10 months ago by michaeln
Modified:
5 years, 10 months ago
Reviewers:
cmumford, dmurph
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[AppCache] Avoid frequent small writes and writing during startup by batching together updates to last access times. BUG=460265 Committed: https://crrev.com/56820bdb2a9bcddca9528b16e79d7339f218336f Cr-Commit-Position: refs/heads/master@{#317418}

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Patch Set 3 : #

Total comments: 4

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Total comments: 6

Patch Set 7 : #

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+118 lines, -23 lines) Patch
M content/browser/appcache/appcache_database.h View 1 2 3 4 5 6 7 2 chunks +5 lines, -1 line 0 comments Download
M content/browser/appcache/appcache_database.cc View 1 4 chunks +34 lines, -4 lines 0 comments Download
M content/browser/appcache/appcache_storage_impl.h View 1 2 3 4 5 6 4 chunks +6 lines, -2 lines 0 comments Download
M content/browser/appcache/appcache_storage_impl.cc View 1 2 3 4 5 6 14 chunks +73 lines, -16 lines 0 comments Download

Messages

Total messages: 19 (4 generated)
michaeln
not quite ready yet, but here's a preview
5 years, 10 months ago (2015-02-13 21:04:04 UTC) #2
cmumford
https://codereview.chromium.org/924723002/diff/1/content/browser/appcache/appcache_database.cc File content/browser/appcache/appcache_database.cc (right): https://codereview.chromium.org/924723002/diff/1/content/browser/appcache/appcache_database.cc#newcode432 content/browser/appcache/appcache_database.cc:432: if (!transaction.Commit()) If we fail to update or commit ...
5 years, 10 months ago (2015-02-13 23:06:15 UTC) #3
michaeln
https://codereview.chromium.org/924723002/diff/1/content/browser/appcache/appcache_database.cc File content/browser/appcache/appcache_database.cc (right): https://codereview.chromium.org/924723002/diff/1/content/browser/appcache/appcache_database.cc#newcode432 content/browser/appcache/appcache_database.cc:432: if (!transaction.Commit()) On 2015/02/13 23:06:15, cmumford wrote: > If ...
5 years, 10 months ago (2015-02-14 01:35:03 UTC) #4
cmumford
What do you think about splitting these into two separate CL's? I guess it's small ...
5 years, 10 months ago (2015-02-17 19:26:39 UTC) #5
michaeln
https://codereview.chromium.org/924723002/diff/40001/content/browser/appcache/appcache_storage_impl.cc File content/browser/appcache/appcache_storage_impl.cc (right): https://codereview.chromium.org/924723002/diff/40001/content/browser/appcache/appcache_storage_impl.cc#newcode316 content/browser/appcache/appcache_storage_impl.cc:316: const base::TimeDelta k5Minutes = base::TimeDelta::FromMinutes(5); On 2015/02/17 19:26:39, cmumford ...
5 years, 10 months ago (2015-02-17 19:46:26 UTC) #6
michaeln
On 2015/02/17 19:26:39, cmumford wrote: > What do you think about splitting these into two ...
5 years, 10 months ago (2015-02-18 23:43:07 UTC) #7
michaeln
dan, ptal?
5 years, 10 months ago (2015-02-19 22:50:26 UTC) #9
dmurph
lgtm with nits https://codereview.chromium.org/924723002/diff/100001/content/browser/appcache/appcache_database.h File content/browser/appcache/appcache_database.h (right): https://codereview.chromium.org/924723002/diff/100001/content/browser/appcache/appcache_database.h#newcode121 content/browser/appcache/appcache_database.h:121: bool LazyUpdateLastAccessTime( Can you comment that ...
5 years, 10 months ago (2015-02-20 00:04:45 UTC) #10
cmumford
https://codereview.chromium.org/924723002/diff/100001/content/browser/appcache/appcache_database.h File content/browser/appcache/appcache_database.h (right): https://codereview.chromium.org/924723002/diff/100001/content/browser/appcache/appcache_database.h#newcode121 content/browser/appcache/appcache_database.h:121: bool LazyUpdateLastAccessTime( On 2015/02/20 00:04:45, dmurph wrote: > Can ...
5 years, 10 months ago (2015-02-20 17:25:47 UTC) #11
cmumford
lgtm
5 years, 10 months ago (2015-02-20 19:22:21 UTC) #12
dmurph
On 2015/02/20 at 17:25:47, cmumford wrote: > https://codereview.chromium.org/924723002/diff/100001/content/browser/appcache/appcache_database.h > File content/browser/appcache/appcache_database.h (right): > > https://codereview.chromium.org/924723002/diff/100001/content/browser/appcache/appcache_database.h#newcode121 ...
5 years, 10 months ago (2015-02-20 19:33:59 UTC) #13
michaeln
https://codereview.chromium.org/924723002/diff/100001/content/browser/appcache/appcache_database.h File content/browser/appcache/appcache_database.h (right): https://codereview.chromium.org/924723002/diff/100001/content/browser/appcache/appcache_database.h#newcode121 content/browser/appcache/appcache_database.h:121: bool LazyUpdateLastAccessTime( On 2015/02/20 17:25:47, cmumford wrote: > On ...
5 years, 10 months ago (2015-02-20 20:24:39 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/924723002/140001
5 years, 10 months ago (2015-02-20 20:25:47 UTC) #17
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 10 months ago (2015-02-20 22:09:21 UTC) #18
commit-bot: I haz the power
5 years, 10 months ago (2015-02-20 22:09:54 UTC) #19
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/56820bdb2a9bcddca9528b16e79d7339f218336f
Cr-Commit-Position: refs/heads/master@{#317418}

Powered by Google App Engine
This is Rietveld 408576698