aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_parser/src/grammar/expressions
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-06-30 22:17:54 +0100
committerGitHub <[email protected]>2020-06-30 22:17:54 +0100
commitb1a2d016450c96581c9cc70cc464f8aab2e5c0f3 (patch)
tree82ef9f21262870147c3377daff9ed8de16a1e9c9 /crates/ra_parser/src/grammar/expressions
parentc78180c318156d02e0b9454da67438ee96ad476d (diff)
parent4602c2eeaaeaf997d0f665d6064c469af53687ca (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_parser/src/grammar/expressions')
0 files changed, 0 insertions, 0 deletions