hash-org / hash-org/hashc

Collect more fine grained timings from analysis

Open
#975 1 comment 0 reactions 0 assignees View on GitHub
performance semantic-analysis
Dominant language
Rust
Stars
28
Forks
1
PR merge metrics
No merged PRs in 30d

Description

The `analysis` phase of the compiler has several distinguished parts and phases which run. In the recent spirit of improving performance across the compiler, it would be beneficial to collect timings on what the analysis phase is doing during its runtime. More specifically, we probably want to collect metrics on:
- various AST passes, and how long they take
- inference
- normalisation
- ~~exhaustiveness~~

The semantic analysis phase can report these metrics through the standard `CompilerStage` API.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.