forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
As per issue 78507, we are looking to add support for SQLite databases to use Write-ahead logging (https://www.sqlite.org/wal.html) mode in Chromium. WAL mode should give us significant performance gains across almost all use-cases. This change is a first step towards achieving this. It adds opt-in support to enable WAL mode for a database connection and perform a checkpoint. It also adds a feature flag to enable WAL mode for all databases by default to investigate its feasibility and impact on performance. Bug: 78507 Change-Id: I7fc5edcc39b50d2a13755d587cf342bded1af60a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2095927 Commit-Queue: Shubham Aggarwal <shuagga@microsoft.com> Reviewed-by: Brandon Maslen <brandm@microsoft.com> Reviewed-by: Victor Costan <pwnall@chromium.org> Reviewed-by: Chris Mumford <cmumford@google.com> Cr-Commit-Position: refs/heads/master@{#780318}
- Loading branch information
Shubham Aggarwal
authored and
Commit Bot
committed
Jun 19, 2020
1 parent
9fcf48b
commit be4f97c
Showing
5 changed files
with
281 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.