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

Issue 821913004: [Storage] Consoliation of BlobItems with small size (Closed)

Created:
5 years, 11 months ago by dmurph
Modified:
5 years, 11 months ago
Reviewers:
michaeln, piman
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

[Storage] Consolidation of BlobItems with small size https://bit.ly/AutoBlobToDisk R=michaeln, piman BUG=375297 Committed: https://crrev.com/4e45f41babddb10985c8c0afb9b0b6b9e8356094 Cr-Commit-Position: refs/heads/master@{#312770} Committed: https://crrev.com/a986a8db3f226762d312601a3cf6b770fe9df6ee Cr-Commit-Position: refs/heads/master@{#312907}

Patch Set 1 #

Patch Set 2 : switching threshold checks to keep old behavior #

Patch Set 3 : fix for clearing buffer #

Total comments: 11

Patch Set 4 : Style restructure #

Patch Set 5 : Removed C++11 vector data() call #

Total comments: 4

Patch Set 6 : More memory efficient #

Patch Set 7 : cleanup #

Total comments: 12

Patch Set 8 : Fixes #

Patch Set 9 : Size fix #

Patch Set 10 : Merge and length calc fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+123 lines, -62 lines) Patch
M content/child/webblobregistry_impl.h View 1 2 3 4 5 3 chunks +18 lines, -2 lines 0 comments Download
M content/child/webblobregistry_impl.cc View 1 2 3 4 5 6 7 8 9 2 chunks +85 lines, -60 lines 0 comments Download
M storage/common/data_element.h View 1 2 3 4 5 6 7 8 9 1 chunk +20 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (7 generated)
dmurph
Hello michaeln, Please take a look at this patch, it consolidates blob items with small ...
5 years, 11 months ago (2015-01-20 23:34:28 UTC) #1
michaeln
https://codereview.chromium.org/821913004/diff/40001/content/child/webblobregistry_impl.cc File content/child/webblobregistry_impl.cc (left): https://codereview.chromium.org/821913004/diff/40001/content/child/webblobregistry_impl.cc#oldcode54 content/child/webblobregistry_impl.cc:54: SendDataForBlob(uuid_str, data_item.data); might be nice to bury the new ...
5 years, 11 months ago (2015-01-21 02:16:48 UTC) #2
dmurph
Question: Currently I'm allocating a vector, and then the relevant data is copied again into ...
5 years, 11 months ago (2015-01-21 23:57:42 UTC) #3
michaeln
> Currently I'm allocating a vector, and then the relevant data is copied again > ...
5 years, 11 months ago (2015-01-22 00:46:22 UTC) #4
michaeln
https://codereview.chromium.org/821913004/diff/80001/content/child/webblobregistry_impl.cc File content/child/webblobregistry_impl.cc (right): https://codereview.chromium.org/821913004/diff/80001/content/child/webblobregistry_impl.cc#newcode47 content/child/webblobregistry_impl.cc:47: consolidating_buffer.reserve(kLargeThresholdBytes); should we care about preallocating this much mem? ...
5 years, 11 months ago (2015-01-22 00:46:42 UTC) #5
dmurph
Done, I switched to just using a DataElement and adding functionality to that class. Hopefully ...
5 years, 11 months ago (2015-01-22 19:54:17 UTC) #6
michaeln
https://codereview.chromium.org/821913004/diff/120001/content/child/webblobregistry_impl.cc File content/child/webblobregistry_impl.cc (right): https://codereview.chromium.org/821913004/diff/120001/content/child/webblobregistry_impl.cc#newcode54 content/child/webblobregistry_impl.cc:54: // This skips empty files and blobs. We skip ...
5 years, 11 months ago (2015-01-22 21:57:46 UTC) #7
dmurph
https://codereview.chromium.org/821913004/diff/120001/content/child/webblobregistry_impl.cc File content/child/webblobregistry_impl.cc (right): https://codereview.chromium.org/821913004/diff/120001/content/child/webblobregistry_impl.cc#newcode54 content/child/webblobregistry_impl.cc:54: // This skips empty files and blobs. We skip ...
5 years, 11 months ago (2015-01-23 00:42:00 UTC) #8
michaeln
lgtm!
5 years, 11 months ago (2015-01-23 00:59:33 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/821913004/140001
5 years, 11 months ago (2015-01-23 01:10:58 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/37806) Try jobs failed on following ...
5 years, 11 months ago (2015-01-23 01:32:45 UTC) #13
dmurph
+piman for owners
5 years, 11 months ago (2015-01-23 02:21:34 UTC) #15
piman
lgtm
5 years, 11 months ago (2015-01-23 02:31:46 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/821913004/140001
5 years, 11 months ago (2015-01-23 02:39:43 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/37806)
5 years, 11 months ago (2015-01-23 02:41:15 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/821913004/140001
5 years, 11 months ago (2015-01-23 02:57:39 UTC) #22
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 11 months ago (2015-01-23 04:29:55 UTC) #23
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/4e45f41babddb10985c8c0afb9b0b6b9e8356094 Cr-Commit-Position: refs/heads/master@{#312770}
5 years, 11 months ago (2015-01-23 04:30:48 UTC) #24
kochi
A revert of this CL (patchset #8 id:140001) has been created in https://codereview.chromium.org/869763003/ by kochi@chromium.org. ...
5 years, 11 months ago (2015-01-23 05:55:49 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/821913004/180001
5 years, 11 months ago (2015-01-23 18:59:56 UTC) #27
commit-bot: I haz the power
Committed patchset #10 (id:180001)
5 years, 11 months ago (2015-01-23 19:58:39 UTC) #28
commit-bot: I haz the power
5 years, 11 months ago (2015-01-23 19:59:55 UTC) #29
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/a986a8db3f226762d312601a3cf6b770fe9df6ee
Cr-Commit-Position: refs/heads/master@{#312907}

Powered by Google App Engine
This is Rietveld 408576698