detached 4ddcf80

docs(changelog): add cold start optimization notes

commit
4ddcf80e5ae7df9551a96868ebe6f5e24ebdf190
author
bnema · · 2025-12-27 21:10 UTC
parent
a59164b
signature
GPG Unverified2B82207D370127A0 The key is unknown
1 file · +9 -0
M CHANGELOG.md +9 -0
@@ -19,6 +19,15 @@ All notable changes to this project will be documented in this file.
1919 - `Ctrl+P → M`: Moves the active pane to the next tab (creates a new tab if needed).
2020 - New config: `workspace.switch_to_tab_on_move` (default: true).
2121
22+### Changed
23+- **Cold start optimization**: Reduced startup time by ~150ms (29% faster) through parallel initialization.
24+ - SQLite WASM runtime pre-compilation runs concurrently with GStreamer/runtime checks.
25+ - Database initialization runs in background goroutine while WebKit stack initializes on main thread.
26+ - Database path now resolved via `config.GetDatabaseFile()` following clean architecture.
27+ - Added connection pool settings optimized for SQLite (`SetMaxOpenConns(1)`, keep-alive).
28+ - Reduced `mmap_size` from 30GB to 256MB (reasonable for browser history DB).
29+ - Added `PRAGMA foreign_keys = ON` for referential integrity.
30+
2231 ### Fixed
2332 - **OAuth popup login**: Fixed parent page going blank after OAuth popup closes (e.g., Google login on claude.ai, notion.com). Related WebViews share a web process with their parent; destroying the popup was terminating the shared process, killing the parent. Now skips `TerminateWebProcess()` for popup WebViews.
2433 - Startup: defer WebView pool prewarm until after initial tab creation to reduce cold-start navigation latency.
@@ -19,6 +19,15 @@ All notable changes to this project will be documented in this file.
19 - `Ctrl+P → M`: Moves the active pane to the next tab (creates a new tab if needed).19 - `Ctrl+P → M`: Moves the active pane to the next tab (creates a new tab if needed).
20 - New config: `workspace.switch_to_tab_on_move` (default: true).20 - New config: `workspace.switch_to_tab_on_move` (default: true).
21 21
22+### Changed
23+- **Cold start optimization**: Reduced startup time by ~150ms (29% faster) through parallel initialization.
24+ - SQLite WASM runtime pre-compilation runs concurrently with GStreamer/runtime checks.
25+ - Database initialization runs in background goroutine while WebKit stack initializes on main thread.
26+ - Database path now resolved via `config.GetDatabaseFile()` following clean architecture.
27+ - Added connection pool settings optimized for SQLite (`SetMaxOpenConns(1)`, keep-alive).
28+ - Reduced `mmap_size` from 30GB to 256MB (reasonable for browser history DB).
29+ - Added `PRAGMA foreign_keys = ON` for referential integrity.
30+
22 ### Fixed31 ### Fixed
23 - **OAuth popup login**: Fixed parent page going blank after OAuth popup closes (e.g., Google login on claude.ai, notion.com). Related WebViews share a web process with their parent; destroying the popup was terminating the shared process, killing the parent. Now skips `TerminateWebProcess()` for popup WebViews.32 - **OAuth popup login**: Fixed parent page going blank after OAuth popup closes (e.g., Google login on claude.ai, notion.com). Related WebViews share a web process with their parent; destroying the popup was terminating the shared process, killing the parent. Now skips `TerminateWebProcess()` for popup WebViews.
24 - Startup: defer WebView pool prewarm until after initial tab creation to reduce cold-start navigation latency.33 - Startup: defer WebView pool prewarm until after initial tab creation to reduce cold-start navigation latency.

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 8

Tags 42

↑↓ moveenter openesc close