Raxol.Benchmarks.Performance.Rendering (Raxol v0.3.0)

View Source

Rendering performance benchmark functions for Raxol.

Summary

Functions

benchmark_rendering()

Benchmarks rendering performance for various component types and complexities.

Tests rendering performance for:

  • Simple components (text, buttons)
  • Medium complexity (tables, lists)
  • Complex components (dashboards, multi-panel layouts)

calculate_components_per_frame(simple_component_time_μs)

calculate_renders_per_second(full_screen_time_ms)

generate_test_component(atom)

measure_full_screen_render(iterations)

measure_render_time(component, iterations)

render_component(component)