event-performance

command
v3.0.0-beta.16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 29, 2026 License: MIT Imports: 18 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL