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.
sql: Add Finch trial for eliminating sql::Database::Preload().
The logic in sql::Database::Preload() is a pessimization for modern OS schedulers, as it forces the kernel to read the first few pages of a newly opened database. https://crbug.com/243949 suggests that this method was added without performance testing, just like the more complex SQLite patch that it replaces. This CL sets up a Finch trial that will either prove that we can get rid of the Preload() hack, or give us conclusive data about its usefulness. Bug: 243949 Change-Id: Icfee9aaa3d125af207974536e8e5f5e64a9609ba Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1438031 Reviewed-by: Steven Holte <holte@chromium.org> Reviewed-by: Chris Mumford <cmumford@google.com> Commit-Queue: Steven Holte <holte@chromium.org> Auto-Submit: Victor Costan <pwnall@chromium.org> Cr-Commit-Position: refs/heads/master@{#662006}
- Loading branch information
Showing
4 changed files
with
36 additions
and
2 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
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