Raxol.Benchmarks.Performance (Raxol v0.4.0)

View Source

Performance benchmarking and validation tools for Raxol.

This module provides utilities for measuring and validating performance metrics including rendering speed, memory usage, and event handling latency.

Summary

Functions

Runs all performance benchmarks and returns the results.

Functions

run_all(opts \\ [])

Runs all performance benchmarks and returns the results.

Options

  • :save_results - Save results to file (default: true)
  • :compare_with_baseline - Compare with baseline metrics (default: true)
  • :detailed - Include detailed metrics (default: false)

Returns

Map containing benchmark results with the following structure:

%{
  render_performance: %{...},
  event_latency: %{...},
  memory_usage: %{...},
  animation_fps: %{...},
  metrics_validation: %{...}
}