about summary refs log tree commit diff
path: root/docs/dev/debugging.md
diff options
context:
space:
mode:
authorFlorian Diebold <flodiebold@gmail.com>2021-06-05 11:29:24 +0200
committerFlorian Diebold <flodiebold@gmail.com>2021-06-05 11:29:24 +0200
commitd174b919dcd091e258738b476b93a26b0a4b12e2 (patch)
treebc0dd257efc90452a63e6a61f2957570c31450c3 /docs/dev/debugging.md
parentd647568db161db585f4f2ee3af9160e445338ac1 (diff)
downloadrust-d174b919dcd091e258738b476b93a26b0a4b12e2.tar.gz
rust-d174b919dcd091e258738b476b93a26b0a4b12e2.zip
Enable attribute macro expansion in `analysis-stats`
Before:
```
> $ rust-analyzer -q analysis-stats --with-proc-macro --load-output-dirs .
Database loaded:     19.08s, 277minstr
  crates: 34, mods: 688, decls: 13202, fns: 10412
Item Collection:     16.21s, 76ginstr
  exprs: 290580, ??ty: 2508 (0%), ?ty: 1814 (0%), !ty: 947
Inference:           27.46s, 108ginstr
Total:               43.67s, 184ginstr
```
After:
```
> $ ./target/release/rust-analyzer -q analysis-stats --with-proc-macro --load-output-dirs .
Database loaded:     1.09s, 277minstr
  crates: 34, mods: 688, decls: 14790, fns: 11006
Item Collection:     18.20s, 78ginstr
  exprs: 297826, ??ty: 493 (0%), ?ty: 558 (0%), !ty: 342
Inference:           28.34s, 111ginstr
Total:               46.54s, 190ginstr
```
Diffstat (limited to 'docs/dev/debugging.md')
0 files changed, 0 insertions, 0 deletions