Module benchmark_generators

Module benchmark_generators 

Source
Expand description

Benchmark utilities for generating synthetic ASS scripts

This module provides generators for creating test ASS scripts with varying complexity levels, used primarily for benchmarking parser performance. All generators produce valid ASS format strings that can be parsed by the core parser.

Structs§

ScriptGenerator
Synthetic ASS script generator for benchmarking

Enums§

ComplexityLevel
Script complexity levels for testing

Functions§

create_test_event
Create a test event with the given parameters
generate_overlapping_script
Generate script with overlapping events for timing analysis benchmarks
generate_script_with_issues
Generate script with intentional issues for linting benchmarks