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

Issue 2730703002: DEPS: Update leveldatabase from 1.18 to 1.20. (Closed)

Created:
3 years, 9 months ago by pwnall
Modified:
3 years, 9 months ago
Reviewers:
Dirk Pranke, Nico, cmumford
CC:
chromium-reviews, jsbell
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DEPS: Update leveldatabase from 1.18 to 1.20. This is a re-land of http://crrev.com/2727693004 This speeds up CRC32C computation from ~900MB/s to ~4GB/s on computers with modern Intel CPUs. Snappy decompression runs at around 4GB/s, so CRC32C is a limiting factor when reading large blocks, which can happen when we store large values. BUG= Review-Url: https://codereview.chromium.org/2730703002 Cr-Commit-Position: refs/heads/master@{#454393} Committed: https://chromium.googlesource.com/chromium/src/+/cfb346f113303aea2124c7a7d61768664294e17a

Patch Set 1 : http://crrev.com/2727693004 #

Patch Set 2 : Build tweaks to get leveldb tests compiled on CQ. #

Patch Set 3 : Bugfix + refactoring for build trickery. #

Patch Set 4 : Suppress Visual Studio 2012 warning in cache_test.cc. #

Total comments: 2

Patch Set 5 : Remove build hacks. #

Total comments: 2

Patch Set 6 : Addressed cmumford feedback. #

Patch Set 7 : Fix long line. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -29 lines) Patch
M BUILD.gn View 1 2 1 chunk +1 line, -16 lines 0 comments Download
M DEPS View 1 chunk +1 line, -1 line 0 comments Download
M third_party/leveldatabase/BUILD.gn View 1 2 3 4 5 6 4 chunks +43 lines, -9 lines 0 comments Download
M third_party/leveldatabase/README.chromium View 1 chunk +1 line, -1 line 0 comments Download
M third_party/leveldatabase/port/port_chromium.h View 1 chunk +5 lines, -2 lines 0 comments Download

Messages

Total messages: 35 (22 generated)
pwnall
thakis@chromium.org: Please review changes in BUILD.gn jsbell@chromium.org: Please review changes in storage/BUILD.gn cmumford@chromium.org: Please review ...
3 years, 9 months ago (2017-03-02 12:04:42 UTC) #4
Nico
BUILD.gn lgtm, but the part marked with "dpranke: ^" below looks a bit fishy to ...
3 years, 9 months ago (2017-03-02 14:11:27 UTC) #8
Dirk Pranke
Yes, this is "fishy", i.e., no lgtm :) https://codereview.chromium.org/2730703002/diff/60001/storage/browser/BUILD.gn File storage/browser/BUILD.gn (right): https://codereview.chromium.org/2730703002/diff/60001/storage/browser/BUILD.gn#newcode241 storage/browser/BUILD.gn:241: # ...
3 years, 9 months ago (2017-03-02 16:35:00 UTC) #10
pwnall
On 2017/03/02 16:35:00, Dirk Pranke wrote: > Yes, this is "fishy", i.e., no lgtm :) ...
3 years, 9 months ago (2017-03-02 18:51:11 UTC) #13
pwnall
On 2017/03/02 18:51:11, pwnall wrote: > On 2017/03/02 16:35:00, Dirk Pranke wrote: > > Yes, ...
3 years, 9 months ago (2017-03-02 20:06:05 UTC) #16
Dirk Pranke
You are correct, I did mean to block the CL :). The new version is ...
3 years, 9 months ago (2017-03-02 20:15:01 UTC) #17
cmumford
https://codereview.chromium.org/2730703002/diff/80001/third_party/leveldatabase/BUILD.gn File third_party/leveldatabase/BUILD.gn (right): https://codereview.chromium.org/2730703002/diff/80001/third_party/leveldatabase/BUILD.gn#newcode209 third_party/leveldatabase/BUILD.gn:209: # util\cache_test.cc(167): warning C4018: '<': signed/unsigned mismatch Let's just ...
3 years, 9 months ago (2017-03-02 20:29:50 UTC) #18
pwnall
cmumford: Thanks for the thoughtful feedback! PTAL? https://codereview.chromium.org/2730703002/diff/80001/third_party/leveldatabase/BUILD.gn File third_party/leveldatabase/BUILD.gn (right): https://codereview.chromium.org/2730703002/diff/80001/third_party/leveldatabase/BUILD.gn#newcode209 third_party/leveldatabase/BUILD.gn:209: # util\cache_test.cc(167): ...
3 years, 9 months ago (2017-03-02 20:41:52 UTC) #21
pwnall
Moving jsbell@ to cc, because this CL doesn't touch storage/BUILD.gn anymore.
3 years, 9 months ago (2017-03-02 21:26:51 UTC) #25
cmumford
lgtm
3 years, 9 months ago (2017-03-02 21:36:56 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2730703002/120001
3 years, 9 months ago (2017-03-02 21:53:04 UTC) #31
pwnall
Thank you very much for the speedy review, everyone! I know the timing isn't great, ...
3 years, 9 months ago (2017-03-02 21:53:10 UTC) #32
commit-bot: I haz the power
3 years, 9 months ago (2017-03-02 22:13:18 UTC) #35
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/cfb346f113303aea2124c7a7d617...

Powered by Google App Engine
This is Rietveld 408576698