sm7250-common: overlay: configure SQLite to operate in MEMORY mode

This change yields considerable SQLite performance gains. It should be generally safe as this device has irremovable battery.

Some OEMs have been doing this for years.

Signed-off-by: Jesse Chan <jc@lineageos.org>
Change-Id: I50d9b3d9f019772fedc7066675249116d5e441e4
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
Signed-off-by: aswin7469 <aswinas@pixysos.com>
This commit is contained in:
Jesse Chan
2021-12-20 11:39:18 +08:00
committed by KakatkarAkshay
parent 46f465a7bd
commit abb00d7401

View File

@@ -360,4 +360,8 @@
non-zero. --> non-zero. -->
<integer name="config_defaultPeakRefreshRate">90</integer> <integer name="config_defaultPeakRefreshRate">90</integer>
<!-- SQLite -->
<string name="db_default_journal_mode">MEMORY</string>
<string name="db_default_sync_mode">OFF</string>
<string name="db_wal_sync_mode">OFF</string>
</resources> </resources>