Files
ghostty/src/crash
Mitchell Hashimoto a82637b53a crash: resolve sentry directories on the init thread
Sentry initialization already ran on a separate thread, but the cache
and state directory resolution happened on the main thread before
spawning it. On macOS the cache dir resolution calls NSFileManager
URLForDirectory:inDomain:appropriateForURL:create:error: which takes
multiple milliseconds and was the single largest cost in global.init.

All directory resolution now happens on the init thread. 

  before: 2967us-4018us
  after:    30us-70us (env map snapshot + thread spawn)

global.init total drops from ~3.4-5.0ms to ~0.4-1.0ms.
2026-08-09 18:32:48 -07:00
..
2026-08-02 20:24:30 -07:00
2025-10-02 11:09:51 -07:00
2026-07-21 12:35:05 -07:00