Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WAFBench ¶
func WAFBench() error
WAFBench runs benchmarks in the default configuration for a Go app, using wazero.
func WAFBenchAll ¶
func WAFBenchAll() error
WAFBenchAll runs all benchmark types and outputs with benchstat. A C++ toolchain and libinjection must be installed to run.
func WAFBenchCGO ¶
func WAFBenchCGO() error
WAFBenchCGO runs benchmarks with cgo instead of wasm. A C++ toolchain and the library must be installed to run.
func WAFBenchDefault ¶
func WAFBenchDefault() error
WAFBenchDefault runs benchmarks using the reference library for comparison.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.