diff options
author | Fyodor Kupolov <fkupolov@google.com> | 2018-04-27 17:41:49 -0700 |
---|---|---|
committer | Fyodor Kupolov <fkupolov@google.com> | 2018-04-30 22:45:42 +0000 |
commit | 2e2f01e4804fc245023b270d41aa017ae22b533c (patch) | |
tree | 88b2b0355b7c9b9f06e8a54d612ec23351eddf0b /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 1072d0d18a8701e5fac0d7e545aed7a620f706b3 (diff) |
Use NORMAL synchronous mode for WAL journal mode
When synchronous is NORMAL (1), the SQLite database engine will still
sync at the most critical moments, but less often than in FULL mode.
With this change, the number of writes is reduced by 50%,
more than 5x improvement in write performance, read performance is
the same.
Test: Manual + SQLiteDatabaseTest
Bug: 76033286
Change-Id: I13526962bbaeae028a9c6cb668aa9f94bbc2a44d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions