aboutsummaryrefslogtreecommitdiff
path: root/Cargo.lock
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 /Cargo.lock
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 'Cargo.lock')
-rw-r--r--Cargo.lock1
1 files changed, 1 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 580add41f..e1d2475e2 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1461,6 +1461,7 @@ dependencies = [
1461 "ra_toolchain", 1461 "ra_toolchain",
1462 "ra_tt", 1462 "ra_tt",
1463 "rand", 1463 "rand",
1464 "rayon",
1464 "rustc-hash", 1465 "rustc-hash",
1465 "serde", 1466 "serde",
1466 "serde_json", 1467 "serde_json",