Documentation
¶
Overview ¶
Command eventperf is the Phase -1 measurement harness for Wails v3 Go→JS event dispatch.
It exists to answer one question with numbers instead of argument: does high-frequency event dispatch leak memory in the WebKit content process, and if so is the growth driven by call COUNT or by payload BYTES?
It drives events straight at WebviewWindow.DispatchWailsEvent — the exact entry point that performs the evaluateJavaScript call — so the measurement is of the transport, not of the runtime's listener plumbing or the application-level fanout.
Build/run (macOS):
go run ./tests/event-performance -duration 30s
Click to show internal directories.
Click to hide internal directories.