Raxol.Terminal.ANSI.Benchmark (Raxol v0.5.0)

View Source

Provides benchmarking capabilities for the ANSI handling system. Measures performance of parsing and processing ANSI sequences.

Summary

Functions

Benchmarks the parsing performance with various ANSI sequences.

Benchmarks the processing performance with various ANSI sequences.

Benchmarks the state machine performance with various inputs.

Runs a benchmark suite on the ANSI handling system. Returns a map of benchmark results.

Functions

benchmark_parsing()

@spec benchmark_parsing() :: map()

Benchmarks the parsing performance with various ANSI sequences.

benchmark_processing()

@spec benchmark_processing() :: map()

Benchmarks the processing performance with various ANSI sequences.

benchmark_state_machine()

@spec benchmark_state_machine() :: map()

Benchmarks the state machine performance with various inputs.

run_benchmark()

@spec run_benchmark() :: map()

Runs a benchmark suite on the ANSI handling system. Returns a map of benchmark results.