src/engine/tools/engine-bench/README.md
engine-bench is a benchmarking tool designed to evaluate the performance of the Wazuh engine. It leverages perf for performance profiling and generates flame graphs to visualize the performance bottlenecks and hotspots in the engine.
engine-bench --environment /path/to/environment --output /path/to/output
Usage: engine-bench [OPTIONS]
Benchmark the Wazuh engine executable using perf.
Options:
-e, --environment PATH Path to the environment directory. [required]
-o, --output PATH Path to the output directory for the benchmark
results. [required]
-h, --help Show this message and exit.
Ubuntu
sudo apt install linux-tools-common