diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-06-30 22:17:54 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-06-30 22:17:54 +0100 |
commit | b1a2d016450c96581c9cc70cc464f8aab2e5c0f3 (patch) | |
tree | 82ef9f21262870147c3377daff9ed8de16a1e9c9 /crates/ra_syntax/test_data/lexer/ok/0002_whitespace.rs | |
parent | c78180c318156d02e0b9454da67438ee96ad476d (diff) | |
parent | 4602c2eeaaeaf997d0f665d6064c469af53687ca (diff) |
Merge #5142
5142: analysis-stats: allow parallel type inference r=matklad a=jonas-schievink
This is mostly just for testing/fun, but it looks like type inference can be sped up massively with little to no effort (since it runs after the serial phases are already done).
Without `--parallel`:
```
Item Collection: 16.43597698s, 683mb allocated 720mb resident
Inference: 25.429774879s, 1720mb allocated 1781mb resident
Total: 41.865866352s, 1720mb allocated 1781mb resident
```
With `--parallel`:
```
Item Collection: 16.380369815s, 683mb allocated 735mb resident
Parallel Inference: 7.449166445s, 1721mb allocated 1812mb resident
Inference: 143.437157ms, 1721mb allocated 1812mb resident
Total: 23.973303611s, 1721mb allocated 1812mb resident
```
Co-authored-by: Jonas Schievink <[email protected]>
Diffstat (limited to 'crates/ra_syntax/test_data/lexer/ok/0002_whitespace.rs')
0 files changed, 0 insertions, 0 deletions