Skip to content

Releases: nearform/crashbox

v0.1.0

09 Jun 17:09
60fcf16

Choose a tag to compare

Minor Changes

  • #6 444ba61 - Budget-relative memory-pressure detection and a visibility-aware hang watchdog.
    • Opt-in memory detector reports a leveled onMemoryPressure({ level, source, ratio, usedBytes, limitBytes }) (nominal/fair/serious/critical).
    • wasm/webgpu growth thresholds scale to a budget (memoryBudgetBytesjsHeapSizeLimitnavigator.deviceMemory), with fixed fallbacks when no signal is available.
    • App-supplied signals: memoryBudgetBytes, getMemoryEstimate (heartbeat pull), and reportMemoryPressure (push), with cross-source hysteresis.
    • Hang watchdog ignores backgrounded-tab time, so throttled/suspended timers no longer log false main-thread stall hangs.