1 // Copyright 2018 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "sql/sql_features.h"
11 // Skip the logic for preloading databases.
13 // Enabling this feature turns sql::Database::Preload() into a noop.
14 // https://crbug.com/243949 suggests that sql::Database::Preload() was added
15 // without any proper benchmarking, and the logic is a pessimization for modern
18 // TODO(pwnall): After the performance impact of the change is assessed, remove
19 // sql::Database::Preload() and this flag.
20 const base::Feature kSqlSkipPreload{"SqlSkipPreload",
21 base::FEATURE_DISABLED_BY_DEFAULT};
23 // Enable WAL mode for all SQLite databases.
24 const base::Feature kEnableWALModeByDefault{"EnableWALModeByDefault",
25 base::FEATURE_DISABLED_BY_DEFAULT};
27 } // namespace features