I've submitted some PRs in the past that remove some inefficiencies in the compiler (#427, #426). In those cases, they were obvious performance wins, but in the future we might want to include compile time benchmarks in CI, so we can measure performance changes and catch regressions.
Information on benchmarking rust code in CI is scarce. Criterion recommends iai. We should also investigate what other compilers (eg rustc, cranelift) use.
I've submitted some PRs in the past that remove some inefficiencies in the compiler (#427, #426). In those cases, they were obvious performance wins, but in the future we might want to include compile time benchmarks in CI, so we can measure performance changes and catch regressions.
Information on benchmarking rust code in CI is scarce. Criterion recommends iai. We should also investigate what other compilers (eg rustc, cranelift) use.