commit | 1dc497c0362050f75684809f4c8f0b074f6fb421 | [log] [tgz] |
---|---|---|
author | Chris Mumford <cmumford@chromium.org> | Mon Oct 09 22:03:22 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Oct 09 22:03:22 2017 |
tree | 96a01463e7bce139365be0ec27af4abea9dac4f4 | |
parent | 762e365e39c5766ae70c2f3e034e3f2b775e0097 [diff] |
leveldb: Disable read caches for in-memory databases. In-memory databases are already fast and a read cache will probably have little or no benefit. Disabling the cache to conserve RAM. This change is a subset of http://crrev.com/c/647329 (reverted) without the changes related to the creation of leveldb_chrome::NewMemEnv(). That was reverted due to a bug in leveldb which was fixed in https://github.com/google/leveldb/commit/1c75e88055e06. Bug: 761398 Change-Id: I64dbf53dbf74ec251afd84aec9b9d751508054ec Reviewed-on: https://chromium-review.googlesource.com/704034 Reviewed-by: Victor Costan <pwnall@chromium.org> Commit-Queue: Chris Mumford <cmumford@chromium.org> Cr-Commit-Position: refs/heads/master@{#507503}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .