Skip to content

Compilation is slow. #2518

Answered by futursolo
initprism asked this question in Q&A
Mar 15, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

You are using some deeply nested html tags which could increases compile time significantly.

Rustc Profile shows that most of the time the rustc is trying to expand the expression.

+--------------------------------------------------+-----------+-----------------+----------+------------+---------------------------------+
| Item                                             | Self time | % of total time | Time     | Item count | Incremental result hashing time |
+--------------------------------------------------+-----------+-----------------+----------+------------+---------------------------------+
| expand_crate                                     | 69.75s    | 98.733          | 69.76s   |…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@initprism
Comment options

Answer selected by initprism
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants