Performance
The Rue compiler is designed for fast compilation. This dashboard tracks compilation performance over time, helping detect regressions and measure the impact of optimizations.
Compilation Time Trend
Total compilation time across the last 20 commits. Lower is better.
Time by Compiler Pass
Breakdown of where compilation time is spent in the most recent benchmark run.
Methodology
These benchmarks are run automatically on every commit to the main branch. Each benchmark is executed multiple times to reduce noise, and both mean and standard deviation are recorded.
Benchmark Suite
The benchmark corpus includes hand-crafted stress tests that exercise different parts of the compiler:
- many_functions - 100+ functions to stress function handling
- deep_nesting - Deeply nested blocks and expressions
- large_structs - Many struct types with multiple fields
- arithmetic_heavy - Lots of arithmetic expressions
- control_flow - Complex if/while/match patterns
Environment
Benchmarks run on GitHub Actions runners. While there is some variability between runs, running multiple iterations helps smooth out noise.