And then "Extension host terminated unexpectedly."
Any steps to reproduce?
sure, repro & instructions here: https://storage.googleapis.com/foom/repro.zip
Hmm, yeah I see 100% workload on the single core ;( image.png
This is what takes som much time:
48954ms - handle_code_action 48824ms - diagnostics 23319ms - SourceBinder::to_module_def 23319ms - crate_def_map:wait 25504ms - Module::diagnostics 24458ms - Function::diagnostics 24458ms - infer:wait @ dostuff 385ms - Function::diagnostics 385ms - infer:wait @ fetchputiolist 13ms - parse_query 371ms - ???
I also see a 100% peak, but it will be become normal after that peak (I am in Windows).
My non-educated guess, it related to that
run function is a local function, when we changed that, somehow all infer information were discarded.