Skip to content

8% regression in syntex_syntax compile time #43827

Closed
@alexcrichton

Description

@alexcrichton

Found through perf.rust-lang.org the compile time for the syntex_syntax has regressed by 8%. The graph points to #43403 as the culprit.

I've downloaded the nightly-2017-08-04 and nightly-2017-08-05 toolchains to analyze this regression, where the 08-05 toolchain includes #43403 while 08-04 does not.

The main differences I found were:

pass before after
translation 9.922 11.192
LLVM passes 27.805 29.002
item bodies check 5.635 6.724

cc @RalfJung

Metadata

Metadata

Assignees

Labels

C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCI-compiletimeIssue: Problems and improvements with respect to compile times.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions