mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-29 11:42:17 +00:00
Heap snapshots fail on large heaps, so GET /api/experimental/debug/runtime?heap=true returns the 25 most common object types from bun:jsc heapStats(). It counts without serializing, about 10 ns per object; the default response skips it and stays cheap. Gauges now register with a RuntimeStats service provided by a global layer node instead of a module-level map, so servers in one process keep separate registries. |
||
|---|---|---|
| .. | ||
| script | ||
| src | ||
| test | ||
| package.json | ||
| sst-env.d.ts | ||
| tsconfig.build.json | ||
| tsconfig.json | ||