Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lot of <unknown> #110

Open
bjorn3 opened this issue Jan 14, 2020 · 4 comments
Open

Lot of <unknown> #110

bjorn3 opened this issue Jan 14, 2020 · 4 comments

Comments

@bjorn3
Copy link
Member

bjorn3 commented Jan 14, 2020

rustc 1.42.0-nightly (3ebcfa145 2020-01-12) with measureme 232db90.

+---------------------------------------------+-----------+-----------------+------------+------------+--------------+-----------------------+
| Item                                        | Self time | % of total time | Item count | Cache hits | Blocked time | Incremental load time |
+---------------------------------------------+-----------+-----------------+------------+------------+--------------+-----------------------+
| <unknown>                                   | 12.00s    | 70.392          | 870543     | 0          | 0.00ns       | 0.00ns                |
+---------------------------------------------+-----------+-----------------+------------+------------+--------------+-----------------------+
| expand_crate                                | 1.12s     | 6.563           | 1          | 0          | 0.00ns       | 0.00ns                |
+---------------------------------------------+-----------+-----------------+------------+------------+--------------+-----------------------+
| resolve_crate                               | 926.07ms  | 5.434           | 1          | 0          | 0.00ns       | 0.00ns                |
+---------------------------------------------+-----------+-----------------+------------+------------+--------------+-----------------------+
| link_rlib                                   | 482.88ms  | 2.833           | 1          | 0          | 0.00ns       | 0.00ns                |
+---------------------------------------------+-----------+-----------------+------------+------------+--------------+-----------------------+
| generate_crate_metadata                     | 358.57ms  | 2.104           | 1          | 0          | 0.00ns       | 0.00ns                |
+---------------------------------------------+-----------+-----------------+------------+------------+--------------+-----------------------+
| build_hir_map                               | 349.00ms  | 2.048           | 1          | 0          | 0.00ns       | 0.00ns                |
+---------------------------------------------+-----------+-----------------+------------+------------+--------------+-----------------------+
| hir_lowering                                | 319.03ms  | 1.872           | 1          | 0          | 0.00ns       | 0.00ns                |
+---------------------------------------------+-----------+-----------------+------------+------------+--------------+-----------------------+
| parse_crate                                 | 267.80ms  | 1.571           | 1          | 0          | 0.00ns       | 0.00ns                |
...

image

@michaelwoerister
Copy link
Member

Interesting. That indicates StringId that is not mapped to an actual string at a later point. Either a typo somewhere, or there are queries executed after a point where I assumed no more queries would be executed...

@michaelwoerister
Copy link
Member

Or it's some kind of encoding bug.

@wesleywiser
Copy link
Member

Possibly related rust-lang/rust#81251

@jyn514
Copy link
Member

jyn514 commented Jan 25, 2021

@bjorn3 do you still see this now that rust-lang/rust#81275 is merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants