Commit 894d021
committed
docs: improve SEA config comments with performance details and snapshot rationale
- Document useCodeCache provides ~13% faster startup (~22ms improvement)
- Explain why useSnapshot is incompatible with socket-cli
- socket-cli accesses ~70 env vars at module load time (HOME, SOCKET_CLI_API_TOKEN, etc.)
- Snapshots would freeze build-time env values, breaking runtime configuration
- Note that code cache + bundling provides ~25-30% startup improvement without restrictions
This clarifies the performance strategy and why snapshots can't be used.1 parent 263a990 commit 894d021
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
| 68 | + | |
68 | 69 | | |
69 | | - | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
70 | 74 | | |
71 | 75 | | |
72 | 76 | | |
| |||
0 commit comments