Commit 8d00fd8
perf: SQLite PRAGMA チューニングでread性能を改善
WALモードのデスクトップアプリ向けに攻めた設定を追加:
- synchronous=NORMAL: WALでは安全性を損なわずfsync削減
- mmap_size=256MB: readをsyscallからメモリアクセスに
- cache_size=16MB: ページキャッシュをデフォルト2MBから拡大
- temp_store=MEMORY: 一時テーブル・ソートをメモリ上で実行
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent c3beeb7 commit 8d00fd8
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
39 | 46 | | |
40 | 47 | | |
41 | 48 | | |
| |||
0 commit comments