Skip to main content

Module stress

Module stress 

Source
Expand description

Browser/WASM Stress Testing Module (Section H: Points 116-125)

Implements internal concurrency stress testing for WASM applications:

  • Atomics: SharedArrayBuffer lock contention validation
  • Worker Messages: Worker message queue throughput
  • Render: Render loop stability under load
  • Trace: Renacer tracing overhead measurement

This module focuses on browser-internal validation, NOT HTTP load testing. For HTTP/WebSocket capacity planning, use external tools (locust, k6).

Reference: PROBAR-SPEC-WASM-001 Section H

Structs§

LatencyStats
Latency statistics
MemoryStats
Memory statistics during stress test
StressConfig
Stress test configuration
StressError
Stress test error
StressResult
Stress test result
StressRunner
Stress test runner

Enums§

StressErrorKind
Stress error kinds
StressMode
Stress test mode

Functions§

render_stress_json
Render stress test result as JSON
render_stress_report
Render stress test result as text report