about summary refs log tree commit diff
path: root/docs/dev/debugging.md
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-04-14 14:20:13 +0000
committerGitHub <noreply@github.com>2021-04-14 14:20:13 +0000
commit678af4106504913ea04672e29f452861d97fae18 (patch)
tree359cb4c3a3ef739ff9fa4a84987f5354e1bde679 /docs/dev/debugging.md
parent10a243ea55565a0dd1de52f8f802c3e3a7bfef54 (diff)
parent75a2605361e497cdb6f8c8a4056a6ecd1e35ad68 (diff)
downloadrust-678af4106504913ea04672e29f452861d97fae18.tar.gz
rust-678af4106504913ea04672e29f452861d97fae18.zip
Merge #8514
8514: Add more profiling spans into type inference r=matklad a=SomeoneToIgnore

Fixes https://github.com/rust-analyzer/rust-analyzer/issues/8503

I've added a minimal set of spans to remove `???` and showcase the underlying issue:

<img width="1552" alt="image" src="https://user-images.githubusercontent.com/2690773/114722983-f2181900-9d42-11eb-821d-9e93ded5f81f.png">

`db.trait_solve` reliably produces the same timings for the same input in the same place for me, despite supposedly being cached by Salsa.
In my perception, this is a bit odd, so I've decided to stop at this point and discuss it with people with better knowledge on the topic.

Co-authored-by: Kirill Bulatov <mail4score@gmail.com>
Diffstat (limited to 'docs/dev/debugging.md')
0 files changed, 0 insertions, 0 deletions